tvid is a redirection manager for televisions, lobby displays, status dashboards, and the like, so that you can set all of the displays in your organization to one URL and manage them via the web.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.0 KiB
41 lines
1.0 KiB
% rebase('base.tpl', refresh=None, title='tvid administration')
|
|
<nav class="navbar navbar-expand-md navbar-dark bg-dark mb-4">
|
|
<a class="navbar-brand" href="/admin">TVID Admin</a>
|
|
|
|
<ul class="navbar-nav ml-auto">
|
|
<li class="nav-item">
|
|
<a class="btn btn-secondary" href="/logout">Log Out</a>
|
|
</li>
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
|
|
<div class="container" id="adminpanel">
|
|
<h1>TVs</h1>
|
|
|
|
<table class="table table-striped table-hover">
|
|
<thead class="thead-dark">
|
|
<tr>
|
|
<th scope="col">Display ID</th>
|
|
<th scope="col">Last Seen</th>
|
|
<th scope="col">Target URL</th>
|
|
<th scope="col">Edit</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
% for tv in tvs:
|
|
<tr>
|
|
<th scope="row">{{tv.displayid}}</th>
|
|
<td>{{tv.lastSeen}}</td>
|
|
<td>{{tv.target}}</td>
|
|
<td><a href="/admin/edit/{{tv.displayid}}" class="btn btn-success btn-sm">Edit</a></td>
|
|
</tr>
|
|
% end
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
<p><small>Powered by tvid v{{version}}</small></p>
|
|
</div>
|
|
|