# HG changeset patch # User RogerHaase # Date 1413731280 25200 # Node ID f5b310b4dcd1bb47722097d8e7ab3b0ea9b1af63 # Parent caf95e12acbbd8a840f5261f222ea1b34c14c9fa# Parent 444633f11059207c80e46f27489d5da19fcc27fd merge diff -r 444633f11059 -r f5b310b4dcd1 MoinMoin/templates/global_history.html --- a/MoinMoin/templates/global_history.html Sun Oct 19 02:52:34 2014 +0200 +++ b/MoinMoin/templates/global_history.html Sun Oct 19 08:08:00 2014 -0700 @@ -1,6 +1,14 @@ {% extends theme("layout.html") %} {% import "utils.html" as utils %} +{# map meta.action to font awesome classes #} +{% set awesome_class = { + 'REVERT': 'fa fa-undo', + 'SAVE': 'fa fa-save', + 'RENAME': 'fa fa-pencil-square-o', + 'TRASH': 'fa fa-trash-o', +} %} + {% block head %} {{ super() }} @@ -25,7 +33,7 @@ {% set meta = rev.meta %} - + HIST diff -r 444633f11059 -r f5b310b4dcd1 MoinMoin/templates/ticket/base.html --- a/MoinMoin/templates/ticket/base.html Sun Oct 19 02:52:34 2014 +0200 +++ b/MoinMoin/templates/ticket/base.html Sun Oct 19 08:08:00 2014 -0700 @@ -54,7 +54,7 @@ @@ -149,19 +149,19 @@ {% if user.name -%} {% set wiki_href, aliasname, title, exists = theme_supp.userhome() %}
  • - {{ hyperlink(wiki_href, title, exists, aliasname, "icon-user icon-white", None) }} + {{ hyperlink(wiki_href, title, exists, aliasname, "fa fa-user fa-inverse", None) }}
  • {% if 'frontend.usersettings' not in cfg.endpoints_excluded -%}
  • {{ hyperlink(url_for('frontend.usersettings'), None, True, - _('Settings'), "icon-cog icon-white", None) }} + _('Settings'), "fa fa-cog fa-inverse", None) }}
  • {%- endif %} {%- endif %} {% if user.auth_method in cfg.auth_can_logout %}
  • {{ hyperlink(url_for('frontend.logout', logout_submit=1), None, True, - _('Logout'), "icon-off icon-white", None) }} + _('Logout'), "fa fa-sign-out fa-inverse", None) }}
  • {% endif %} {% else %} @@ -193,14 +193,13 @@ class="{% if err %}moin-badinterwiki{% else %}moin-interwiki{% endif %}"> {{ fqname|shorten_fqname }} - {%- else -%} {{ fqname|shorten_fqname }} - {%- endif %} +
      {% for fq_name in theme_supp.get_fqnames(fqname) -%}
    • diff -r 444633f11059 -r f5b310b4dcd1 MoinMoin/themes/basic/templates/show.html --- a/MoinMoin/themes/basic/templates/show.html Sun Oct 19 02:52:34 2014 +0200 +++ b/MoinMoin/themes/basic/templates/show.html Sun Oct 19 08:08:00 2014 -0700 @@ -49,7 +49,7 @@ data-toggle="button" title="Show Comments"> - + Comments @@ -58,7 +58,7 @@ data-toggle="button" title="Show Transclusions"> - + Transclusions diff -r 444633f11059 -r f5b310b4dcd1 MoinMoin/themes/basic/templates/usersettings_forms.html --- a/MoinMoin/themes/basic/templates/usersettings_forms.html Sun Oct 19 02:52:34 2014 +0200 +++ b/MoinMoin/themes/basic/templates/usersettings_forms.html Sun Oct 19 08:08:00 2014 -0700 @@ -71,7 +71,7 @@ {{ gen.label(form['email']) }}
      {{ gen.input(form['email'], type="email", class="form-control") }} - +
      {{ forms.render_hidden('part', 'notification') }} diff -r 444633f11059 -r f5b310b4dcd1 MoinMoin/themes/modernized/static/css/msie.css --- a/MoinMoin/themes/modernized/static/css/msie.css Sun Oct 19 02:52:34 2014 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,44 +0,0 @@ -/* msie.css - MoinMoin MS Internet explorer bug workarounds - - Copyright: 2003 MoinMoin:JuergenHermann - Copyright: 2010 MoinMoin:RogerHaase - License: GNU GPL v2 or later, see COPYING for details. -*/ - -/* IE6 and IE7 both suck with :before */ -a.www { padding-left: 19px; background: url(../img/moin-www.png) left center no-repeat; } -a.http { padding-left: 19px; background: url(../img/moin-www.png) left center no-repeat; } -a.https { padding-left: 19px; background: url(../img/moin-www.png) left center no-repeat; } -a.file { padding-left: 19px; background: url(../img/moin-ftp.png) left center no-repeat; } -a.ftp { padding-left: 19px; background: url(../img/moin-ftp.png) left center no-repeat; } -a.nntp { padding-left: 19px; background: url(../img/moin-news.png) left center no-repeat; } -a.news { padding-left: 19px; background: url(../img/moin-news.png) left center no-repeat; } -a.telnet, a.ssh { padding-left: 19px; background: url(../img/moin-telnet.png) left center no-repeat; } -a.irc, a.ircs { padding-left: 19px; background: url(../img/moin-telnet.png) left center no-repeat; } -a.mailto { padding-left: 19px; background: url(../img/moin-email.png) left center no-repeat; } -a.attachment { padding-left: 19px; background: url(../img/moin-attach.png) left center no-repeat; } -a.badinterwiki { padding-left: 19px; background: url(../img/moin-inter.png) left center no-repeat; } -a.interwiki { padding-left: 19px; background: url(../img/moin-inter.png) left center no-repeat; } -#message .warning { padding-left: 21px; background: url(../img/alert.png) left center no-repeat; } -#message .error { padding-left: 21px; background: url(../img/icon-error.png) left center no-repeat; } - -#moin-pagetrail li, #moin-pagelocation li { - border-left: 1px solid #AAA; - padding: 0 0.3em; -} - -/* Spans for line-anchors - needed for IE6 and IE7 where omitting the "display: none" triggers rendering bugs. */ -span.anchor { display: none; } - -/* Some * html hacks for IE6 and below only (IE7 ignores * html) */ - -/* IE6 has a bug with rendering of float elements. We workaround this bug by - * assigning those elements a height attribute because we currently don't know - * a better solution. This results in IE calculating the correct height of the - * characters and displaying them correctly. We don't know any negative side - * effects of this workaround: - */ -* html div#moin-page, * html div#moin-header { height: 0.001%; } - -/* avoid a gap between navibar and pageline on IE7 */ -#moin-navibar { zoom: 1; } diff -r 444633f11059 -r f5b310b4dcd1 MoinMoin/themes/modernized/static/css/stylus/theme.styl --- a/MoinMoin/themes/modernized/static/css/stylus/theme.styl Sun Oct 19 02:52:34 2014 +0200 +++ b/MoinMoin/themes/modernized/static/css/stylus/theme.styl Sun Oct 19 08:08:00 2014 -0700 @@ -610,18 +610,6 @@ border none width 100% -.moin-history-save:before - content url('../img/moin-edit.png') - -.moin-history-trash:before - content url('../img/moin-deleted.png') - -.moin-history-rename:before - content url('../img/moin-renamed.png') - -.moin-history-copy:before - content url('../img/moin-new.png') - .moin-history-links width 5% diff -r 444633f11059 -r f5b310b4dcd1 MoinMoin/themes/modernized/static/css/theme.css --- a/MoinMoin/themes/modernized/static/css/theme.css Sun Oct 19 02:52:34 2014 +0200 +++ b/MoinMoin/themes/modernized/static/css/theme.css Sun Oct 19 08:08:00 2014 -0700 @@ -426,10 +426,6 @@ .moin-history-container-header a.bookmark-link{margin-left:10px;color:#fff} .moin-history-container-body{margin:0;padding:0;font-size:1.2em;} .moin-history-container-body table{margin:0;border:none;width:100%} -.moin-history-save:before{content:url("../img/moin-edit.png")} -.moin-history-trash:before{content:url("../img/moin-deleted.png")} -.moin-history-rename:before{content:url("../img/moin-renamed.png")} -.moin-history-copy:before{content:url("../img/moin-new.png")} .moin-history-links{width:5%} .moin-history-links a{display:block;margin-bottom:4px} .moin-history-editortext,.moin-history-links span,.moin-history-comment span{color:#000;display:block;margin-bottom:5px} diff -r 444633f11059 -r f5b310b4dcd1 MoinMoin/themes/modernized/static/img/moin-deleted.png Binary file MoinMoin/themes/modernized/static/img/moin-deleted.png has changed diff -r 444633f11059 -r f5b310b4dcd1 MoinMoin/themes/modernized/static/img/moin-edit.png Binary file MoinMoin/themes/modernized/static/img/moin-edit.png has changed diff -r 444633f11059 -r f5b310b4dcd1 MoinMoin/themes/modernized/static/img/moin-new.png Binary file MoinMoin/themes/modernized/static/img/moin-new.png has changed diff -r 444633f11059 -r f5b310b4dcd1 MoinMoin/themes/modernized/static/img/moin-renamed.png Binary file MoinMoin/themes/modernized/static/img/moin-renamed.png has changed diff -r 444633f11059 -r f5b310b4dcd1 setup.py --- a/setup.py Sun Oct 19 02:52:34 2014 +0200 +++ b/setup.py Sun Oct 19 08:08:00 2014 -0700 @@ -101,7 +101,7 @@ 'passlib>=1.6.0', # strong password hashing (1.6 needed for consteq) 'XStatic>=0.0.2', # support for static file pypi packages 'XStatic-Bootstrap==3.1.1.2', - 'XStatic-Font-Awesome==3.2.1.1', # see issue #443 + 'XStatic-Font-Awesome>=4.1.0.0', 'XStatic-CKEditor>=3.6.1.2', 'XStatic-autosize', 'XStatic-jQuery>=1.8.2',