Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Video AG Infrastruktur
website
Commits
62e2f6b4
Commit
62e2f6b4
authored
Feb 16, 2017
by
Julian Rother
Browse files
Auto-collapse "Zeitlos"-panel for xs, closes
#222
parent
f9123172
Changes
2
Hide whitespace changes
Inline
Side-by-side
templates/base.html
View file @
62e2f6b4
...
...
@@ -109,7 +109,7 @@
{% if page_border == 0 %}
<div
class=
"col-xs-12"
>
{% else %}
<div
class=
"col-xs-12 col-md-offset-{{ page_border }} col-md-{{ 12-(2*page_border) }}"
>
<div
id=
"content-col"
class=
"col-xs-12 col-md-offset-{{ page_border }} col-md-{{ 12-(2*page_border) }}"
>
{% endif %}
{% for msg in get_flashed_messages() %}
<div
class=
"hidden-print alert alert-danger"
role=
"alert"
>
{{ msg|safe }}
</div>
...
...
templates/courses.html
View file @
62e2f6b4
...
...
@@ -57,4 +57,9 @@
</div></div>
</div>
{% endfor %}
<script>
if
(
$
(
"
#content-col
"
).
css
(
"
margin-left
"
)
==
"
0px
"
)
{
$
(
"
#zeitlos
"
).
removeClass
(
'
in
'
)
}
</script>
{% endblock %}
Andreas Valder
@andreasv
·
Feb 16, 2017
Owner
das ist aber schon ziemlich ekelhaft...
das ist aber schon ziemlich ekelhaft...
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