103 lines
1.9 KiB
Cheetah
103 lines
1.9 KiB
Cheetah
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<title>{{ .Hostname }} — gloader</title>
|
|
<link rel="stylesheet" href="/bootstrap.min.css" />
|
|
<link rel="stylesheet" href="/bootstrap-table.min.css" />
|
|
<link rel="stylesheet" href="/bootstrap-table-sticky-header.css" />
|
|
<link rel="stylesheet" href="/fontawesome.css" />
|
|
<style type="text/css">
|
|
.progress-bar:nth-child(5n) {
|
|
background-color: #337ab7;
|
|
}
|
|
.progress-bar:nth-child(5n+1) {
|
|
background-color: #5cb85c;
|
|
}
|
|
.progress-bar:nth-child(5n+2) {
|
|
background-color: #5bc0de;
|
|
}
|
|
.progress-bar:nth-child(5n+3) {
|
|
background-color: #f0ad4e;
|
|
}
|
|
.progress-bar:nth-child(5n+4) {
|
|
background-color: #d9534f;
|
|
}
|
|
.lastlog {
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
.Error {
|
|
color: red;
|
|
}
|
|
|
|
.container-fluid {
|
|
padding-left: 45px;
|
|
}
|
|
|
|
.navbar-default .navbar-text {
|
|
color: #777;
|
|
}
|
|
|
|
.navbar-default {
|
|
background-color: #f8f8f8;
|
|
border-color: #e7e7e7;
|
|
}
|
|
|
|
.Queued {
|
|
|
|
}
|
|
.Complete {
|
|
|
|
}
|
|
.Stopped {
|
|
|
|
}
|
|
.Paused {
|
|
|
|
}
|
|
.Downloading {
|
|
|
|
}
|
|
.Error {
|
|
|
|
}
|
|
.Canceled {
|
|
|
|
}
|
|
|
|
body {
|
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
}
|
|
</style>
|
|
|
|
<nav class="navbar navbar-default">
|
|
<p style="margin-top: 0.25em; font-size: 18px"><a href="/">gokrazy</a><br>
|
|
<!-- <small style="font-size: 11px" class="text-muted">version { .BuildTimestamp }}</small> --></p>
|
|
|
|
<table class="navbar-text navbar-right" style="border-spacing: 10px 0; border-collapse: separate">
|
|
<tr>
|
|
<th>host</th>
|
|
<td>{{ .Hostname }}</td>
|
|
</tr>
|
|
<!-- <tr>
|
|
<th>kernel</th>
|
|
<td>{ .Kernel }}</td>
|
|
</tr>
|
|
{ if (ne .Model "") }}
|
|
<tr>
|
|
<th>model</th>
|
|
<td>{ .Model }}</td>
|
|
</tr>
|
|
{ end }}
|
|
{ if .EEPROM }}
|
|
<tr>
|
|
<th>EEPROM<br>(SHA256)</th>
|
|
<td>{ shortenSHA256 .EEPROM.PieepromSHA256 }}<br>{ shortenSHA256 .EEPROM.VL805SHA256 }}</td>
|
|
</tr>
|
|
{ end }} -->
|
|
</table>
|
|
|
|
</nav>
|
|
|
|
<div class="container-fluid">
|