Index: applications/mobileblur/static/css/base.css ================================================================== --- applications/mobileblur/static/css/base.css +++ applications/mobileblur/static/css/base.css @@ -549,10 +549,24 @@ padding: .5%; padding-top: 0; border-top: 1px solid black; margin-top: .33%; } + +span.ps, span.nt, span.ng { + padding: .05em; + border-radius: 5px; +} +span.ps { + background-color: #35C030; +} +span.nt { + background-color: yellow; +} +span.ng { + background-color: red; +} footer { background-color: #cc0000; padding: 1%; border-top: 1px solid black; Index: applications/mobileblur/views/default/index.html ================================================================== --- applications/mobileblur/views/default/index.html +++ applications/mobileblur/views/default/index.html @@ -1,8 +1,8 @@ {{extend 'layout.html'}} {{ for feed in feeds.itervalues(): }} - {{ if threshold == -1 and feed["ng"] > 0: }} [ {{= feed["ng"] }} ] {{ pass }} - {{ if threshold <= 0 and feed["nt"] > 0: }} [ {{= feed["nt"] }} ] {{ pass }} - {{if feed["ps"] > 0: }}[ {{= feed["ps"] }} ] {{ pass }} + {{ if threshold == -1 and feed["ng"] > 0: }} {{= feed["ng"] }} {{ pass }} + {{ if threshold <= 0 and feed["nt"] > 0: }} {{= feed["nt"] }} {{ pass }} + {{if feed["ps"] > 0: }}{{= feed["ps"] }} {{ pass }} {{= feed["feed_title"] }}
{{ pass }} Index: applications/mobileblur/views/stories/view.html ================================================================== --- applications/mobileblur/views/stories/view.html +++ applications/mobileblur/views/stories/view.html @@ -1,10 +1,14 @@ {{extend 'layout.html'}} - -

{{= story["story_title"] }}

-
- - Mark story as read - - -{{= XML(story["story_content"]) }} +
+
+ + {{= story["story_title"] }} + +
+ + Mark story as read + + + {{= XML(story["story_content"]) }} +