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',,'title'], course.title)}}<span class="pull-right">{{ valuedeletebtn(['courses',,'deleted']) }}</span></h1>
<div class="row panel-body">
<div class="col-xs-12" class="table-condensed">
<div class="col-xs-12">
<table class="table-top-aligned table-condensed">
<tr><td>Semester:</td><td>{{ valueeditor(['courses',,'semester'], course.semester) }}</td></tr>
<tr><td>Veranstalter:</td><td>{{ valueeditor(['courses',,'organizer'], course.organizer) }}</td></tr>
......@@ -21,7 +21,7 @@
{% if ismod() %}
<div class="col-xs-12" style="margin-top: 20px">
<table class="table-condensed">
<table class="table-condensed table-top-aligned">
<tr><td>Sichtbar:</td><td>{{ valuecheckbox(['courses',,'visible'], course.visible) }}</td></tr>
<tr><td>Gelistet:</td><td>{{ valuecheckbox(['courses',,'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