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
c75f95c3
Commit
c75f95c3
authored
Feb 16, 2017
by
Julian Rother
Browse files
Replaced auto-collapse hack with another hack (
#222
)
parent
62e2f6b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
templates/base.html
View file @
c75f95c3
...
...
@@ -109,7 +109,7 @@
{% if page_border == 0 %}
<div
class=
"col-xs-12"
>
{% else %}
<div
id=
"content-col"
class=
"col-xs-12 col-md-offset-{{ page_border }} col-md-{{ 12-(2*page_border) }}"
>
<div
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 @
c75f95c3
...
...
@@ -56,10 +56,11 @@
</ul>
</div></div>
</div>
{% endfor %}
<div
class=
"visible-xs"
id=
"xs-check"
></div>
<script>
if
(
$
(
"
#
content-col
"
).
cs
s
(
"
margin-left
"
)
==
"
0px
"
)
{
if
(
$
(
"
#
xs-check
"
).
i
s
(
"
:visible
"
)
)
{
$
(
"
#zeitlos
"
).
removeClass
(
'
in
'
)
}
</script>
{% endfor %}
{% endblock %}
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