Skip to content

Commit

Permalink
final replacement of Quetto with Tabler icons
Browse files Browse the repository at this point in the history
  • Loading branch information
twoln committed Apr 24, 2024
1 parent 36e1921 commit 6fc909b
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 15 deletions.
2 changes: 1 addition & 1 deletion core/diag/AbstractTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ public function __construct()
*/
$code43 = RADIUSTests::TLSPROB_UNKNOWN_TLS_VERSION;
$this->returnCodes[$code43]["message"] = _("It was not possible to determine the TLS version that was used in the EAP exchange.");
$this->returnCodes[$code42]["severity"] = \core\common\Entity::L_REMARK;
$this->returnCodes[$code43]["severity"] = \core\common\Entity::L_REMARK;

/**
* TLS version problem: old version
Expand Down
8 changes: 4 additions & 4 deletions core/diag/RADIUSTestsUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ public function __construct($token)
\core\common\Entity::L_REMARK => _("There were some remarks.")
];
$this->stateIcons = [
\core\common\Entity::L_OK => '../resources/images/icons/Quetto/check-icon.png',
\core\common\Entity::L_WARN => '../resources/images/icons/Quetto/danger-icon.png',
\core\common\Entity::L_ERROR => '../resources/images/icons/Quetto/no-icon.png',
\core\common\Entity::L_REMARK => '../resources/images/icons/Quetto/info-icon.png'
\core\common\Entity::L_OK => '../resources/images/icons/Tabler/square-rounded-check-filled-green.svg',
\core\common\Entity::L_WARN => '../resources/images/icons/Tabler/alert-square-rounded-filled-yellow.svg',
\core\common\Entity::L_ERROR => '../resources/images/icons/Tabler/square-rounded-x-filled-red.svg',
\core\common\Entity::L_REMARK => '../resources/images/icons/Tabler/info-square-rounded-filled-blue.svg'
];
$this->states = [
'PASS' => _("PASS"),
Expand Down
14 changes: 4 additions & 10 deletions web/diag/action_realmcheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,16 +101,10 @@
var L_REMARK = <?php echo \core\common\Entity::L_REMARK ?>;
var ajax_timeout = 10000;
var icons = new Array();
/*
icons[L_OK] = '../resources/images/icons/Checkmark-lg-icon.png';
icons[L_WARN] = '../resources/images/icons/Exclamation-yellow-icon.png';
icons[L_ERROR] = '../resources/images/icons/Exclamation-orange-icon.png';
icons[L_REMARK] = '../resources/images/icons/Star-blue.png';
*/
icons[L_OK] = '../resources/images/icons/Quetto/check-icon.png';
icons[L_WARN] = '../resources/images/icons/Quetto/danger-icon.png';
icons[L_ERROR] = '../resources/images/icons/Quetto/no-icon.png';
icons[L_REMARK] = '../resources/images/icons/Quetto/info-icon.png';
icons[L_OK] = '../resources/images/icons/Tabler/square-rounded-check-filled-green.svg';
icons[L_WARN] = '../resources/images/icons/Tabler/alert-square-rounded-filled-yellow.svg';
icons[L_ERROR] = '../resources/images/icons/Tabler/square-rounded-x-filled-red.svg';
icons[L_REMARK] = '../resources/images/icons/Tabler/info-square-rounded-filled-blue.svg';
var icon_loading = '../resources/images/icons/loading51.gif';
var tmp_content;
var lang = '<?php echo $gui->languageInstance->getLang(); ?>'
Expand Down
Binary file removed web/resources/images/icons/Quetto/check-icon.png
Binary file not shown.
Binary file removed web/resources/images/icons/Quetto/danger-icon.png
Binary file not shown.
Binary file removed web/resources/images/icons/Quetto/info-icon.png
Binary file not shown.
Binary file removed web/resources/images/icons/Quetto/no-icon.png
Binary file not shown.

0 comments on commit 6fc909b

Please sign in to comment.