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
panikdb
Commits
cf39276e
Commit
cf39276e
authored
Sep 23, 2013
by
fred
Browse files
arrange home to have clearer separations between sections
parent
8bd428a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
panikdb/static/css/style.css
View file @
cf39276e
...
...
@@ -164,11 +164,29 @@ div#content h2 a:hover {
text-decoration
:
underline
;
}
div
#content
h3
{
margin-top
:
0
;
font-weight
:
normal
;
color
:
#656551
;
font-size
:
18px
;
letter-spacing
:
-1px
;
line-height
:
25px
;
margin-bottom
:
20px
;
}
div
#content
ul
{
line-height
:
1.5em
;
padding
:
1ex
2ex
1ex
3ex
;
}
div
.newsitems
hr
,
div
.emission
hr
{
clear
:
both
;
border-bottom
:
1px
solid
#888
;
margin
:
10px
auto
20px
auto
;
width
:
80%
;
}
#footer
{
font-size
:
70%
;
...
...
panikdb/templates/home.html
View file @
cf39276e
...
...
@@ -15,9 +15,11 @@
{% endblock %}
{% block content %}
<h2>
Émissions
</h2>
{% for emission in emissions %}
<div
class=
"emission"
>
<h
2
><a
href=
"{% url 'emission-view' slug=emission.slug %}"
>
{{ emission.title }}
</a></h
2
>
<h
3
><a
href=
"{% url 'emission-view' slug=emission.slug %}"
>
{{ emission.title }}
</a></h
3
>
<a
class=
"big-friendly-button"
href=
"{% url 'episode-add' emission_slug=emission.slug %}"
>
Ajouter un épisode
</a>
...
...
@@ -56,12 +58,14 @@ Aucune actu.
</div>
<!-- .two-columns -->
<hr/>
</div>
{% endfor %}
{% for news_category in news_categories %}
<h2>
{{ news_category.title }}
</h2>
<div
class=
"newsitems"
>
<h3>
Actu : {{ news_category.title }}
</h3>
<a
class=
"big-friendly-button"
href=
"{% url 'newsitem-add' slug=news_category.slug %}"
>
Ajouter une actu
</a>
...
...
@@ -74,7 +78,8 @@ Aucune actu.
Aucune actu.
{% endfor %}
</ul>
<hr/>
</div>
{% endfor %}
{% endblock %}
...
...
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