Split out footer

This commit is contained in:
Elizabeth Cray 2023-10-01 23:56:26 -04:00
parent 52c66eea16
commit ccb94ef0ac
3 changed files with 13 additions and 22 deletions

View File

@ -150,17 +150,7 @@ if (isset($_REQUEST["act"])){
<input id="keyfile" type="file" style="display: none;"/>
</form>
</div>
<div class="row copyright">
<?php
if (file_exists("/etc/ttyserver/canary")){
echo "Canary";
}
?>
<br>
<button class="footerbutton" onclick="displayFingerprints()">SSH Fingerprints</button>
<br>
<a href="https://git.corrupt.link/liz/tilde-oauth">View Source on Git</a>
</div>
<?php require("/var/www/usergen/footer.php"); ?>
</div>
<div class="desktopOnly col-4"></div>
</div>

11
footer.php Normal file
View File

@ -0,0 +1,11 @@
<div class="row copyright">
<?php
if (file_exists("/etc/ttyserver/canary")){
echo "Canary";
}
?>
<br>
<button class="footerbutton" onclick="displayFingerprints()">SSH Fingerprints</button>
<br>
<a href="https://git.corrupt.link/liz/tilde-oauth">View Source on Git</a>
</div>

View File

@ -37,17 +37,7 @@
<div class="row button">
<button id="bttn" class="keyButton" onclick="beginOauth()">Log In</button>
</div>
<div class="row copyright">
<?php
if (file_exists("/etc/ttyserver/canary")){
echo "Canary";
}
?>
<br>
<button class="footerbutton" onclick="displayFingerprints()">SSH Fingerprints</button>
<br>
<a href="https://git.corrupt.link/liz/tilde-oauth">View Source on Git</a>
</div>
<?php require("/var/www/usergen/footer.php"); ?>
</div>
<div class="desktopOnly col-4"></div>
</div>