This commit is contained in:
Mateusz Gruszczyński
2025-02-23 17:47:54 +01:00
parent a53ff42934
commit 0267e4c2bb
13 changed files with 944 additions and 0 deletions

16
templates/index.html Normal file
View File

@ -0,0 +1,16 @@
{% extends "base.html" %}
{% block title %}Strona główna - RouterOS Update{% endblock %}
{% block content %}
<div class="p-5 mb-4 bg-light rounded-3">
<div class="container-fluid py-5">
<h1 class="display-5 fw-bold">Witamy w RouterOS Update</h1>
<p class="col-md-8 fs-4">Monitoruj swoje urządzenia, sprawdzaj aktualizacje oraz zarządzaj powiadomieniami w jednym miejscu.</p>
{% if not current_user.is_authenticated %}
<button type="button" class="btn btn-primary btn-lg" onclick="window.location.href='{{ url_for('login') }}'">Logowanie</button>
<button type="button" class="btn btn-secondary btn-lg" onclick="window.location.href='{{ url_for('register') }}'">Rejestracja</button>
{% else %}
<button type="button" class="btn btn-primary btn-lg" onclick="window.location.href='{{ url_for('devices') }}'">Moje urządzenia</button>
{% endif %}
</div>
</div>
{% endblock %}