From bb8d5f1c16f94bd6d2bb898d2bb38d270fdca061 Mon Sep 17 00:00:00 2001 From: Martin Mahner Date: Sat, 14 Apr 2012 20:40:34 +0200 Subject: [PATCH] Even better list --- pastebin/apps/dpaste/templates/dpaste/snippet_list.html | 2 +- pastebin/static/theme.css | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/pastebin/apps/dpaste/templates/dpaste/snippet_list.html b/pastebin/apps/dpaste/templates/dpaste/snippet_list.html index 4b01def..566d06a 100644 --- a/pastebin/apps/dpaste/templates/dpaste/snippet_list.html +++ b/pastebin/apps/dpaste/templates/dpaste/snippet_list.html @@ -10,7 +10,7 @@ {% block content %} {% if snippet_list %} {% for snippet in snippet_list %} -

+

{{ snippet.published|timesince }} ago diff --git a/pastebin/static/theme.css b/pastebin/static/theme.css index 99484d0..bea17cf 100644 --- a/pastebin/static/theme.css +++ b/pastebin/static/theme.css @@ -102,6 +102,13 @@ div.hint{ line-height: 1.6em; } +#content h2.divider{ + font-size: 1em; + padding: 5px 20px; + background-color: #f8f8f8; + margin: 40px 0 20px 0; +} + #content h2 span{ font-weight: normal; }