Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
panikdb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
radiopanik
panikdb
Commits
cf39276e
Commit
cf39276e
authored
Sep 23, 2013
by
fred
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arrange home to have clearer separations between sections
parent
8bd428a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
3 deletions
+26
-3
panikdb/static/css/style.css
panikdb/static/css/style.css
+18
-0
panikdb/templates/home.html
panikdb/templates/home.html
+8
-3
No files found.
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></h2
>
<h
3><a
href=
"{% url 'emission-view' slug=emission.slug %}"
>
{{ emission.title }}
</a></h3
>
<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