notifications order, unseen css class

ping return notfications ordered by notification id
notifications list get seen/unseen class from ping xml
global.css define 'notify-unseen'
This commit is contained in:
Fabrixxm
2015-06-24 16:10:06 +02:00
parent bd3f29f266
commit e29d05ce4a
5 changed files with 34 additions and 31 deletions
+4 -1
View File
@@ -173,4 +173,7 @@ span.oembed, h4 {
/* fields help text */
.field .field_help {
clear: left;
}
}
/* notifications unseen */
.notify-unseen { background-color: #cceeFF; }
+1 -1
View File
@@ -109,7 +109,7 @@
</nav>
<ul id="nav-notifications-template" style="display:none;" rel="template">
<li><a href="{0}"><img data-src="{1}">{2} <span class="notif-when">{3}</span></a></li>
<li class="{4}"><a href="{0}"><img data-src="{1}">{2} <span class="notif-when">{3}</span></a></li>
</ul>
<div style="position: fixed; top: 3px; left: 5px; z-index:9999">{{$langselector}}</div>
+1 -1
View File
@@ -97,7 +97,7 @@
</nav>
<ul id="nav-notifications-template" style="display:none;" rel="template">
<li><a href="{0}"><img data-src="{1}">{2} <span class="notif-when">{3}</span></a></li>
<li class="{4}"><a href="{0}"><img data-src="{1}">{2} <span class="notif-when">{3}</span></a></li>
</ul>
<!--
<div class="icon-flag" style="position: fixed; bottom: 10px; left: 20px; z-index:9;">{{$langselector}}</div>