Make a squash
This commit is contained in:
commit
113992f95b
21 changed files with 3339 additions and 0 deletions
12
web/templates/config/edit.html
Normal file
12
web/templates/config/edit.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<p>
|
||||
Urejate datoteko <code>{{ name }}.json</code>.
|
||||
|
||||
<form id="request" method="POST">
|
||||
<p><textarea name="text" style="width: 100%; height: 20em;">{{ content }}</textarea>
|
||||
<p><button id="submit" type="submit">Shrani</button>
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
17
web/templates/config/index.html
Normal file
17
web/templates/config/index.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<p>
|
||||
Tu lahko urejate splošne nastavitve.
|
||||
|
||||
<form id="request" method="POST">
|
||||
<h2>Nastavitve</h2>
|
||||
{% for name, value in settings.items() %}
|
||||
<p>
|
||||
<input type="hidden" name="setting" value="{{ name }}" />
|
||||
<label>{{ name }}<br><input name="value" value="{{ value }}" /></label>
|
||||
{% endfor %}
|
||||
<p><button id="submit" type="submit">Shrani</button>
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue