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
2b1b24ee
Commit
2b1b24ee
authored
Sep 02, 2013
by
Simon Daron
Browse files
Add news roll tpl
parent
c6da002d
Changes
2
Hide whitespace changes
Inline
Side-by-side
panikweb_templates/static/css/specifics.css
View file @
2b1b24ee
...
...
@@ -242,6 +242,7 @@ body{
border-bottom
:
1px
solid
#000
;
background
:
#003446
;
/*
background:#003446;
-moz-box-shadow: 0px 0px 100px rgb(0, 0, 0) inset;
-webkit-box-shadow: 0px 0px 100px rgb(0, 0, 0) inset;
box-shadow: 0px 0px 100px rgb(0, 0, 0) inset;
...
...
panikweb_templates/templates/news/roll.html
0 → 100644
View file @
2b1b24ee
{% load thumbnails %}
<div
class=
"newsRoll center wrapper"
>
<ul
class=
"custom distributed"
>
<li
class=
"title"
>
<h4
class=
"label vertical"
>
News
</h4>
</li>
{% for content in news %}
<li
class=
"{% if forloop.counter > 3 %}largeScreens{% endif %}"
>
<a
class=
"block news relative"
href=
"{% url 'news-view' slug=content.slug %}"
>
{% if content.image %}
<div
class=
"absolute"
>
<h5
class=
"title ellipsis"
>
{{content.title}}
</h5>
</div>
<img
class=
"logo"
src=
"{{ content.image|thumbnail:'240x320' }}"
/>
{% endif %}
</a>
</li>
{% endfor %}
</ul>
</div>
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