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

fixed some syntax errors

parent 0a497ccb
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
</ul> </ul>
</div> </div>
{% if ismod() %} {% 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> <span class="navbar-toggler-icon"></span>
</button> </button>
{% endif %} {% endif %}
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
) )
</script> </script>
{% else %} {% 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"> <ul class="dropdown-menu">
{% for n in navbar if n.userendpoint %} {% for n in navbar if n.userendpoint %}
{{ navbaricon(n, user=session.user.dbid) }} {{ navbaricon(n, user=session.user.dbid) }}
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
</ul> </ul>
</div> </div>
<div class="row card-body"> <div class="row card-body">
<div class="col-xs-12"> <div class="col-12">
<table class="table-top-aligned table-condensed"> <table class="table-top-aligned table-condensed">
<tbody> <tbody>
{% if ismod() %} {% if ismod() %}
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
</table> </table>
</div> </div>
{% if ismod() %} {% 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"> <table class="table-condensed table-top-aligned">
<tbody> <tbody>
<tr><td>Sichtbar:</td><td>{{ moderator_checkbox(['courses',course.id,'visible'], course.visible) }}</td></tr> <tr><td>Sichtbar:</td><td>{{ moderator_checkbox(['courses',course.id,'visible'], course.visible) }}</td></tr>
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
{% if ismod() %} {% if ismod() %}
<div class="card m-1"> <div class="card m-1">
<div class="card-header"> <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>
<div class="card-body collapse out card-collapse" id="statscard"> <div class="card-body collapse out card-collapse" id="statscard">
<div class="row"> <div class="row">
...@@ -86,21 +86,21 @@ ...@@ -86,21 +86,21 @@
<div class="card m-1"> <div class="card m-1">
<div class="card-header"> <div class="card-header">
<h1 class="card-title">Videos <span class="card-title">Videos</span>
{% if ismod() %} {% 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('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> <a class="btn btn-secondary" style="margin-right: 5px;" href="{{url_for('list_import_sources', id=course['id'])}}">Campus Import</a>
{% endif %} {% endif %}
<ul class="list-inline float-right"> <ul class="list-inline float-right">
<li class="list-inline-item"> <li class="list-inline-item">
<a class="fa fa-rss-square" aria-hidden="true" href="{{url_for('rss_feed', handle=course.handle)}}" style="text-decoration: none"></a> <a class="fa fa-rss-square" aria-hidden="true" href="{{url_for('rss_feed', handle=course.handle)}}" style="text-decoration: none"></a>
</li> </li>
{% if ismod() %} {% if ismod() %}
<li class="list-inline float-right"> <li class="list-inline float-right">
<a class="fa fa-calendar" aria-hidden="true" href="{{url_for('ical_course', course=course.handle)}}" style="text-decoration: none"></a> <a class="fa fa-calendar" aria-hidden="true" href="{{url_for('ical_course', course=course.handle)}}" style="text-decoration: none"></a>
</li> </li>
{% endif %} {% endif %}
</h1> </ul>
</div> </div>
<ul class="list-group lectureslist"> <ul class="list-group lectureslist">
{% for l in lectures %} {% 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