mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-21 15:10:22 +00:00
Replace loading-spinner.gif w/ fontawesome circle-notch icon
This commit is contained in:
parent
69b629a59b
commit
781a292b67
4 changed files with 25 additions and 4 deletions
|
@ -110,10 +110,31 @@ License: GNU General Public License v3.0
|
||||||
margin-bottom: 0.5em;
|
margin-bottom: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.loading-spinner {
|
#wifiClientContent #wpaConf {
|
||||||
background: url("../../app/img/loading-spinner.gif") no-repeat scroll center center transparent;
|
min-height: calc(100vh / 3);
|
||||||
min-height: 450px;
|
}
|
||||||
|
|
||||||
|
.loading-spinner::before {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: calc(100vh / 4);
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
color: #858796;
|
||||||
|
content: "\f1ce"; /* Unicode for the circle-notch icon */
|
||||||
|
font-family: "Font Awesome 5 Free";
|
||||||
|
font-weight: 900; /* Adjust as needed */
|
||||||
|
font-size: 54px; /* Adjust icon size as needed */
|
||||||
|
animation: spin 1.5s linear infinite;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes spin {
|
||||||
|
0% { transform: rotate(0deg); }
|
||||||
|
100% { transform: rotate(360deg); }
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 576px) {
|
@media (min-width: 576px) {
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 32 KiB |
|
@ -24,7 +24,7 @@
|
||||||
<button type="button" class="btn btn-info float-right js-reload-wifi-stations"><?php echo _("Rescan"); ?></button>
|
<button type="button" class="btn btn-info float-right js-reload-wifi-stations"><?php echo _("Rescan"); ?></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row" id="wpaConf">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<form method="POST" action="wpa_conf" name="wpa_conf_form">
|
<form method="POST" action="wpa_conf" name="wpa_conf_form">
|
||||||
<?php echo CSRFTokenFieldTag() ?>
|
<?php echo CSRFTokenFieldTag() ?>
|
||||||
|
|
Loading…
Reference in a new issue