mirror of
https://github.com/4cuck/nitter-status.git
synced 2026-10-27 00:57:39 +00:00
keep latest healthcheck errors, basic admin login
This commit is contained in:
1 parent
cc70134d9d
commit
759963e7b2
32 files changed
+1761
-308
No files matched your search
@@ -0,0 +1,37 @@
|
||||
{# SPDX-License-Identifier: AGPL-3.0-only #}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-bs-theme="dark">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link href="/static/bootstrap.min.css" rel="stylesheet">
|
||||
<meta name="robots" content="noindex,nofollow" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="author" content="" />
|
||||
<title>Admin Interface</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>Admin Interface</h1>
|
||||
<p><a href="/admin/logout">Logout</a> <a href="/admin/login">Add more instances</a></p>
|
||||
|
||||
<p><h4>Instances</h4> you are logged in for.</p>
|
||||
<div class="table-responsive">
|
||||
<table id="status-tbl" class="table sortable table-hover table-sm">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Instance</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for instance in instances -%}
|
||||
<td>{{instance.domain}}</td>
|
||||
{# <td><a href="/admin/history/{{instance.id}}">History</a></td> #}
|
||||
<td><a href="/admin/errors/{{instance.id}}">Errors</a></td>
|
||||
{%- endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<p>License: AGPL3</p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user