changeset 4530:27dc67382cf6

Improve buttons on on 'My Notifications' page (switch to small button class with a bit of padding, add padding around status icons)
author Na'Tosha Bard <natosha@unity3d.com>
date Fri, 19 Sep 2014 14:45:54 +0200
parents 869976dfb8c2
children b0774d79c7c9
files kallithea/templates/admin/notifications/notifications.html kallithea/templates/admin/notifications/notifications_data.html
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/templates/admin/notifications/notifications.html	Fri Sep 19 14:44:21 2014 +0200
+++ b/kallithea/templates/admin/notifications/notifications.html	Fri Sep 19 14:45:54 2014 +0200
@@ -24,13 +24,13 @@
     </div>
 
       <div style="padding:14px 18px;text-align: right;float:left">
-      <span id='all' class="btn btn-mini"><a href="${h.url.current()}">${_('All')}</a></span>
-      <span id='comment' class="btn btn-mini"><a href="${h.url.current(type=c.comment_type)}">${_('Comments')}</a></span>
-      <span id='pull_request' class="btn btn-mini"><a href="${h.url.current(type=c.pull_request_type)}">${_('Pull Requests')}</a></span>
+      <span id='all' class="btn btn-small"><a href="${h.url.current()}">${_('All')}</a></span>
+      <span id='comment' class="btn btn-small"><a href="${h.url.current(type=c.comment_type)}">${_('Comments')}</a></span>
+      <span id='pull_request' class="btn btn-small"><a href="${h.url.current(type=c.pull_request_type)}">${_('Pull Requests')}</a></span>
       </div>
       %if c.notifications:
       <div style="padding:14px 18px;text-align: right;float:right">
-      <span id='mark_all_read' class="btn btn-mini">${_('Mark All Read')}</span>
+      <span id='mark_all_read' class="btn btn-small">${_('Mark All Read')}</span>
       </div>
       %endif
   <div id='notification_data'>
--- a/kallithea/templates/admin/notifications/notifications_data.html	Fri Sep 19 14:44:21 2014 +0200
+++ b/kallithea/templates/admin/notifications/notifications_data.html	Fri Sep 19 14:45:54 2014 +0200
@@ -17,11 +17,11 @@
 
       </div>
       <div class="delete-notifications">
-        <span id="${notification.notification.notification_id}" class="delete-notification"><i class="icon-minus-sign" id="yui-gen24" style="color: #b94a48"></i></span>
+        <span id="${notification.notification.notification_id}" class="delete-notification"><i class="icon-minus-sign" id="yui-gen24" style="color: #b94a48; padding: 2px;"></i></span>
       </div>
       %if not notification.read:
       <div class="read-notifications">
-        <span id="${notification.notification.notification_id}" class="read-notification"><i class="icon-ok-sign" id="yui-gen24" style="color: #4CBB17"></i></span>
+        <span id="${notification.notification.notification_id}" class="read-notification"><i class="icon-ok-sign" id="yui-gen24" style="color: #4CBB17; padding: 2px;"></i></span>
       </div>
       %endif
     </div>