Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
radiopanik
panikweb
Commits
5dcab553
Commit
5dcab553
authored
Aug 15, 2013
by
Simon Daron
Browse files
Replacing bloc 'content' by bloc 'main' for whole page displays
parent
6963c479
Changes
5
Hide whitespace changes
Inline
Side-by-side
panikweb/views.py
View file @
5dcab553
...
...
@@ -162,7 +162,7 @@ class Player(TemplateView):
def
get_context_data
(
self
,
**
kwargs
):
context
=
super
(
Player
,
self
).
get_context_data
(
**
kwargs
)
#
context['emissions'] = Emission.objects.all().order_by('title')
context
[
'emissions'
]
=
Emission
.
objects
.
all
().
order_by
(
'title'
)
return
context
player
=
Player
.
as_view
()
panikweb_templates/static/css/style.less
View file @
5dcab553
...
...
@@ -216,13 +216,13 @@ body {
#player .symbol{
color: @orange;
font-size: @xxl;
line-height: 80%;
}
#player .direct .control {
font-size: @xxxl;
position:absolute;
left:
80px
;
left:
50%
;
top:30px;
margin-left:-@xxl/2;
}
#Home #player{
...
...
@@ -291,9 +291,12 @@ body {
min-height:60px;
margin:20px 0;
}
.
play
list
img {
#
play
er
img {
border: 2px solid @orange;
}
.direct img {
width:100%;
}
.playlist .item img{
float:left;
...
...
panikweb_templates/templates/grid.html
View file @
5dcab553
{% extends "base.html" %}
{% load paniktags %}
{% block
content
%}
{% block
main
%}
<style>
#grille
table
,
#grille
tr
,
#grille
td
{
...
...
panikweb_templates/templates/player/detail.html
View file @
5dcab553
...
...
@@ -29,7 +29,6 @@
<h5>
The croissant fertile
</h5>
<p>
The sound of the RCA electronic music synthesizer
</p>
</div>
<div
class=
"item"
>
<img
src=
"http://placehold.it/50X50"
/>
<h5>
The croissant fertile
</h5>
...
...
panikweb_templates/templates/program.html
View file @
5dcab553
{% extends "base.html" %}
{% block
content
%}
{% block
main
%}
<h2>
Programme
</h2>
...
...
Write
Preview
Markdown
is supported
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