Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Vladislav Rykov
THSO.server
Commits
dfecfeec
Commit
dfecfeec
authored
Apr 15, 2020
by
Vladislav Rykov
Browse files
device view improved
parent
8f44b983
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/dev.html
View file @
dfecfeec
...
...
@@ -6,15 +6,39 @@
<div
class=
"row"
>
<div
class=
"col-md-6 col-md-offset-3"
>
<p>
Name: {{ dev[0] }}
</p>
<p>
dev_id: {{ dev[1] }}
</p>
<p>
app-key: {{ appkey }}
</p>
<p>
Description : {{ dev[2] }}
</p>
<p>
Last time up : {{ ltup }}
</p>
<div
class=
"panel panel-success"
>
<div
class=
"panel-heading"
>
<center><h2>
{{ dev[0] }}
</h2></center>
</div>
<div
class=
"panel-body"
>
<table
class=
"table table-hover"
>
<tbody>
<tr>
<th>
dev_id
</th>
<th>
{{ dev[1] }}
</th>
</tr>
<tr>
<th>
app-key
</th>
<th>
{{ appkey }}
</th>
</tr>
<tr>
<th>
Description
</th>
<th>
{{ dev[2] }}
</th>
</tr>
<tr>
<th>
Last time up
</th>
<th><strong>
{{ ltup }}
</strong></th>
</tr>
</tbody>
</table>
<a
href=
"/dev-data"
><button
type=
"submit"
class=
"btn btn-primary"
>
Data
</button></a>
<a
href=
"/dev-conf"
><button
type=
"submit"
class=
"btn btn-primary"
>
Configure
</button></a>
<a
href=
"/delete-dev"
><button
type=
"submit"
class=
"btn btn-danger"
onclick=
"return conf();"
>
Delete Device
</button></a>
<center>
<a
href=
"/dev-data"
><button
type=
"submit"
class=
"btn btn-primary"
>
Data
</button></a>
<a
href=
"/dev-conf"
><button
type=
"submit"
class=
"btn btn-primary"
>
Configure
</button></a>
<a
href=
"/delete-dev"
><button
type=
"submit"
class=
"btn btn-danger"
onclick=
"return conf();"
>
Delete Device
</button></a>
</center
</div
>
</div>
</div>
</div>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment