first commit
This commit is contained in:
27
templates/create.html
Normal file
27
templates/create.html
Normal file
@@ -0,0 +1,27 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Utwórz kanał | linuxiarz.pl{% endblock %}
|
||||
{% block content %}
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Utwórz swój kanał</h5>
|
||||
<p class="card-text">Połącz z serwerem: {{ ts3_server }}:{{ ts3_server_port }}</p>
|
||||
<form method="POST">
|
||||
<div class="mb-3">
|
||||
<label for="channel_name" class="form-label">Nazwa kanału:</label>
|
||||
<input type="text" class="form-control" id="channel_name" name="channel_name">
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="channel_topic" class="form-label">Temat:</label>
|
||||
<input type="text" class="form-control" id="channel_topic" name="channel_topic">
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="channel_password" class="form-label">Hasło:</label>
|
||||
<input type="password" class="form-control" id="channel_password" name="channel_password">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary">Utwórz</button>
|
||||
</form>
|
||||
{% if flash_message %}<div class="alert alert-success mt-3">{{ flash_message }}</div>{% endif %}
|
||||
<p class="mt-3">Twój IP: {{ client_ip }} | UUID: {{ client_uuid }} | Data: {{ now }}</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user