Template layout + compatibility tweaks

This commit is contained in:
billz 2024-10-25 02:19:17 -07:00
parent b9c7108fd7
commit 26d2f244f9
3 changed files with 6 additions and 8 deletions

View file

@ -1,5 +1,5 @@
<div class="row g-0">
<div class="col-6 col-md-4 gx-2 sidebar-brand-icon">
<div class="col-4 ms-2 sidebar-brand-icon">
<img src="app/img/raspAP-logo.php" class="navbar-logo" width="60" height="60">
</div>
<div class="col ml-2">

View file

@ -23,10 +23,10 @@
<div class="mt-3 project-links">
<div class="row">
<div class="col-md-6">GitHub <i class="fab fa-github"></i> <a href="https://github.com/RaspAP/">RaspAP</a></div>
<div class="col-md-6">Twitter <span style="color: #55acee"><i class="fab fa-twitter"></i></span> <a href="https://twitter.com/rasp_ap">@RaspAP</a></div>
<div class="col-md-6">Reddit <span style="color: #ff4500"><i class="fab fa-reddit"></i></span> <a href="https://www.reddit.com/r/RaspAP/">/r/RaspAP</a></div>
<div class="col-md-6">Discord <span style="color: #7289da"><i class="fab fa-discord"></i></span> <a href="https://discord.gg/KVAsaAR">RaspAP</a></div>
<div class="col-md-6">Docs <span style="color: #2b8080"><i class="fas fa-book-reader"></i></span> <a href="https://docs.raspap.com/">docs.raspap.com</a></div>
<div class="col-md-6">Twitter <i class="fab fa-twitter"></i> <a href="https://twitter.com/rasp_ap">@RaspAP</a></div>
<div class="col-md-6">Reddit <i class="fab fa-reddit"></i> <a href="https://www.reddit.com/r/RaspAP/">/r/RaspAP</a></div>
<div class="col-md-6">Discord <i class="fab fa-discord"></i> <a href="https://discord.gg/KVAsaAR">RaspAP</a></div>
<div class="col-md-6">Docs <i class="fas fa-book-reader"></i> <a href="https://docs.raspap.com/">docs.raspap.com</a></div>
<div class="col-md-6">License <i class="fas fa-balance-scale"></i> <a href="https://github.com/raspap/raspap-webgui/blob/master/LICENSE">GPL-3.0</a></div>
</div>
</div>

View file

@ -55,9 +55,7 @@
<input type="password" disabled class="form-control" aria-describedby="passphrase" name="passphrase<?php echo $index ?>" value="" />
<?php } else { ?>
<input type="password" class="form-control" aria-describedby="passphrase" name="passphrase<?php echo $index ?>" value="<?php echo htmlspecialchars($network['passphrase']); ?>" data-bs-target="#update<?php echo $index ?>" data-colors="#ffd0d0,#d0ffd0">
<div class="input-group-append">
<button class="btn btn-light js-toggle-password" type="button" data-bs-target="[name=passphrase<?php echo $index ?>]" data-toggle-with="fas fa-eye-slash"><i class="fas fa-eye mx-2"></i></button>
</div>
<div class="input-group-text js-toggle-password" data-bs-target="[name=passphrase<?php echo $index ?>]" data-toggle-with="fas fa-eye-slash"><i class="fas fa-eye mx-2"></i></div>
<?php } ?>
</div>
</div>