# HG changeset patch # User Nicolas Chauvat # Date 1381838542 -7200 # Node ID 4894bb92558a86ffffb465e7d2eb7cd3fcfbdc74 # Parent fcce1ff81561e8f96a8024903f5405b510795b5a [web] remove action "Got Rhythm" (closes #3093362) diff -r fcce1ff81561 -r 4894bb92558a doc/3.18.rst --- a/doc/3.18.rst Mon Oct 07 10:22:21 2013 +0200 +++ b/doc/3.18.rst Tue Oct 15 14:02:22 2013 +0200 @@ -27,6 +27,10 @@ * ``ldapuser`` have been dropped; use ``ldapfeed`` now (see `#2936496 `_) +* action ``GotRhythm`` was removed, make sure you do not + import it in your cubes (even to unregister it) + (see `#3093362 `_) + * all 3.8 backward compat is gone * all 3.9 backward compat (including the javascript side) is gone diff -r fcce1ff81561 -r 4894bb92558a doc/tools/pyjsrest.py --- a/doc/tools/pyjsrest.py Mon Oct 07 10:22:21 2013 +0200 +++ b/doc/tools/pyjsrest.py Tue Oct 15 14:02:22 2013 +0200 @@ -136,7 +136,6 @@ 'cubicweb.preferences', 'cubicweb.edition', 'cubicweb.reledit', - 'cubicweb.rhythm', 'cubicweb.timeline-ext', ] diff -r fcce1ff81561 -r 4894bb92558a web/data/cubicweb.css --- a/web/data/cubicweb.css Mon Oct 07 10:22:21 2013 +0200 +++ b/web/data/cubicweb.css Tue Oct 15 14:02:22 2013 +0200 @@ -17,9 +17,6 @@ } h1, h2, h3 { margin-top:0; margin-bottom:0; } -/* got rhythm ? beat of 12*1.25 = 15 px */ -.rhythm_bg { background: url("%(baseRhythmBg)s") repeat ! important; } - h1, .vtitle { font-size: %(h1FontSize)s; @@ -297,7 +294,6 @@ div#pageContent { clear: both; - /* margin-top:-1px; *//* enable when testing rhythm */ background: %(pageContentBgColor)s; border: 1px solid %(pageContentBorderColor)s; padding: 0 %(pageContentPadding)s %(pageContentPadding)s; diff -r fcce1ff81561 -r 4894bb92558a web/data/cubicweb.rhythm.js --- a/web/data/cubicweb.rhythm.js Mon Oct 07 10:22:21 2013 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ -$(document).ready(function() { - $('a.rhythm').click(function (event){ - $('div#pageContent').toggleClass('rhythm_bg'); - $('div#page').toggleClass('rhythm_bg'); - event.preventDefault(); - }); -}); diff -r fcce1ff81561 -r 4894bb92558a web/data/rhythm15.png Binary file web/data/rhythm15.png has changed diff -r fcce1ff81561 -r 4894bb92558a web/data/rhythm18.png Binary file web/data/rhythm18.png has changed diff -r fcce1ff81561 -r 4894bb92558a web/data/rhythm20.png Binary file web/data/rhythm20.png has changed diff -r fcce1ff81561 -r 4894bb92558a web/data/rhythm22.png Binary file web/data/rhythm22.png has changed diff -r fcce1ff81561 -r 4894bb92558a web/data/rhythm24.png Binary file web/data/rhythm24.png has changed diff -r fcce1ff81561 -r 4894bb92558a web/data/rhythm26.png Binary file web/data/rhythm26.png has changed diff -r fcce1ff81561 -r 4894bb92558a web/data/uiprops.py --- a/web/data/uiprops.py Mon Oct 07 10:22:21 2013 +0200 +++ b/web/data/uiprops.py Tue Oct 15 14:02:22 2013 +0200 @@ -66,7 +66,6 @@ defaultSize = '12px' defaultLineHeight = '1.5' defaultLineHeightEm = lazystr('%(defaultLineHeight)sem') -baseRhythmBg = 'rhythm18.png' inputHeight = '1.3em' inputPadding = 'O.2em' diff -r fcce1ff81561 -r 4894bb92558a web/views/actions.py --- a/web/views/actions.py Mon Oct 07 10:22:21 2013 +0200 +++ b/web/views/actions.py Tue Oct 15 14:02:22 2013 +0200 @@ -419,22 +419,6 @@ def url(self): return 'http://www.cubicweb.org' -class GotRhythmAction(action.Action): - __regid__ = 'rhythm' - __select__ = debug_mode() - - category = 'footer' - order = 3 - title = _('Got rhythm?') - - def url(self): - return xml_escape(self._cw.url()+'#') - - def html_class(self): - self._cw.add_js('cubicweb.rhythm.js') - return 'rhythm' - - ## default actions ui configuration ########################################### addmenu = uicfg.actionbox_appearsin_addmenu