Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jannik Hellenkamp
website
Commits
f9c72dd1
Commit
f9c72dd1
authored
Feb 15, 2018
by
Andreas Valder
Browse files
fixed some syntax errors
parent
0a497ccb
Changes
2
Hide whitespace changes
Inline
Side-by-side
templates/base.html
View file @
f9c72dd1
...
...
@@ -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) }}
...
...
templates/course.html
View file @
f9c72dd1
...
...
@@ -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,21 +86,21 @@
<div
class=
"card m-1"
>
<div
class=
"card-header"
>
<
h1
class=
"card-title"
>
Videos
{% 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>
{% endif %}
<ul
class=
"list-inline float-right"
>
<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>
</li>
{% if ismod() %}
<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>
</li>
{% endif %}
</
h1
>
<
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>
{% endif %}
<ul
class=
"list-inline float-right"
>
<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>
</li>
{% if ismod() %}
<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>
</li>
{% endif %}
</
ul
>
</div>
<ul
class=
"list-group lectureslist"
>
{% for l in lectures %}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment