12953-Change policies icons to svg
|
@ -909,23 +909,30 @@ if ($modules !== false) {
|
||||||
|
|
||||||
if ((bool) $linked !== false) {
|
if ((bool) $linked !== false) {
|
||||||
if ((bool) $adopt === true) {
|
if ((bool) $adopt === true) {
|
||||||
$img = 'images/policies_brick.png';
|
$img = 'images/policies_brick.svg';
|
||||||
$title = '('.__('Adopted').') '.$policyInfo['name_policy'];
|
$title = '('.__('Adopted').') '.$policyInfo['name_policy'];
|
||||||
} else {
|
} else {
|
||||||
$img = 'images/policies_mc.png';
|
$img = 'images/policy@svg.svg';
|
||||||
$title = $policyInfo['name_policy'];
|
$title = $policyInfo['name_policy'];
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if ((bool) $adopt === true) {
|
if ((bool) $adopt === true) {
|
||||||
$img = 'images/policies_not_brick.png';
|
$img = 'images/policies_not_brick.svg';
|
||||||
$title = '('.__('Unlinked').') ('.__('Adopted').') '.$policyInfo['name_policy'];
|
$title = '('.__('Unlinked').') ('.__('Adopted').') '.$policyInfo['name_policy'];
|
||||||
} else {
|
} else {
|
||||||
$img = 'images/unlinkpolicy.png';
|
$img = 'images/unlinkpolicy.svg';
|
||||||
$title = '('.__('Unlinked').') '.$policyInfo['name_policy'];
|
$title = '('.__('Unlinked').') '.$policyInfo['name_policy'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$data[1] = '<a href="?sec=gmodules&sec2=enterprise/godmode/policies/policies&id='.$policyInfo['id_policy'].'">'.html_print_image($img, true, ['title' => $title]).'</a>';
|
$data[1] = '<a href="?sec=gmodules&sec2=enterprise/godmode/policies/policies&id='.$policyInfo['id_policy'].'">'.html_print_image(
|
||||||
|
$img,
|
||||||
|
true,
|
||||||
|
[
|
||||||
|
'title' => $title,
|
||||||
|
'class' => 'main_menu_icon',
|
||||||
|
]
|
||||||
|
).'</a>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -997,7 +997,7 @@ foreach ($simple_alerts as $alert) {
|
||||||
} else {
|
} else {
|
||||||
$module_linked = policies_is_module_linked($alert['id_agent_module']);
|
$module_linked = policies_is_module_linked($alert['id_agent_module']);
|
||||||
if ($module_linked === '0') {
|
if ($module_linked === '0') {
|
||||||
$img = 'images/unlinkpolicy.png';
|
$img = 'images/unlinkpolicy.svg';
|
||||||
} else {
|
} else {
|
||||||
$img = 'images/policy@svg.svg';
|
$img = 'images/policy@svg.svg';
|
||||||
}
|
}
|
||||||
|
|
|
@ -140,13 +140,16 @@ if (enterprise_installed() && $alert['id_policy_alerts'] != 0) {
|
||||||
if ($policyInfo === false) {
|
if ($policyInfo === false) {
|
||||||
$policy = __('N/A');
|
$policy = __('N/A');
|
||||||
} else {
|
} else {
|
||||||
$img = 'images/policies_mc.png';
|
$img = 'images/policy@svg.svg';
|
||||||
|
|
||||||
$policy = '<a href="?sec=gmodules&sec2=enterprise/godmode/policies/policies&id='.$policyInfo['id'].'">';
|
$policy = '<a href="?sec=gmodules&sec2=enterprise/godmode/policies/policies&id='.$policyInfo['id'].'">';
|
||||||
$policy .= html_print_image(
|
$policy .= html_print_image(
|
||||||
$img,
|
$img,
|
||||||
true,
|
true,
|
||||||
['title' => $policyInfo['name']]
|
[
|
||||||
|
'title' => $policyInfo['name'],
|
||||||
|
'class' => 'main_menu_icon',
|
||||||
|
]
|
||||||
);
|
);
|
||||||
$policy .= '</a>';
|
$policy .= '</a>';
|
||||||
}
|
}
|
||||||
|
|
|
@ -252,7 +252,7 @@ $alertstab = [
|
||||||
|
|
||||||
$policiesalertstab = [
|
$policiesalertstab = [
|
||||||
'text' => '<a href="'.$url.'&tab=massive_policies_alerts">'.html_print_image(
|
'text' => '<a href="'.$url.'&tab=massive_policies_alerts">'.html_print_image(
|
||||||
'images/policies_mc.png',
|
'images/policy@svg.svg',
|
||||||
true,
|
true,
|
||||||
[
|
[
|
||||||
'title' => __('Policies alerts'),
|
'title' => __('Policies alerts'),
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
|
<title>gm_policies@svg</title>
|
||||||
|
<g id="gm_policies" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M12,0 C10.8171521,0 8.84058066,0.3975 6.98058066,0.84 C5.07772352,1.29 3.1594378,1.8225 2.0314378,2.145 C1.06904827,2.42309046 0.373561688,3.15871408 0.241723518,4.038 C-0.779990767,10.7535 1.59086638,15.7305 4.4674378,19.023 C5.68729294,20.4314401 7.14177124,21.6717484 8.78229495,22.7025 C9.44400923,23.112 10.0577235,23.4255 10.5788664,23.64 C11.0588664,23.838 11.5748664,24 12,24 C12.4251521,24 12.9394378,23.838 13.4211521,23.64 C14.04941,23.3728075 14.6504498,23.0591685 15.2177235,22.7025 C16.8582806,21.6717832 18.3127644,20.4314702 19.5325807,19.023 C22.4091521,15.7305 24.7800092,10.7535 23.7582949,4.038 C23.6266773,3.15829687 22.9312324,2.42213453 21.9685807,2.1435 C20.3311068,1.67371991 18.6809119,1.23859318 17.0194378,0.8385 C15.1594378,0.399 13.1828664,0 12,0 Z" id="Shape" fill="#3F3F3F"></path>
|
||||||
|
<path d="M12,4 C12.5522847,4 13,4.44771525 13,5 L13,9 L17,9 C17.5522847,9 18,9.44771525 18,10 C18,10.5522847 17.5522847,11 17,11 L13,11 L13,15 C13,15.5522847 12.5522847,16 12,16 C11.4477153,16 11,15.5522847 11,15 L11,11 L7,11 C6.44771525,11 6,10.5522847 6,10 C6,9.44771525 6.44771525,9 7,9 L11,9 L11,5 C11,4.44771525 11.4477153,4 12,4 Z" id="Rectangle-2" fill="#FFFFFF"></path>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.5 KiB |
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
|
<title>linkpolicy@svg</title>
|
||||||
|
<g id="linkpolicy" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M12,0 C10.8171521,0 8.84058066,0.3975 6.98058066,0.84 C5.07772352,1.29 3.1594378,1.8225 2.0314378,2.145 C1.06904827,2.42309046 0.373561688,3.15871408 0.241723518,4.038 C-0.779990767,10.7535 1.59086638,15.7305 4.4674378,19.023 C5.68729294,20.4314401 7.14177124,21.6717484 8.78229495,22.7025 C9.44400923,23.112 10.0577235,23.4255 10.5788664,23.64 C11.0588664,23.838 11.5748664,24 12,24 C12.4251521,24 12.9394378,23.838 13.4211521,23.64 C14.04941,23.3728075 14.6504498,23.0591685 15.2177235,22.7025 C16.8582806,21.6717832 18.3127644,20.4314702 19.5325807,19.023 C22.4091521,15.7305 24.7800092,10.7535 23.7582949,4.038 C23.6266773,3.15829687 22.9312324,2.42213453 21.9685807,2.1435 C20.3311068,1.67371991 18.6809119,1.23859318 17.0194378,0.8385 C15.1594378,0.399 13.1828664,0 12,0 Z" id="Shape" fill="#82B92E"></path>
|
||||||
|
<path d="M16,6 C17.6568542,6 19,7.34314575 19,9 L19,11 C19,12.6568542 17.6568542,14 16,14 L14,14 C13.4477153,14 13,13.5522847 13,13 C13,12.4477153 13.4477153,12 14,12 L16,12 C16.5522847,12 17,11.5522847 17,11 L17,9 C17,8.44771525 16.5522847,8 16,8 L14,8 C13.4477153,8 13,7.55228475 13,7 C13,6.44771525 13.4477153,6 14,6 L16,6 Z M10,6 C10.5522847,6 11,6.44771525 11,7 C11,7.55228475 10.5522847,8 10,8 L8,8 C7.44771525,8 7,8.44771525 7,9 L7,11 C7,11.5522847 7.44771525,12 8,12 L10,12 C10.5522847,12 11,12.4477153 11,13 C11,13.5522847 10.5522847,14 10,14 L8,14 C6.34314575,14 5,12.6568542 5,11 L5,9 C5,7.34314575 6.34314575,6 8,6 Z M14,9 C14.5522847,9 15,9.44771525 15,10 C15,10.5522847 14.5522847,11 14,11 L10,11 C9.44771525,11 9,10.5522847 9,10 C9,9.44771525 9.44771525,9 10,9 L14,9 Z" id="Rectangle-2" fill="#FFFFFF"></path>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.9 KiB |
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
|
<title>policies_brick@svg</title>
|
||||||
|
<g id="policies_brick" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M12,0 C10.8171521,0 8.84058066,0.3975 6.98058066,0.84 C5.07772352,1.29 3.1594378,1.8225 2.0314378,2.145 C1.06904827,2.42309046 0.373561688,3.15871408 0.241723518,4.038 C-0.779990767,10.7535 1.59086638,15.7305 4.4674378,19.023 C5.68729294,20.4314401 7.14177124,21.6717484 8.78229495,22.7025 C9.44400923,23.112 10.0577235,23.4255 10.5788664,23.64 C11.0588664,23.838 11.5748664,24 12,24 C12.4251521,24 12.9394378,23.838 13.4211521,23.64 C14.04941,23.3728075 14.6504498,23.0591685 15.2177235,22.7025 C16.8582806,21.6717832 18.3127644,20.4314702 19.5325807,19.023 C22.4091521,15.7305 24.7800092,10.7535 23.7582949,4.038 C23.6266773,3.15829687 22.9312324,2.42213453 21.9685807,2.1435 C20.3311068,1.67371991 18.6809119,1.23859318 17.0194378,0.8385 C15.1594378,0.399 13.1828664,0 12,0 Z" id="Shape" fill="#95A3BF"></path>
|
||||||
|
<path d="M15.1111111,4.00024155 C13.8870549,4.00024155 12.7344337,4.55595525 12,5.5002027 C10.9956624,4.20894492 9.24711145,3.68225974 7.65911424,4.1926742 C6.07111704,4.70308865 5,6.1360722 5,7.75014442 C5,12.243778 11.475,15.7874362 11.7472222,15.9374324 C11.8243576,15.9792366 11.9115206,16.0007873 12,16 C12.0885539,16.001389 12.1758774,15.9797985 12.2527778,15.9374324 C13.4451725,15.2652603 14.5635811,14.4778962 15.5907407,13.5874932 C17.8527778,11.6250441 19,9.66259488 19,7.75014442 C19,5.67913025 17.2588851,4.00024155 15.1111111,4.00024155 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero"></path>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.7 KiB |
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
|
<title>policies_cog@svg</title>
|
||||||
|
<g id="policies_cog" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M12,0 C10.8171521,0 8.84058066,0.3975 6.98058066,0.84 C5.07772352,1.29 3.1594378,1.8225 2.0314378,2.145 C1.06904827,2.42309046 0.373561688,3.15871408 0.241723518,4.038 C-0.779990767,10.7535 1.59086638,15.7305 4.4674378,19.023 C5.68729294,20.4314401 7.14177124,21.6717484 8.78229495,22.7025 C9.44400923,23.112 10.0577235,23.4255 10.5788664,23.64 C11.0588664,23.838 11.5748664,24 12,24 C12.4251521,24 12.9394378,23.838 13.4211521,23.64 C14.04941,23.3728075 14.6504498,23.0591685 15.2177235,22.7025 C16.8582806,21.6717832 18.3127644,20.4314702 19.5325807,19.023 C22.4091521,15.7305 24.7800092,10.7535 23.7582949,4.038 C23.6266773,3.15829687 22.9312324,2.42213453 21.9685807,2.1435 C20.3311068,1.67371991 18.6809119,1.23859318 17.0194378,0.8385 C15.1594378,0.399 13.1828664,0 12,0 Z" id="Shape" fill="#82B92E"></path>
|
||||||
|
<path d="M18,11.78125 C18,11.6485937 17.923314,11.5203906 17.7978615,11.4514844 L16.6492968,10.8207812 C16.7013654,10.553125 16.7309358,10.2601563 16.7309358,10 C16.7309358,9.73984375 16.7003304,9.44570312 16.6486314,9.17921875 L17.7971961,8.54851563 C17.9226733,8.47958594 17.9993347,8.35138281 17.9993347,8.21875 C17.9993347,7.88828125 16.9648625,5.8975 16.4256951,5.8975 C16.3559088,5.8975 16.2855312,5.91452969 16.2224969,5.94913281 L15.0712216,6.58147656 C14.6338996,6.22609375 14.1287381,5.94765625 13.5767568,5.7615625 L13.5767568,4.49875 C13.5767568,4.32242969 13.4495547,4.1640625 13.2679923,4.12796875 C12.8572097,4.04633594 12.4358311,4 11.9996673,4 C11.5635035,4 11.1408928,4.04633594 10.731096,4.12799219 C10.5507164,4.16415625 10.4225778,4.3225 10.4225778,4.49875 L10.4225778,5.7615625 C9.87059652,5.94765625 9.36543504,6.22609375 8.92927123,6.58046875 L7.7767638,5.9490625 C7.71392664,5.914375 7.64345046,5.89726563 7.57371353,5.89726563 C7.08777283,5.89726563 6,7.81796875 6,8.21851563 C6,8.35117188 6.0767599,8.479375 6.20221244,8.54828125 L7.35077715,9.17898437 C7.29895497,9.446875 7.26839886,9.71875 7.26839886,10 C7.26839886,10.28125 7.29900426,10.5542969 7.35070322,10.8207812 L6.20213852,11.4514844 C6.07666133,11.5204141 6,11.6486172 6,11.78125 C6,12.1117188 7.03447214,14.1025 7.57363961,14.1025 C7.64342582,14.1025 7.71380343,14.0854703 7.77683773,14.0508672 L8.92811306,13.4185234 C9.36543504,13.7734375 9.87059652,14.0523437 10.4225778,14.2375 L10.4225778,15.5003125 C10.4225778,15.6766328 10.54978,15.835 10.7313424,15.8710938 C11.1421249,15.953125 11.5635035,16 11.9774895,16 C12.3914755,16 12.836264,15.9536641 13.2460609,15.8720078 C13.4486183,15.8148438 13.5767568,15.6765625 13.5767568,15.5007812 L13.5767568,14.2379688 C14.129231,14.0519219 14.6346389,13.7734375 15.0712955,13.4183594 L16.2225709,14.0507031 C16.2855805,14.0853203 16.3560321,14.1023359 16.425769,14.1023359 C16.9108226,14.1015625 18,12.1820313 18,11.78125 Z M11.9996673,11.875 C10.9127077,11.875 10.0283055,11.0338281 10.0283055,10 C10.0283055,8.96617188 10.9129541,8.125 11.9996673,8.125 C13.0863806,8.125 13.9710292,8.96617188 13.9710292,10 C13.9710292,11.0338281 13.0863806,11.875 11.9996673,11.875 Z" id="Shape" fill="#FFFFFF" fill-rule="nonzero"></path>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 3.3 KiB |
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
|
<title>policies_error@svg</title>
|
||||||
|
<g id="policies_error" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M12,0 C10.8171521,0 8.84058066,0.3975 6.98058066,0.84 C5.07772352,1.29 3.1594378,1.8225 2.0314378,2.145 C1.06904827,2.42309046 0.373561688,3.15871408 0.241723518,4.038 C-0.779990767,10.7535 1.59086638,15.7305 4.4674378,19.023 C5.68729294,20.4314401 7.14177124,21.6717484 8.78229495,22.7025 C9.44400923,23.112 10.0577235,23.4255 10.5788664,23.64 C11.0588664,23.838 11.5748664,24 12,24 C12.4251521,24 12.9394378,23.838 13.4211521,23.64 C14.04941,23.3728075 14.6504498,23.0591685 15.2177235,22.7025 C16.8582806,21.6717832 18.3127644,20.4314702 19.5325807,19.023 C22.4091521,15.7305 24.7800092,10.7535 23.7582949,4.038 C23.6266773,3.15829687 22.9312324,2.42213453 21.9685807,2.1435 C20.3311068,1.67371991 18.6809119,1.23859318 17.0194378,0.8385 C15.1594378,0.399 13.1828664,0 12,0 Z" id="Shape" fill="#ED474A"></path>
|
||||||
|
<path d="M12,4 C12.5522847,4 13,4.44771525 13,5 L13,9 L17,9 C17.5522847,9 18,9.44771525 18,10 C18,10.5522847 17.5522847,11 17,11 L13,11 L13,15 C13,15.5522847 12.5522847,16 12,16 C11.4477153,16 11,15.5522847 11,15 L11,11 L7,11 C6.44771525,11 6,10.5522847 6,10 C6,9.44771525 6.44771525,9 7,9 L11,9 L11,5 C11,4.44771525 11.4477153,4 12,4 Z" id="Rectangle-2" fill="#FFFFFF" transform="translate(12, 10) rotate(45) translate(-12, -10)"></path>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.6 KiB |
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
|
<title>policies_error_db@svg</title>
|
||||||
|
<g id="policies_error_db" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M12,0 C10.8171521,0 8.84058066,0.3975 6.98058066,0.84 C5.07772352,1.29 3.1594378,1.8225 2.0314378,2.145 C1.06904827,2.42309046 0.373561688,3.15871408 0.241723518,4.038 C-0.779990767,10.7535 1.59086638,15.7305 4.4674378,19.023 C5.68729294,20.4314401 7.14177124,21.6717484 8.78229495,22.7025 C9.44400923,23.112 10.0577235,23.4255 10.5788664,23.64 C11.0588664,23.838 11.5748664,24 12,24 C12.4251521,24 12.9394378,23.838 13.4211521,23.64 C14.04941,23.3728075 14.6504498,23.0591685 15.2177235,22.7025 C16.8582806,21.6717832 18.3127644,20.4314702 19.5325807,19.023 C22.4091521,15.7305 24.7800092,10.7535 23.7582949,4.038 C23.6266773,3.15829687 22.9312324,2.42213453 21.9685807,2.1435 C20.3311068,1.67371991 18.6809119,1.23859318 17.0194378,0.8385 C15.1594378,0.399 13.1828664,0 12,0 Z" id="Shape" fill="#ED474A"></path>
|
||||||
|
<path d="M12,16 C11.024,16 10.2285714,15.1488927 10.2285714,14.1030717 C10.2285714,13.0560261 11.0228571,12.2036943 12,12.2036943 C12.9771429,12.2036943 13.7714286,13.0560261 13.7714286,14.1030717 C13.7714286,15.1488927 12.976,16 12,16 Z M13.8662857,6.90846005 C13.8537143,6.9464231 12.2651429,11.155424 12.2651429,11.155424 C12.2217143,11.2705378 12.1165714,11.3464639 12.0011429,11.3464639 C11.8857143,11.3464639 11.7805714,11.2705378 11.7371429,11.155424 L10.1474286,6.94519849 C10.0445714,6.65986325 10,6.40269415 10,6.14307582 C10,4.96132258 10.8971429,4 12,4 C13.1028571,4 14,4.96132258 14,6.14307582 C14,6.40269415 13.9554286,6.65986325 13.8662857,6.90846005 Z" id="Path-2" fill="#FFFFFF" fill-rule="nonzero"></path>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.9 KiB |
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
|
<title>policies_not_brick@svg</title>
|
||||||
|
<g id="policies_not_brick" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M12,0 C10.8171521,0 8.84058066,0.3975 6.98058066,0.84 C5.07772352,1.29 3.1594378,1.8225 2.0314378,2.145 C1.06904827,2.42309046 0.373561688,3.15871408 0.241723518,4.038 C-0.779990767,10.7535 1.59086638,15.7305 4.4674378,19.023 C5.68729294,20.4314401 7.14177124,21.6717484 8.78229495,22.7025 C9.44400923,23.112 10.0577235,23.4255 10.5788664,23.64 C11.0588664,23.838 11.5748664,24 12,24 C12.4251521,24 12.9394378,23.838 13.4211521,23.64 C14.04941,23.3728075 14.6504498,23.0591685 15.2177235,22.7025 C16.8582806,21.6717832 18.3127644,20.4314702 19.5325807,19.023 C22.4091521,15.7305 24.7800092,10.7535 23.7582949,4.038 C23.6266773,3.15829687 22.9312324,2.42213453 21.9685807,2.1435 C20.3311068,1.67371991 18.6809119,1.23859318 17.0194378,0.8385 C15.1594378,0.399 13.1828664,0 12,0 Z" id="Shape" fill="#95A3BF"></path>
|
||||||
|
<path d="M7.65911424,4.1926742 C8.7031105,3.85711266 9.81650025,3.96979968 10.742194,4.45329669 C10.6577486,4.66304622 10.5458227,4.94286088 10.3729609,5.37501531 L10.2346355,5.72082876 C10.1845568,5.8460257 10.1303468,5.9815505 10.0715233,6.12860932 C9.69652331,7.06610932 9.50902331,7.53485932 9.38402331,7.84735932 L9.30003893,8.05732026 C9.24925768,8.18427339 9.20628893,8.29169526 9.15550768,8.41864839 L9.07152331,8.62860932 L9.03455478,8.73848822 C8.86321888,9.3626602 9.33183899,10 10,10 L13.461,10 L11.0156868,15.5064085 C9.26187073,14.4162161 5,11.3958191 5,7.75014442 C5,6.1360722 6.07111704,4.70308865 7.65911424,4.1926742 Z M15.1111111,4.00024155 C17.2588851,4.00024155 19,5.67913025 19,7.75014442 C19,9.66259488 17.8527778,11.6250441 15.5907407,13.5874932 C14.8666972,14.2151372 14.0973136,14.791583 13.2886363,15.3125739 L15.9138115,9.40613847 L15.9556847,9.29529221 C16.1531933,8.66438876 15.6834551,8 15,8 L11.476,8 L11.4909767,7.96514068 C11.5821225,7.73727609 11.6949697,7.45515804 11.8385606,7.0961809 L11.9284767,6.87139068 C12.3034767,5.93389068 12.4909767,5.46514068 12.6159767,5.15264068 L12.6999611,4.94267974 C12.7507423,4.81572661 12.7937111,4.70830474 12.8444923,4.58135161 L12.7760763,4.75141324 C13.4418889,4.26941849 14.2591991,4.00024155 15.1111111,4.00024155 Z" id="Path-2" fill="#FFFFFF" fill-rule="nonzero"></path>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 2.5 KiB |
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
|
<title>policies_ok@svg</title>
|
||||||
|
<g id="policies_ok" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M12,0 C10.8171521,0 8.84058066,0.3975 6.98058066,0.84 C5.07772352,1.29 3.1594378,1.8225 2.0314378,2.145 C1.06904827,2.42309046 0.373561688,3.15871408 0.241723518,4.038 C-0.779990767,10.7535 1.59086638,15.7305 4.4674378,19.023 C5.68729294,20.4314401 7.14177124,21.6717484 8.78229495,22.7025 C9.44400923,23.112 10.0577235,23.4255 10.5788664,23.64 C11.0588664,23.838 11.5748664,24 12,24 C12.4251521,24 12.9394378,23.838 13.4211521,23.64 C14.04941,23.3728075 14.6504498,23.0591685 15.2177235,22.7025 C16.8582806,21.6717832 18.3127644,20.4314702 19.5325807,19.023 C22.4091521,15.7305 24.7800092,10.7535 23.7582949,4.038 C23.6266773,3.15829687 22.9312324,2.42213453 21.9685807,2.1435 C20.3311068,1.67371991 18.6809119,1.23859318 17.0194378,0.8385 C15.1594378,0.399 13.1828664,0 12,0 Z" id="Shape" fill="#82B92E"></path>
|
||||||
|
<path d="M10.5,15 C10.125,15 9.75,14.85 9.45,14.55 L6.45,11.55 C5.85,10.95 5.85,10.05 6.45,9.45 C7.05,8.85 8.025,8.85 8.55,9.45 L10.5,11.4 L15.45,6.45 C16.05,5.85 16.95,5.85 17.55,6.45 C18.15,7.05 18.15,7.95 17.55,8.55 L11.55,14.55 C11.25,14.85 10.875,15 10.5,15 Z" id="check" fill="#FFFFFF" fill-rule="nonzero"></path>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.4 KiB |
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
|
<title>policies_queue@svg</title>
|
||||||
|
<g id="policies_queue" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M12,0 C10.8171521,0 8.84058066,0.3975 6.98058066,0.84 C5.07772352,1.29 3.1594378,1.8225 2.0314378,2.145 C1.06904827,2.42309046 0.373561688,3.15871408 0.241723518,4.038 C-0.779990767,10.7535 1.59086638,15.7305 4.4674378,19.023 C5.68729294,20.4314401 7.14177124,21.6717484 8.78229495,22.7025 C9.44400923,23.112 10.0577235,23.4255 10.5788664,23.64 C11.0588664,23.838 11.5748664,24 12,24 C12.4251521,24 12.9394378,23.838 13.4211521,23.64 C14.04941,23.3728075 14.6504498,23.0591685 15.2177235,22.7025 C16.8582806,21.6717832 18.3127644,20.4314702 19.5325807,19.023 C22.4091521,15.7305 24.7800092,10.7535 23.7582949,4.038 C23.6266773,3.15829687 22.9312324,2.42213453 21.9685807,2.1435 C20.3311068,1.67371991 18.6809119,1.23859318 17.0194378,0.8385 C15.1594378,0.399 13.1828664,0 12,0 Z" id="Shape" fill="#3F3F3F"></path>
|
||||||
|
<path d="M12,14 L17,14 C17.5522847,14 18,14.4477153 18,15 C18,15.5522847 17.5522847,16 17,16 L12,16 C11.4477153,16 11,15.5522847 11,15 C11,14.4477153 11.4477153,14 12,14 Z M12,6 L17,6 C17.5522847,6 18,6.44771525 18,7 C18,7.55228475 17.5522847,8 17,8 L12,8 C11.4477153,8 11,7.55228475 11,7 C11,6.44771525 11.4477153,6 12,6 Z M12,10 L17,10 C17.5522847,10 18,10.4477153 18,11 C18,11.5522847 17.5522847,12 17,12 L12,12 C11.4477153,12 11,11.5522847 11,11 C11,10.4477153 11.4477153,10 12,10 Z M6,4 C6,4 6,6 6,10 C8.66666667,8 10,7 10,7 C10,7 6,4 6,4 Z" id="Rectangle-Copy-4" fill="#FFFFFF"></path>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.7 KiB |
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
|
<title>unlinkpolicy@svg</title>
|
||||||
|
<g id="unlinkpolicy" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||||
|
<path d="M12,0 C10.8171521,0 8.84058066,0.3975 6.98058066,0.84 C5.07772352,1.29 3.1594378,1.8225 2.0314378,2.145 C1.06904827,2.42309046 0.373561688,3.15871408 0.241723518,4.038 C-0.779990767,10.7535 1.59086638,15.7305 4.4674378,19.023 C5.68729294,20.4314401 7.14177124,21.6717484 8.78229495,22.7025 C9.44400923,23.112 10.0577235,23.4255 10.5788664,23.64 C11.0588664,23.838 11.5748664,24 12,24 C12.4251521,24 12.9394378,23.838 13.4211521,23.64 C14.04941,23.3728075 14.6504498,23.0591685 15.2177235,22.7025 C16.8582806,21.6717832 18.3127644,20.4314702 19.5325807,19.023 C22.4091521,15.7305 24.7800092,10.7535 23.7582949,4.038 C23.6266773,3.15829687 22.9312324,2.42213453 21.9685807,2.1435 C20.3311068,1.67371991 18.6809119,1.23859318 17.0194378,0.8385 C15.1594378,0.399 13.1828664,0 12,0 Z" id="Shape" fill="#FCAB10"></path>
|
||||||
|
<path d="M13.1269281,13.513449 C13.2367557,13.6232769 13.2367557,13.8013548 13.1269281,13.9112062 L12.0798863,14.9582515 C10.6909165,16.3472026 8.43084946,16.3472964 7.04176249,14.9582515 C5.65276927,13.5692301 5.65276927,11.3091319 7.04176249,9.92013391 L8.08882769,8.87306513 C8.19865528,8.76323716 8.37673254,8.76323716 8.48658356,8.87306513 L9.41465715,9.80114189 C9.52448474,9.91096986 9.52448474,10.0890477 9.41465715,10.1988991 L8.36759196,11.2459445 C7.70965767,11.9039044 7.70965767,12.9744576 8.36759196,13.6324175 C9.02552624,14.2903541 10.0960991,14.2903775 10.7540803,13.6324175 L11.8011221,12.5853722 C11.9109497,12.4755442 12.0890269,12.4755442 12.1988779,12.5853722 L13.1269281,13.513449 Z M11.8011221,7.41464539 C11.9109497,7.52447335 12.0890269,7.52447335 12.1988779,7.41464539 L13.2459197,6.36760005 C13.903854,5.7095932 14.9744269,5.70964007 15.632408,6.36760005 C16.2903423,7.02556002 16.2903423,8.09611314 15.632408,8.75407311 L14.5853428,9.80111846 C14.4755153,9.91094642 14.4755153,10.0890243 14.5853428,10.1988757 L15.5134164,11.1269525 C15.623244,11.2367804 15.8013213,11.2367804 15.9111723,11.1269525 L16.9582375,10.0798837 C18.3472542,8.69086227 18.3472542,6.43078745 16.9582375,5.04176605 C15.5691974,3.65276809 13.3091538,3.65276809 11.9201137,5.04176605 L10.8730719,6.08881139 C10.7632443,6.19863936 10.7632443,6.37671722 10.8730719,6.48656862 L11.8011221,7.41464539 Z M17.3048764,15.8352581 L17.8351942,15.3049385 C18.0548728,15.0852592 18.0548728,14.7291034 17.8351942,14.5094475 L7.49058842,4.16475952 C7.27090981,3.94508016 6.9147553,3.94508016 6.69510012,4.16475952 L6.16475896,4.6951025 C5.94508035,4.91478186 5.94508035,5.27093759 6.16475896,5.49059352 L16.5093881,15.8352581 C16.7290668,16.054914 17.0852213,16.054914 17.3048764,15.8352581 L17.3048764,15.8352581 Z" id="Shape" fill="#FFFFFF" fill-rule="nonzero"></path>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 3.0 KiB |
|
@ -1135,7 +1135,7 @@ if (check_login()) {
|
||||||
|
|
||||||
if ((bool) $linked === true) {
|
if ((bool) $linked === true) {
|
||||||
if ((bool) $adopt === true) {
|
if ((bool) $adopt === true) {
|
||||||
$img = 'images/policies_brick.png';
|
$img = 'images/policies_brick.svg';
|
||||||
$title = '('.__('Adopted').') '.$name_policy;
|
$title = '('.__('Adopted').') '.$name_policy;
|
||||||
} else {
|
} else {
|
||||||
$img = 'images/policy@svg.svg';
|
$img = 'images/policy@svg.svg';
|
||||||
|
@ -1143,10 +1143,10 @@ if (check_login()) {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if ((bool) $adopt === true) {
|
if ((bool) $adopt === true) {
|
||||||
$img = 'images/policies_not_brick.png';
|
$img = 'images/policies_not_brick.svg';
|
||||||
$title = '('.__('Unlinked').') ('.__('Adopted').') '.$name_policy;
|
$title = '('.__('Unlinked').') ('.__('Adopted').') '.$name_policy;
|
||||||
} else {
|
} else {
|
||||||
$img = 'images/unlinkpolicy.png';
|
$img = 'images/unlinkpolicy.svg';
|
||||||
$title = '('.__('Unlinked').') '.$name_policy;
|
$title = '('.__('Unlinked').') '.$name_policy;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1337,7 +1337,7 @@ function ui_format_alert_row(
|
||||||
} else {
|
} else {
|
||||||
$module_linked = policies_is_module_linked($alert['id_agent_module']);
|
$module_linked = policies_is_module_linked($alert['id_agent_module']);
|
||||||
if ($module_linked === '0') {
|
if ($module_linked === '0') {
|
||||||
$img = 'images/unlinkpolicy.png';
|
$img = 'images/unlinkpolicy.svg';
|
||||||
} else {
|
} else {
|
||||||
$img = 'images/policy@svg.svg';
|
$img = 'images/policy@svg.svg';
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,11 +56,11 @@ if (is_ajax() === true) {
|
||||||
echo '<td>';
|
echo '<td>';
|
||||||
if (tags_get_module_policy_tags($tag, $id_agente_modulo)) {
|
if (tags_get_module_policy_tags($tag, $id_agente_modulo)) {
|
||||||
html_print_image(
|
html_print_image(
|
||||||
'images/policies_mc.png',
|
'images/policy@svg.svg',
|
||||||
false,
|
false,
|
||||||
[
|
[
|
||||||
'style' => 'vertical-align: middle;',
|
'style' => 'vertical-align: middle;',
|
||||||
'class' => 'invert_filter',
|
'class' => 'invert_filter main_menu_icon',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1765,18 +1765,18 @@ if (is_ajax() === true) {
|
||||||
|
|
||||||
if ($linked) {
|
if ($linked) {
|
||||||
if ($adopt) {
|
if ($adopt) {
|
||||||
$img = 'images/policies_brick.png';
|
$img = 'images/policies_brick.svg';
|
||||||
$title = __('(Adopt) ').$name_policy;
|
$title = __('(Adopt) ').$name_policy;
|
||||||
} else {
|
} else {
|
||||||
$img = 'images/policies_mc.png';
|
$img = 'images/policy@svg.svg';
|
||||||
$title = $name_policy;
|
$title = $name_policy;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if ($adopt) {
|
if ($adopt) {
|
||||||
$img = 'images/policies_not_brick.png';
|
$img = 'images/policies_not_brick.svg';
|
||||||
$title = __('(Unlinked) (Adopt) ').$name_policy;
|
$title = __('(Unlinked) (Adopt) ').$name_policy;
|
||||||
} else {
|
} else {
|
||||||
$img = 'images/unlinkpolicy.png';
|
$img = 'images/unlinkpolicy.svg';
|
||||||
$title = __('(Unlinked) ').$name_policy;
|
$title = __('(Unlinked) ').$name_policy;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1682,24 +1682,31 @@ if (empty($result) === false) {
|
||||||
|
|
||||||
if ($linked) {
|
if ($linked) {
|
||||||
if ($adopt) {
|
if ($adopt) {
|
||||||
$img = 'images/policies_brick.png';
|
$img = 'images/policies_brick.svg';
|
||||||
$title = __('(Adopt) ').$policyInfo['name_policy'];
|
$title = __('(Adopt) ').$policyInfo['name_policy'];
|
||||||
} else {
|
} else {
|
||||||
$img = 'images/policies_mc.png';
|
$img = 'images/policy@svg.svg';
|
||||||
$title = $policyInfo['name_policy'];
|
$title = $policyInfo['name_policy'];
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if ($adopt) {
|
if ($adopt) {
|
||||||
$img = 'images/policies_not_brick.png';
|
$img = 'images/policies_not_brick.svg';
|
||||||
$title = __('(Unlinked) (Adopt) ').$policyInfo['name_policy'];
|
$title = __('(Unlinked) (Adopt) ').$policyInfo['name_policy'];
|
||||||
} else {
|
} else {
|
||||||
$img = 'images/unlinkpolicy.png';
|
$img = 'images/unlinkpolicy.svg';
|
||||||
$title = __('(Unlinked) ').$policyInfo['name_policy'];
|
$title = __('(Unlinked) ').$policyInfo['name_policy'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_metaconsole()) {
|
if (is_metaconsole()) {
|
||||||
$data[0] = '<a href="?sec=gmodules&sec2=advanced/policymanager&id='.$policyInfo['id_policy'].'">'.html_print_image($img, true, ['title' => $title]).'</a>';
|
$data[0] = '<a href="?sec=gmodules&sec2=advanced/policymanager&id='.$policyInfo['id_policy'].'">'.html_print_image(
|
||||||
|
$img,
|
||||||
|
true,
|
||||||
|
[
|
||||||
|
'title' => $title,
|
||||||
|
'class' => 'main_menu_icon',
|
||||||
|
]
|
||||||
|
).'</a>';
|
||||||
} else {
|
} else {
|
||||||
$data[0] = '<a href="?sec=gmodules&sec2=enterprise/godmode/policies/policies&id='.$policyInfo['id_policy'].'">'.html_print_image($img, true, ['title' => $title]).'</a>';
|
$data[0] = '<a href="?sec=gmodules&sec2=enterprise/godmode/policies/policies&id='.$policyInfo['id_policy'].'">'.html_print_image($img, true, ['title' => $title]).'</a>';
|
||||||
}
|
}
|
||||||
|
|
|
@ -142,7 +142,7 @@ $table->data[0][11] = "<a href='index.php?search_category=reports&keywords=".$co
|
||||||
$table->data[0][12] = html_print_image('images/visual_console_green.png', true, ['title' => __('Visual consoles')]);
|
$table->data[0][12] = html_print_image('images/visual_console_green.png', true, ['title' => __('Visual consoles')]);
|
||||||
$table->data[0][13] = "<a href='index.php?search_category=maps&keywords=".$config['search_keywords']."&head_search_keywords=Search'>".sprintf(__('%s Found'), $totalMaps).'</a>';
|
$table->data[0][13] = "<a href='index.php?search_category=maps&keywords=".$config['search_keywords']."&head_search_keywords=Search'>".sprintf(__('%s Found'), $totalMaps).'</a>';
|
||||||
if (enterprise_installed()) {
|
if (enterprise_installed()) {
|
||||||
$table->data[0][14] = html_print_image('images/policies_mc.png', true, ['title' => __('Policies')]);
|
$table->data[0][14] = html_print_image('images/policy@svg.svg', true, ['title' => __('Policies'), 'class' => 'main_menu_icon']);
|
||||||
$table->data[0][15] = "<a href='index.php?search_category=policies&keywords=".$config['search_keywords']."&head_search_keywords=Search'>".sprintf(__('%s Found'), $totalPolicies).'</a>';
|
$table->data[0][15] = "<a href='index.php?search_category=policies&keywords=".$config['search_keywords']."&head_search_keywords=Search'>".sprintf(__('%s Found'), $totalPolicies).'</a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -45,25 +45,34 @@ if (!$policies || !$searchpolicies) {
|
||||||
switch ($policie['status']) {
|
switch ($policie['status']) {
|
||||||
case POLICY_UPDATED:
|
case POLICY_UPDATED:
|
||||||
$status = html_print_image(
|
$status = html_print_image(
|
||||||
'images/policies_ok.png',
|
'images/policies_ok.svg',
|
||||||
true,
|
true,
|
||||||
['title' => __('Policy updated')]
|
[
|
||||||
|
'title' => __('Policy updated'),
|
||||||
|
'class' => 'main_menu_icon',
|
||||||
|
]
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case POLICY_PENDING_DATABASE:
|
case POLICY_PENDING_DATABASE:
|
||||||
$status = html_print_image(
|
$status = html_print_image(
|
||||||
'images/policies_error_db.png',
|
'images/policies_error_db.svg',
|
||||||
true,
|
true,
|
||||||
['title' => __('Pending update policy only database')]
|
[
|
||||||
|
'title' => __('Pending update policy only database'),
|
||||||
|
'class' => 'main_menu_icon',
|
||||||
|
]
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case POLICY_PENDING_ALL:
|
case POLICY_PENDING_ALL:
|
||||||
$status = html_print_image(
|
$status = html_print_image(
|
||||||
'images/policies_error.png',
|
'images/policies_error.svg',
|
||||||
true,
|
true,
|
||||||
['title' => __('Pending update policy')]
|
[
|
||||||
|
'title' => __('Pending update policy'),
|
||||||
|
'class' => 'main_menu_icon',
|
||||||
|
]
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -168,9 +168,12 @@ if ($searchModules) {
|
||||||
if ($searchPolicies) {
|
if ($searchPolicies) {
|
||||||
$policies_tab = [
|
$policies_tab = [
|
||||||
'text' => "<a href='index.php?search_category=policies&keywords=".$config['search_keywords']."&head_search_keywords=Search'>".html_print_image(
|
'text' => "<a href='index.php?search_category=policies&keywords=".$config['search_keywords']."&head_search_keywords=Search'>".html_print_image(
|
||||||
'images/policies_mc.png',
|
'images/policy@svg.svg',
|
||||||
true,
|
true,
|
||||||
['title' => __('Policies')]
|
[
|
||||||
|
'title' => __('Policies'),
|
||||||
|
'class' => 'main_menu_icon',
|
||||||
|
]
|
||||||
).'</a>',
|
).'</a>',
|
||||||
'active' => $searchTab == 'policies',
|
'active' => $searchTab == 'policies',
|
||||||
];
|
];
|
||||||
|
|