Files
OutFleet/templates/sync.html

32 lines
1.2 KiB
HTML
Raw Normal View History

2024-03-18 01:54:00 +02:00
{% extends "base.html" %}
{% block content %}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/default.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
<!-- and it's easy to individually load additional languages -->
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/go.min.js"></script> -->
<script>hljs.highlightAll();</script>
<h1>Last logs</h1>
2023-12-17 17:06:30 +02:00
<form action="/sync" class="pure-form pure-form-stacked" method="POST">
2024-03-18 01:54:00 +02:00
<button type="submit" class="pure-button pure-button-primary button">Sync now</button>
<p>Also wipe ALL keys on ALL servers? Use in case of inconsistency.</p>
<label for="no_wipe" class="pure-radio">
<input type="radio" id="no_wipe" name="wipe" value="no_wipe" checked /> No
</label>
<label for="do_wipe" class="pure-radio">
<input type="radio" id="do_wipe" name="wipe" value="all" /> Yes
</label>
</form>
2023-12-17 17:06:30 +02:00
2024-03-18 01:54:00 +02:00
<pre style="height: 600px; overflow: scroll;">
<code class="language-c">
2023-12-17 17:06:30 +02:00
{% for line in lines %}{{ line }}{% endfor %}
</code>
2024-03-16 00:22:05 +02:00
</pre>
2024-03-18 01:54:00 +02:00
{% endblock %}