Commit f9c72dd1 authored by Andreas Valder's avatar Andreas Valder
Browse files

fixed some syntax errors

parent 0a497ccb
......@@ -70,7 +70,7 @@
</ul>
</div>
{% if ismod() %}
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target=".navbar-collapse" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target=".navbar-collapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
{% endif %}
......@@ -111,7 +111,7 @@
)
</script>
{% else %}
<button data-toggle="dropdown"class="btn dropdown-toggle">{{ session.user.givenName }} <span class="caret"></span></button>
<button data-toggle="dropdown" class="btn dropdown-toggle">{{ session.user.givenName }} <span class="caret"></span></button>
<ul class="dropdown-menu">
{% for n in navbar if n.userendpoint %}
{{ navbaricon(n, user=session.user.dbid) }}
......
......@@ -22,7 +22,7 @@
</ul>
</div>
<div class="row card-body">
<div class="col-xs-12">
<div class="col-12">
<table class="table-top-aligned table-condensed">
<tbody>
{% if ismod() %}
......@@ -36,7 +36,7 @@
</table>
</div>
{% if ismod() %}
<div class="col-xs-12" style="margin-top: 20px">
<div class="col-12" style="margin-top: 20px">
<table class="table-condensed table-top-aligned">
<tbody>
<tr><td>Sichtbar:</td><td>{{ moderator_checkbox(['courses',course.id,'visible'], course.visible) }}</td></tr>
......@@ -67,7 +67,7 @@
{% if ismod() %}
<div class="card m-1">
<div class="card-header">
<a data-toggle="collapse" href="#statscard" class="plotlyresize"><h1 class="card-title">Statistiken</h1></a>
<a data-toggle="collapse" href="#statscard" class="plotlyresize"><span class="card-title">Statistiken</span></a>
</div>
<div class="card-body collapse out card-collapse" id="statscard">
<div class="row">
......@@ -86,7 +86,7 @@
<div class="card m-1">
<div class="card-header">
<h1 class="card-title">Videos
<span class="card-title">Videos</span>
{% if ismod() %}
<a class="btn btn-secondary" style="margin-right: 5px;" href="{{ url_for('create', table='lectures', time=datetime.now(), title='Noch kein Titel', visible='0', course_id=course.id, ref=url_for('course', id=course.id)) }}">Neuer Termin</a>
<a class="btn btn-secondary" style="margin-right: 5px;" href="{{url_for('list_import_sources', id=course['id'])}}">Campus Import</a>
......@@ -100,7 +100,7 @@
<a class="fa fa-calendar" aria-hidden="true" href="{{url_for('ical_course', course=course.handle)}}" style="text-decoration: none"></a>
</li>
{% endif %}
</h1>
</ul>
</div>
<ul class="list-group lectureslist">
{% for l in lectures %}
......
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