From: Julien Moutinho Date: Fri, 17 Oct 2014 10:47:01 +0000 (+0200) Subject: fix cardinal-5 description X-Git-Url: http://git.cyclocoop.org/?p=cavote.git;a=commitdiff_plain;h=7ce620993c1f5b89f67affe7619b385d39abed17 fix cardinal-5 description --- diff --git a/settings.py.example b/settings.py.example index bdbc83d..e72ab2c 100644 --- a/settings.py.example +++ b/settings.py.example @@ -10,26 +10,26 @@ EMAIL = '"' + TITLE + '"' + ' <' + u"contact+cavote@localhost.localdomain" + '>' VERSION = "cavote 0.4.0" SMTP_SERVER = "127.0.0.1" PATTERNS = \ - { u'Oui/Non': [u'Oui', u'Non'] \ + { u'Validation': [u'Validation'] \ } CARDINALS = \ - [ (u'Sans moi/Avec moi' - , 0, [u'±0 (Sans moi)', u'+1 (Avec moi)']) \ + [ (u'Hostile et sans moi/Hostile mais avec moi/Indifférent/Favorable mais sans moi/Favorable et avec moi' + , -2, [u'-2 (Hostile et sans moi)', u'-1 (Hostile mais avec moi)', u'±0 (Indifférent)', u'+1 (Favorable mais sans moi)', u'+2 (Favorable et avec moi)']) \ , (u'Hostile/Indifférent/Favorable' , -1, [u'-1 (Hostile)', u'±0 (Indifférent)', u'+1 (Favorable)']) \ - , (u'Très Hostile/Hostile/Indifférent/Favorable/Très Favorable' - , -2, [u'-2 (Très Hostile)', u'-1 (Hostile)', u'±0 (Indifférent)', u'+1 (Favorable)', u'+2 (Très Favorable)']) \ + , (u'Sans moi/Avec moi' + , 0, [u'±0 (Sans moi)', u'+1 (Avec moi)']) \ ] QUORUMS = \ - [ 0 - , 0.1 - , 0.25 - , 0.333 - , 0.5 - , 0.666 - , 0.75 + [ 1 , 0.9 - , 1 + , 0.75 + , 0.666 + , 0.5 + , 0.333 + , 0.25 + , 0.1 + , 0 ] BABEL_DEFAULT_LOCALE = 'fr' BABEL_DEFAULT_TIMEZONE = 'Europe/Paris' diff --git a/static/css/cavote.css b/static/css/cavote.css index 1c7a21a..09cef79 100644 --- a/static/css/cavote.css +++ b/static/css/cavote.css @@ -107,20 +107,26 @@ fill:#DB4343; } .results .value_-2__Hostile_et_sans_moi_ + text { - font: 9px sans-serif; + font: 8px sans-serif; } -.cardinal-5 .value_-1__Hostile_ { +.cardinal-5 .value_-1__Hostile_mais_avec_moi_ { background-color:#E49F37 !important; fill:#E49F37; } +.results .value_-1__Hostile_mais_avec_moi_ + text { + font: 8px sans-serif; + } .cardinal-5 .value__0__Indiff_rent_ { background-color:#B4B4B4 !important; fill:#B4B4B4; } -.cardinal-5 .value__1__Favorable_ { +.cardinal-5 .value__1__Favorable_mais_sans_moi_ { background-color:#B1D039 !important; fill:#B1D039; } +.results .value__1__Favorable_mais_sans_moi_ + text { + font: 8px sans-serif; + } .cardinal-5 .value__2__Favorable_et_avec_moi_ { background-color:#20B756 !important; fill:#20B756;