182 lines
4.6 KiB
HTML
182 lines
4.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>About Printio</title>
|
|
<link rel="icon" type="image/x-icon" href="/static/images/favicon.ico">
|
|
<link rel="stylesheet" href="/static/css/styles.css">
|
|
<link rel="stylesheet" href="/static/fontawesome/css/all.min.css">
|
|
<style>
|
|
h1 {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
label, select, #media-sizes, button {
|
|
margin: 5px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
select {
|
|
padding: 3px;
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
#media-sizes ul {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
}
|
|
|
|
#media-sizes li {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
#media-sizes input[type="checkbox"] {
|
|
transform: scale(1.5);
|
|
margin-right: 12px;
|
|
}
|
|
|
|
#media-sizes span {
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
button {
|
|
background-color: blue;
|
|
color: white;
|
|
padding: 10px 20px;
|
|
border: none;
|
|
border-radius: 5px;
|
|
font-size: 1.2em;
|
|
cursor: pointer;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: darkblue;
|
|
}
|
|
|
|
p {
|
|
display: block;
|
|
margin-top: 1em;
|
|
margin-bottom: 1em;
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
|
|
.license-section {
|
|
margin-top: 30px;
|
|
text-align: center;
|
|
}
|
|
|
|
.license-status {
|
|
font-size: 1.1em;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.license-input {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.license-input input {
|
|
padding: 10px;
|
|
width: 200px;
|
|
font-size: 1.1em;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.license-input button {
|
|
background-color: #4CAF50;
|
|
padding: 10px 20px;
|
|
font-size: 1.1em;
|
|
cursor: pointer;
|
|
border-radius: 5px;
|
|
border: none;
|
|
}
|
|
|
|
.license-input button:hover {
|
|
background-color: #45a049;
|
|
}
|
|
|
|
/* New Styles for Layout */
|
|
.content-wrapper {
|
|
display: flex;
|
|
}
|
|
|
|
.left-column {
|
|
width: 280px;
|
|
padding-right: 20px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.right-column {
|
|
width: 70%;
|
|
}
|
|
|
|
.info-box {
|
|
padding: 15px;
|
|
margin-bottom: 20px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.license-box {
|
|
padding: 15px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 5px;
|
|
}
|
|
#p {
|
|
margin-left: 10px;
|
|
}
|
|
</style>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.0.0/crypto-js.min.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="navbar"></div>
|
|
<script>
|
|
fetch('/static/html/nav.html')
|
|
.then(response => response.text())
|
|
.then(data => {
|
|
document.getElementById('navbar').innerHTML = data;
|
|
});
|
|
</script>
|
|
|
|
<div class="content-wrapper">
|
|
<div class="left-column">
|
|
<div class="info-box">
|
|
<h3>System Info</h3>
|
|
<p>Version: {{info.software_version}}
|
|
<p>CPU %: {{info.cpu}}</p>
|
|
<p>CPU T: {{info.cpu_t}}</p>
|
|
<p>Disk Size: {{info.disk_size}}</p>
|
|
<p>Disk Used: {{info.disk_used}}</p>
|
|
<p>RAM Size: {{info.ram_size}}</p>
|
|
<p>RAM Used: {{info.ram_used}}</p>
|
|
<p>Up Time: {{info.uptime}}</p>
|
|
</div>
|
|
|
|
<div class="license-box">
|
|
<h3>License Info </h3>
|
|
<p>License: {{info.license}}</p>
|
|
<!--p>Image Magic: {{info.image_magic}}</p-->
|
|
<!--p>Hashtag: {{info.hash}}</p-->
|
|
<!--p>Drop Folder: {{info.drop_folder}}</p-->
|
|
</div>
|
|
</div>
|
|
|
|
<div class="right-column">
|
|
<h1>About ATA Dash</h1>
|
|
<p>
|
|
ATA Dash is a simple interface to control your LCD Advertising display.
|
|
</p>
|
|
<p>
|
|
Warning: Unauthorized reproduction or distribution of this product
|
|
is strictly prohibited and may result in severe civil and criminal
|
|
penalties.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|