dodanie szablonów

This commit is contained in:
2023-04-19 12:58:31 +02:00
parent bfd11c6d7d
commit 63951315c9
4 changed files with 50 additions and 46 deletions

View File

@@ -1,10 +1,6 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Formularz</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<style>
{% extends "base.html" %}
{% block title %}Tworzenie obrazu{% endblock %}
{% block style %}
/* styl dla całej strony */
body {
font-family: Arial, sans-serif;
@@ -66,10 +62,9 @@ form button[type="submit"] {
form button[type="submit"]:hover {
background-color: #3e8e41;
}
</style>
</head>
<body>
{% extends 'navbar.html' %}
{% endblock %}
{% block content %}
<h1>Formularz tworzenia pliku konfiguracyjnego</h1>
<form method="POST" action="/api/createconf" enctype="multipart/form-data">
<label>Nazwa konfiguracji:</label><br>
@@ -82,5 +77,4 @@ form button[type="submit"]:hover {
<textarea name="authorized_keys_config" rows="4" cols="50"></textarea><br><br>
<input type="submit" value="Wyślij">
</form>
</body>
</html>
{% endblock %}