Commit 6cb4855b authored by Andreas Valder's avatar Andreas Valder

made tables responsive

parent c82c4c00
......@@ -6,26 +6,28 @@
<div class="panel-heading">
<h1 class="panel-title">Changelog</h1>
</div>
<table class="table">
<tr>
<th>Zeit</th>
<th>Wer</th>
<th>Pfad</th>
<th>alter Wert</th>
<th>neuer Wert</th>
<th></th>
</tr>
{% for i in changelog %}
<div class="table-responsive">
<table class="table table-condensed">
<tr>
<td>{{i.when}}</td>
<td>{{i.who}}</td>
<td>{{i.path}}</td>
<td>"{{i.value_old}}"</td>
<td>"{{i.value_new}}"</td>
<td><a class="btn btn-default">undo</button></td>
<th>Zeit</th>
<th>Wer</th>
<th>Pfad</th>
<th>alter Wert</th>
<th>neuer Wert</th>
<th></th>
</tr>
{% endfor %}
</table>
{% for i in changelog %}
<tr>
<td>{{i.when}}</td>
<td>{{i.who}}</td>
<td>{{i.path}}</td>
<td>"{{i.value_old}}"</td>
<td>"{{i.value_new}}"</td>
<td><a class="btn btn-default">undo</button></td>
</tr>
{% endfor %}
</table>
</div>
</div>
</div>
{% endblock %}
......@@ -5,7 +5,7 @@
<div class="panel-heading">
<h1 class="panel-title">Drehplan</h1>
</div>
<div class="panel-body row">
<div class="panel-body row table-responsive">
<table class="table-bordered col-xs-12">
<tr><th></th>{% for d in days if (d.index < 5) or (d.lectures|length) > 0%}<th colspan="{{d.maxcol}}">{{ d.date.strftime("%A (%d.%m.%Y)") }}</th>{% endfor %}</tr>
{% for t in times %}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment