Split out footer
This commit is contained in:
parent
52c66eea16
commit
ccb94ef0ac
@ -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
11
footer.php
Normal 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>
|
12
index.php
12
index.php
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user