mirror of
https://github.com/pi-hole/web.git
synced 2025-12-20 02:38:28 +00:00
Switch to Font Awesome CSS
It's lighter than the JS Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
@@ -134,7 +134,7 @@ $("#totp").on("input", function () {
|
||||
// Toggle password visibility button
|
||||
$("#toggle-password").on("click", function () {
|
||||
// Toggle font-awesome classes to change the svg icon on the button
|
||||
$("svg", this).toggleClass("fa-eye fa-eye-slash");
|
||||
$(".field-icon", this).toggleClass("fa-eye fa-eye-slash");
|
||||
|
||||
// Password field
|
||||
var $pwd = $("#current-password");
|
||||
|
||||
@@ -88,6 +88,7 @@ is_authenticated = mg.request_info.is_authenticated
|
||||
<link rel="stylesheet" href="<?=pihole.fileversion('vendor/bootstrap/css/bootstrap.min.css')?>">
|
||||
<link rel="stylesheet" href="<?=pihole.fileversion('vendor/animate/animate.min.css')?>">
|
||||
<link rel="stylesheet" href="<?=pihole.fileversion('vendor/bstreeview/bstreeview.min.css')?>">
|
||||
<link rel="stylesheet" href="<?=pihole.fileversion('vendor/font-awesome/css/all.min.css')?>">
|
||||
<?
|
||||
if startsWith(scriptname, 'groups') then
|
||||
-- Group management styles
|
||||
@@ -115,7 +116,6 @@ if startsWith(scriptname, 'groups') then
|
||||
<script src="<?=pihole.fileversion('vendor/bootstrap/js/bootstrap.min.js')?>"></script>
|
||||
<script src="<?=pihole.fileversion('vendor/adminLTE/adminlte.min.js')?>"></script>
|
||||
<script src="<?=pihole.fileversion('vendor/bootstrap-notify/bootstrap-notify.min.js')?>"></script>
|
||||
<script src="<?=pihole.fileversion('vendor/font-awesome/all.min.js')?>"></script>
|
||||
<script src="<?=pihole.fileversion('scripts/js/utils.js')?>"></script>
|
||||
<script src="<?=pihole.fileversion('vendor/waitMe/waitMe.min.js')?>"></script>
|
||||
<link rel="stylesheet" href="<?=pihole.fileversion('vendor/waitMe/waitMe.min.css')?>">
|
||||
|
||||
Reference in New Issue
Block a user