mirror of https://github.com/lumapu/ahoy.git
lumapu
2 years ago
12 changed files with 349 additions and 180 deletions
@ -0,0 +1,54 @@ |
|||
<!doctype html> |
|||
<html> |
|||
<head> |
|||
<title>System</title> |
|||
<link rel="stylesheet" type="text/css" href="style.css"/> |
|||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
|||
<script type="text/javascript" src="api.js"></script> |
|||
</head> |
|||
<body> |
|||
<div class="topnav"> |
|||
<a href="/" class="title">AhoyDTU</a> |
|||
<a href="javascript:void(0);" class="icon" onclick="topnav()"> |
|||
<span></span> |
|||
<span></span> |
|||
<span></span> |
|||
</a> |
|||
<div id="topnav" class="hide"></div> |
|||
</div> |
|||
<div id="wrapper"> |
|||
<div id="content"> |
|||
<a href="/factory" class="btn">Factory Reset</a><br/> |
|||
<br/> |
|||
<a href="/reboot" class="btn">Reboot</a> |
|||
</div> |
|||
</div> |
|||
<div id="footer"> |
|||
<div class="left"> |
|||
AhoyDTU © 2022 |
|||
<ul> |
|||
<li><a href="https://discord.gg/WzhxEY62mB" target="_blank">Discord</a></li> |
|||
<li><a href="https://github.com/lumapu/ahoy" target="_blank">Github</a></li> |
|||
</ul> |
|||
</div> |
|||
<div class="right"> |
|||
<span id="version"></span><br/><br/> |
|||
<a href="https://creativecommons.org/licenses/by-nc-sa/3.0/de" target="_blank" >CC BY-NC-SA 3.0</a> |
|||
</div> |
|||
</div> |
|||
<script type="text/javascript"> |
|||
function parseSys(obj) { |
|||
parseVersion(obj); |
|||
} |
|||
|
|||
function parse(obj) { |
|||
if(null != obj) { |
|||
parseMenu(obj["menu"]); |
|||
parseSys(obj["system"]); |
|||
} |
|||
} |
|||
|
|||
getAjax("/api/index", parse); |
|||
</script> |
|||
</body> |
|||
</html> |
Loading…
Reference in new issue