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
5420ce59
Commit
5420ce59
authored
Oct 16, 2016
by
Andreas Valder
Browse files
made the website less broken on phones. closes #141
parent
5971ec11
Changes
3
Hide whitespace changes
Inline
Side-by-side
static/style.css
View file @
5420ce59
...
...
@@ -6,10 +6,24 @@
}
.table-top-aligned
tr
{
vertical-align
:
top
;
}
.footer
{
position
:
fixed
;
bottom
:
0
;
width
:
100%
;
height
:
30px
;
background-color
:
#f5f5f5
;
@media
(
min-width
:
768px
)
{
.footer
{
position
:
fixed
;
bottom
:
0
;
width
:
100%
;
height
:
30px
;
background-color
:
#f5f5f5
;
}
}
@media
(
max-width
:
767px
)
{
.footer
{
position
:
relative
;
margin-top
:
-80px
;
/* negative value of footer height */
height
:
80px
;
clear
:
both
;
padding-top
:
20px
;
background-color
:
#f5f5f5
;
}
}
templates/lecture.html
View file @
5420ce59
...
...
@@ -23,10 +23,8 @@
</div>
<div
class=
"panel-body"
>
<div
class=
"row"
style=
"padding: 0px;"
>
<div
class=
"
col-sm-6
col-xs-12"
style=
"padding-bottom: 5px;"
>
<div
class=
"col-xs-12"
style=
"padding-bottom: 5px;"
>
<a
href=
"{{url_for('course', handle=course.handle)}}#lecture-{{lecture.id}}"
class=
"btn btn-default"
>
Zur Veranstaltungsseite
</a>
</div>
<div
class=
"col-sm-6 col-xs-12"
>
<ul
class=
"list-inline pull-right"
>
<li><button
class=
"btn btn-default"
id=
"hintnewchapter"
>
Kapitelmarker vorschlagen
</button></li>
<li>
{{ video_embed_btn(lecture.id) }}
</li>
...
...
templates/macros.html
View file @
5420ce59
...
...
@@ -119,7 +119,7 @@ $('#embedcodebtn').popover(
{% macro lecture_list_item(lecture,videos,global_permissions) %}
<li
class=
"list-group-item"
id=
"lecture-{{lecture.id}}"
>
<div
class=
"row"
>
<img
class=
"col-sm-2 col-xs-12"
src=
"{{ config.VIDEOPREFIX }}/{{lecture.titlefile}}"
alt=
"Vorschaubild"
onerror=
"this.src='{{url_for('static',filename='no-thumbnail.png')}}'; this.onerror=''; "
>
<img
style=
"margin-bottom: 10px"
class=
"col-sm-2 col-xs-12"
src=
"{{ config.VIDEOPREFIX }}/{{lecture.titlefile}}"
alt=
"Vorschaubild"
onerror=
"this.src='{{url_for('static',filename='no-thumbnail.png')}}'; this.onerror=''; "
>
<span
class=
"col-sm-3 col-xs-12"
>
<ul
class=
"list-unstyled"
>
<li>
{{ moderator_editor(['lectures',lecture.id,'title'], lecture.title) }}
</li>
...
...
Andreas Valder
@andreasv
Mentioned in issue
#125 (closed)
·
Oct 16, 2016
Mentioned in issue
#125 (closed)
Mentioned in issue #125
Toggle commit list
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