Commit 1d9d00ee authored by Julian Rother's avatar Julian Rother
Browse files

Properly align course info table

parent fa90e632
......@@ -4,3 +4,5 @@
@media (min-width: 767px) {
.list-group-item-condensed { padding-top: 2px !important; padding-bottom: 2px !important; }
}
.table-top-aligned tr { vertical-align: top; }
......@@ -10,8 +10,8 @@
<h1 class="panel-title">{{ valueeditor(['courses',course.id,'title'], course.title)}}<span class="pull-right">{{ valuedeletebtn(['courses',course.id,'deleted']) }}</span></h1>
</div>
<div class="row panel-body">
<div class="col-xs-12" class="table-condensed">
<table>
<div class="col-xs-12">
<table class="table-top-aligned table-condensed">
<tbody>
<tr><td>Semester:</td><td>{{ valueeditor(['courses',course.id,'semester'], course.semester) }}</td></tr>
<tr><td>Veranstalter:</td><td>{{ valueeditor(['courses',course.id,'organizer'], course.organizer) }}</td></tr>
......@@ -21,7 +21,7 @@
</div>
{% if ismod() %}
<div class="col-xs-12" style="margin-top: 20px">
<table class="table-condensed">
<table class="table-condensed table-top-aligned">
<tbody>
<tr><td>Sichtbar:</td><td>{{ valuecheckbox(['courses',course.id,'visible'], course.visible) }}</td></tr>
<tr><td>Gelistet:</td><td>{{ valuecheckbox(['courses',course.id,'listed'], course.listed) }}</td></tr>
......
Supports Markdown
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