Skip to content
GitLab
About GitLab
GitLab: the DevOps platform
Explore GitLab
Install GitLab
How GitLab compares
Get started
GitLab docs
GitLab Learn
Pricing
Talk to an expert
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Projects
Groups
Snippets
Sign up now
Login
Sign in
Toggle navigation
Menu
Open sidebar
Video AG Infrastruktur
website
Commits
2dd289c0
Commit
2dd289c0
authored
Aug 31, 2016
by
Andreas Valder
Browse files
added buttons for new lectures/courses
parent
6f9983f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
templates/course.html
View file @
2dd289c0
...
...
@@ -32,6 +32,9 @@
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
>
<h1
class=
"panel-title"
>
Videos
</h1>
{% if ismod() %}
<a
class=
"btn btn-default"
style=
"margin-right: 5px;"
href=
"todo"
>
Neuer Termin
</a>
{% endif %}
</div>
<ul
class=
"list-group lectureslist"
>
{% for l in lectures %}
...
...
templates/videos.html
View file @
2dd289c0
...
...
@@ -3,6 +3,9 @@
{% block content %}
<div
class=
"row"
>
<div
class=
"col-xs-12 dropdown"
style=
"margin-bottom: 10px;"
>
<span
class=
"pull-right"
>
{% if ismod() %}
<a
class=
"btn btn-default"
style=
"margin-right: 5px;"
href=
"todo"
>
Neue Veranstaltung
</a>
{% endif %}
<button
class=
"btn btn-primary dropdown-toggle pull-right"
type=
"button"
data-toggle=
"dropdown"
>
Gruppierung
<span
class=
"caret"
></span></button>
<ul
class=
"dropdown-menu dropdown-menu-right"
>
...
...
@@ -10,6 +13,7 @@
<li><a
href=
"?groupedby=title"
>
Veranstaltungen
</a></li>
<li><a
href=
"?groupedby=organizer"
>
Dozenten
</a></li>
</ul>
</span>
</div>
</div>
{% for g in courses|groupby(groupedby)|reverse %}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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