refactor web interface

This commit is contained in:
Mateusz Gruszczyński
2025-02-25 09:28:14 +01:00
parent 5c7a404c3b
commit cffc8b3124
22 changed files with 798 additions and 369 deletions

@ -0,0 +1,32 @@
{% extends "base.html" %}
{% block title %}Wyczyść Server - /etc/hosts Manager{% endblock %}
{% block extra_css %}
{{ super() }}
<style>
.tooltip-inner {
max-width: 300px;
text-align: left;
}
</style>
{% endblock %}
{% block content %}
<div class="card mb-4">
<div class="card-header">
<h2>Wyczyść serwery</h2>
</div>
<div class="card-body">
<form method="POST" action="{{ url_for('clear_server') }}">
<div class="form-check mb-3">
<input class="form-check-input" type="checkbox" name="linux" id="linux">
<label class="form-check-label" for="linux">Wyczyść Linux</label>
</div>
<div class="form-check mb-3">
<input class="form-check-input" type="checkbox" name="mikrotik" id="mikrotik">
<label class="form-check-label" for="mikrotik">Wyczyść Mikrotik</label>
</div>
<button type="submit" class="btn btn-danger">Wyczyść wybrane</button>
</form>
</div>
</div>
{% endblock %}