Zdalne-systemy-z-kit-uVPN/templates/create.html

26 lines
1.1 KiB
HTML
Raw Normal View History

2023-04-19 10:58:31 +00:00
{% extends "base.html" %}
{% block title %}Tworzenie obrazu{% endblock %}
{% block style %}
2023-04-24 08:22:17 +00:00
<link rel="stylesheet" href="/style/create.css" />
2023-04-19 10:58:31 +00:00
{% endblock %}
{% block content %}
2023-04-19 11:03:05 +00:00
<br>
2023-04-21 08:46:46 +00:00
<h1 class="mx-auto">Formularz tworzenia obrazu konfiguracyjnego</h1>
2023-04-13 11:13:39 +00:00
<form method="POST" action="/api/createconf" enctype="multipart/form-data">
2023-04-21 08:40:09 +00:00
<label>Nazwa konfiguracji:</label>
2023-04-13 10:55:06 +00:00
<input type="text" name="config_name" required><br><br>
2023-04-21 08:40:09 +00:00
<label>Nazwa tokenu:</label>
2023-04-13 10:55:06 +00:00
<input type="text" name="token_name" required><br><br>
2023-04-21 08:40:09 +00:00
<label>Długość klucza:</label>
<input type="number" name="key_length" min="1024" value="2048" required><br><br>
2023-04-21 08:40:09 +00:00
<label>Adres ip VPN:</label>
2023-04-19 11:46:25 +00:00
<input type="text" name="ip" required><br><br>
2023-04-21 08:40:09 +00:00
<label>Hasło dla roota:</label>
<input type="password" name="pass" required><br><br>
<label>Konfiguracja authorized_keys:</label>
2023-04-13 10:55:06 +00:00
<textarea name="authorized_keys_config" rows="4" cols="50"></textarea><br><br>
<input type="submit" value="Wyślij">
</form>
2023-04-19 10:58:31 +00:00
{% endblock %}