From 7e287db201b86febf1cfb825e5e3677ef59e6068 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 19 Oct 2010 09:01:46 +0200 Subject: [PATCH] Show markers for Sone statuses. --- src/main/resources/static/css/sone.css | 24 ++++++++++++++++++++++ src/main/resources/templates/include/viewSone.html | 6 +++++- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index 0ae0e32..cc94ce0 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -153,6 +153,30 @@ display: inline; } +#sone .sone .download-marker, #sone .sone .insert-marker, #sone .sone .idle-marker { + display: inline; +} + +#sone .sone.idle .download-marker, #sone .sone.idle .insert-marker { + display: none; +} + +#sone .sone.downloading .insert-marker, #sone .sone.downloading .idle-marker { + display: none; +} + +#sone .sone.inserting .download-marker, #sone .sone.inserting .idle-marker { + display: none; +} + +#sone .sone .modified-marker { + display: none; +} + +#sone .sone.modified .modified-marker { + display: inline; +} + #sone .sone .last-update { display: inline; } diff --git a/src/main/resources/templates/include/viewSone.html b/src/main/resources/templates/include/viewSone.html index a5debbc..868cd70 100644 --- a/src/main/resources/templates/include/viewSone.html +++ b/src/main/resources/templates/include/viewSone.html @@ -1,6 +1,10 @@ -
+
(<%= View.Sone.Label.LastUpdate|l10n|html> <% sone.time|date format="MMM d, yyyy, HH:mm:ss">)
+
!
+
⬊
+
⬈
+
<%ifnull ! currentSone> <%if ! sone.current> <%if sone.friend> -- 2.7.4