code under construction
This commit is contained in:
parent
fb848b9244
commit
02341dccee
26 changed files with 820 additions and 1 deletions
34
core/templates/write.html
Executable file
34
core/templates/write.html
Executable file
|
@ -0,0 +1,34 @@
|
|||
<html>
|
||||
<head>
|
||||
<title> Neues Berichtsheft </title>
|
||||
</head>
|
||||
<body>
|
||||
<h1> Neues Berichtsheft </h1>
|
||||
|
||||
<p> Berichtsheft {{ year }} / {{ week }} </p>
|
||||
|
||||
<form method="post">
|
||||
{% for var in definition.vars %}
|
||||
<div>
|
||||
<label for="{{ var.name }}"> {{ var.display_name }}:</label>
|
||||
<input type="text" id="{{ var.name }}" name="{{ var.name }}"
|
||||
|
||||
{% if var.name == "week" %}
|
||||
value = "{{ week }}"
|
||||
{% endif %}
|
||||
|
||||
{% if var.name == "year" %}
|
||||
value = "{{ year }}"
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
||||
>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
<button> Submit </button>
|
||||
</form>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue