day of hard work with xkirsch #2

This commit is contained in:
2024-12-10 23:02:58 +01:00
parent 6c55c1701c
commit 72fb73cb5f
18 changed files with 841 additions and 64 deletions

View File

@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vytvořit Nového Uživatele</title>
<link rel="icon" href="{{url_for('static', filename='img/logo.webp')}}" type="image/x-icon">
<link rel="stylesheet" href="{{url_for('static', filename='css/style.css')}}">
<script src="{{url_for('static', filename='scripts/create_user.js')}}"></script>
</head>
@@ -42,7 +43,11 @@
<input type="email" id="email" name="email" required>
<label for="role">Role:</label>
<input type="text" id="role" name="role" required>
<select id="role" name="role" required>
{% for role in roles %}
<option value="{{ role['Role_ID'] }}">{{ role['Nazev'] }}</option>
{% endfor %}
</select>
<label for="username">Username:</label>
<input type="text" id="username" name="username" required>