minimal working

This commit is contained in:
2024-06-24 10:45:06 -04:00
commit 229b3e2b07
16 changed files with 642 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
<footer>
<hr>
</footer>

View File

@@ -0,0 +1,18 @@
<form method="POST" action="/process-form">
<div class="form-choice">
<label for="attendence">Prisutnost (Attendence)</label>
<div class="form-checkbox">
<input type="radio" name="attendence" id="attendence" value="yes">
<p>Dolazim (I'll be there)</p>
</div>
<div class="form-checkbox">
<input type="radio" name="attendence" id="attendence" value="no">
<p>Ne dolazim (Won't be there)</p>
</div>
</div>
<div class="form-textarea">
<label for="comment">Pitanje ili komentar (Question or comment)</label>
<textarea name="comment"></textarea>
</div>
<button>Posalji (Submit)</button>
</form>

View File

@@ -0,0 +1,4 @@
<header>
<h1>Dekonferencija v1.0</h1>
<hr>
</header>

View File

@@ -0,0 +1,14 @@
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/holiday.css@0.11.2" />
<title>App</title>
</head>
<body>
<div class="container">
{% include "includes/header.html" %}
{% block content %}{% endblock content %}
{% include "includes/footer.html" %}
</div>
</body>
</html>

View File

@@ -0,0 +1,9 @@
{% extends "layouts/base.html" %}
{% block content %}
<div>
<p>Dekonferencija je prva konferencija koju organizuje Decentrala,samoorganizovani kolektiv. Dekonferencija je mesto gde cemo imati predavanja, radionice, razmenjivati iskustva i ideje i druziti se.
</p>
</div>
{% include "includes/form.html" %}
{% endblock %}

View File

@@ -0,0 +1,22 @@
{% extends "layouts/base.html" %}
{% block content %}
<table>
<thead>
<tr>
<td>Prisustvo (Attendance)</td>
<td>Komentar ili pitanje (Comment or question)</td>
</tr>
</thead>
{% for reply in replies %}
<tr>
<td>
{{reply["attendence"]}}
</td>
<td>
{{reply["comment"]}}
</td>
</tr>
{% endfor%}
</table>
{% endblock %}

View File

@@ -0,0 +1,10 @@
{% extends "layouts/base.html" %}
{% block content %}
<div>
<p>Hvala na prijavi! U medjuvrmenu mozete se prikljuciti diskusijama na forumu (forum.dmz.rs) ili XMPP grupi(decentrala@conference.dmz.rs).
Thanks for application! In meantime you can join forum(forum.dmz.rs) or XMPP group (decentrala@conference.dmz.rs)
</p>
</div>
{% endblock %}