changeset 2753:37cf0c227a6e

Added title to icons in global history view and added padding under date titles
author Ajitesh Gupta <ajgupta93@gmail.com>
date Mon, 18 Aug 2014 19:38:06 +0530
parents dd6783198978
children a43e5f300ff7
files MoinMoin/templates/global_history.html MoinMoin/themes/basic/static/css/theme.css MoinMoin/themes/basic/static/custom-less/theme.less
diffstat 3 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/global_history.html	Mon Aug 18 19:12:09 2014 +0530
+++ b/MoinMoin/templates/global_history.html	Mon Aug 18 19:38:06 2014 +0530
@@ -25,7 +25,7 @@
                         {% set meta = rev.meta %}
                         <tr>
                             <td class="moin-action col-md-1">
-                                <span class="moin-history-{{ meta.action|lower }}"></span>
+                                <span title="{{ meta.action|title }}" class="moin-history-{{ meta.action|lower }}"></span>
                             </td>
                             <td class="moin-history-links col-md-1">
                                 <a href="{{ url_for('frontend.history', item_name=rev.fqname, bookmark=bookmark_time) }}">HIST</a>
--- a/MoinMoin/themes/basic/static/css/theme.css	Mon Aug 18 19:12:09 2014 +0530
+++ b/MoinMoin/themes/basic/static/css/theme.css	Mon Aug 18 19:38:06 2014 +0530
@@ -7067,6 +7067,9 @@
 .moin-history-revert:before {
   content: url("../img/moin-revert.png");
 }
+.moin-history-container-header {
+  margin-bottom: 5px;
+}
 .moin-history-container-header > h2 {
   display: inline;
 }
--- a/MoinMoin/themes/basic/static/custom-less/theme.less	Mon Aug 18 19:12:09 2014 +0530
+++ b/MoinMoin/themes/basic/static/custom-less/theme.less	Mon Aug 18 19:38:06 2014 +0530
@@ -791,6 +791,7 @@
   content: url("../img/moin-revert.png");
 }
 .moin-history-container-header {
+  margin-bottom: 5px;
   > h2 {
     display: inline;
   }