mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 08:02:54 +11:00
Even better list
This commit is contained in:
parent
b5800e0091
commit
bb8d5f1c16
2 changed files with 8 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% if snippet_list %}
|
{% if snippet_list %}
|
||||||
{% for snippet in snippet_list %}
|
{% for snippet in snippet_list %}
|
||||||
<h2>
|
<h2 class="divider">
|
||||||
<a title="{{ snippet.published|date:_("DATETIME_FORMAT") }}" href="{{ snippet.get_absolute_url }}">
|
<a title="{{ snippet.published|date:_("DATETIME_FORMAT") }}" href="{{ snippet.get_absolute_url }}">
|
||||||
{{ snippet.published|timesince }} ago
|
{{ snippet.published|timesince }} ago
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -102,6 +102,13 @@ div.hint{
|
||||||
line-height: 1.6em;
|
line-height: 1.6em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#content h2.divider{
|
||||||
|
font-size: 1em;
|
||||||
|
padding: 5px 20px;
|
||||||
|
background-color: #f8f8f8;
|
||||||
|
margin: 40px 0 20px 0;
|
||||||
|
}
|
||||||
|
|
||||||
#content h2 span{
|
#content h2 span{
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue