minimal working
This commit is contained in:
3
app/templates/includes/footer.html
Normal file
3
app/templates/includes/footer.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<footer>
|
||||
<hr>
|
||||
</footer>
|
18
app/templates/includes/form.html
Normal file
18
app/templates/includes/form.html
Normal 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>
|
4
app/templates/includes/header.html
Normal file
4
app/templates/includes/header.html
Normal file
@@ -0,0 +1,4 @@
|
||||
<header>
|
||||
<h1>Dekonferencija v1.0</h1>
|
||||
<hr>
|
||||
</header>
|
14
app/templates/layouts/base.html
Normal file
14
app/templates/layouts/base.html
Normal 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>
|
9
app/templates/pages/index.html
Normal file
9
app/templates/pages/index.html
Normal 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 %}
|
22
app/templates/pages/results.html
Normal file
22
app/templates/pages/results.html
Normal 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 %}
|
10
app/templates/pages/success.html
Normal file
10
app/templates/pages/success.html
Normal 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 %}
|
Reference in New Issue
Block a user