initial import
This commit is contained in:
11
templates/arbeitsblatt.html
Normal file
11
templates/arbeitsblatt.html
Normal file
@ -0,0 +1,11 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<div class="w3-responsive">
|
||||
{% for a in aufgaben %}
|
||||
{% for k in a %}
|
||||
<table class="w3-left" width="auto"><tr><td class="w3-right-align" style="width: 3em">{{ k }}</td><td> = </td><td class="w3-border-bottom" style="width: 5em; height: 2em"></td></tr></table>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock %}
|
22
templates/base.html
Normal file
22
templates/base.html
Normal file
@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
|
||||
{% block head %}<title>Rechentrainer</title>{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
<header class="w3-container w3-blue-grey">
|
||||
{% block header %}<h1><a class="w3-button" href="/"><i class="material-icons w3-xxlarge">home</i></a>Rechentrainer</h1>{% endblock %}
|
||||
</header>
|
||||
<div class="w3-container" style="margin-bottom: 1.5em;">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
<footer class="w3-container w3-blue-grey w3-center" style="position: fixed; bottom: 0; width: 100vw; height: 1.5em">
|
||||
{% block footer %}<span>(c) br0tkasten.de</span>{% endblock %}
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
33
templates/generator.html
Normal file
33
templates/generator.html
Normal file
@ -0,0 +1,33 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<div class="w3-display-container">
|
||||
<form method="POST">
|
||||
<!--label for="rechenreihen">Rechenreihen wählen:</label>
|
||||
<select name="rechenreihen" id="rechenreihen" multiple>
|
||||
<option value="1">1er Reihe</option>
|
||||
<option value="2">2er Reihe</option>
|
||||
<option value="3">3er Reihe</option>
|
||||
<option value="4">4er Reihe</option>
|
||||
<option value="5">5er Reihe</option>
|
||||
<option value="6">6er Reihe</option>
|
||||
<option value="7">7er Reihe</option>
|
||||
<option value="8">8er Reihe</option>
|
||||
<option value="9">9er Reihe</option>
|
||||
<option value="10">10er Reihe</option>
|
||||
</select-->
|
||||
<input type="checkbox" name="rechenreihen" value="1"> 1er Reihe<br/>
|
||||
<input type="checkbox" name="rechenreihen" value="2"> 2er Reihe<br/>
|
||||
<input type="checkbox" name="rechenreihen" value="3"> 3er Reihe<br/>
|
||||
<input type="checkbox" name="rechenreihen" value="4"> 4er Reihe<br/>
|
||||
<input type="checkbox" name="rechenreihen" value="5"> 5er Reihe<br/>
|
||||
<input type="checkbox" name="rechenreihen" value="6"> 6er Reihe<br/>
|
||||
<input type="checkbox" name="rechenreihen" value="7"> 7er Reihe<br/>
|
||||
<input type="checkbox" name="rechenreihen" value="8"> 8er Reihe<br/>
|
||||
<input type="checkbox" name="rechenreihen" value="9"> 9er Reihe<br/>
|
||||
<input type="checkbox" name="rechenreihen" value="10"> 10er Reihe<br/>
|
||||
|
||||
<input type="submit" value="zum Arbeitsblatt">
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
20
templates/index.html
Normal file
20
templates/index.html
Normal file
@ -0,0 +1,20 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<div class="w3-display-container" style="height: 200px">
|
||||
<div class="w3-row w3-half w3-display-middle">
|
||||
<div class="w3-blue-grey w3-col w3-mobile s6">
|
||||
<a class="w3-block w3-button" href="/train">
|
||||
<i class="material-icons w3-jumbo">school</i>
|
||||
<p>train</p>
|
||||
</a>
|
||||
</div>
|
||||
<div class="w3-blue-grey w3-col w3-mobile s6">
|
||||
<a class="w3-block w3-button" href="/manage">
|
||||
<i class="material-icons w3-jumbo">settings_applications</i>
|
||||
<p>manage vocabulary</p>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user