Add CSS class for local Sones.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 26 Oct 2010 21:15:47 +0000 (23:15 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 26 Oct 2010 21:15:47 +0000 (23:15 +0200)
src/main/resources/static/css/sone.css
src/main/resources/templates/include/viewSone.html

index 5c83091..b44561d 100644 (file)
@@ -266,6 +266,10 @@ textarea {
        padding: 0.5ex;
 }
 
+#sone .sone.local {
+       background-color: #f0fff0;
+}
+
 #sone .sone .id {
        display: none;
 }
index f2c51f7..2a0f59e 100644 (file)
@@ -1,4 +1,4 @@
-<div class="sone <% sone.status|html><%if sone.modified> modified<%/if> <% sone.id|html>">
+<div class="sone <% sone.status|html><%if sone.modified> modified<%/if> <% sone.id|html><%if sone.local> local<%/if>">
        <div class="id"><% sone.id|html></div>
        <div class="unknown-marker" title="<%= View.Sone.Status.Unknown|l10n|html>">?</div>
        <div class="modified-marker" title="<%= View.Sone.Status.Modified|l10n|html>">!</div>