fix cardinal-5 description
authorJulien Moutinho <julm+cavote@autogeree.net>
Fri, 17 Oct 2014 10:47:01 +0000 (12:47 +0200)
committerJulien Moutinho <julm+cavote@autogeree.net>
Fri, 17 Oct 2014 10:47:01 +0000 (12:47 +0200)
settings.py.example
static/css/cavote.css

index bdbc83d..e72ab2c 100644 (file)
@@ -10,26 +10,26 @@ EMAIL = '"' + TITLE + '"' + ' <' + u"contact+cavote@localhost.localdomain" + '>'
 VERSION = "cavote 0.4.0"
 SMTP_SERVER = "127.0.0.1"
 PATTERNS = \
 VERSION = "cavote 0.4.0"
 SMTP_SERVER = "127.0.0.1"
 PATTERNS = \
- { u'Oui/Non': [u'Oui', u'Non'] \
+ { u'Validation': [u'Validation'] \
  }
 CARDINALS = \
  }
 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'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 = \
  ]
 QUORUMS = \
- [ 0
- , 0.1
- , 0.25
- , 0.333
- , 0.5
- , 0.666
- , 0.75
+ [ 1
  , 0.9
  , 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'
  ]
 BABEL_DEFAULT_LOCALE = 'fr'
 BABEL_DEFAULT_TIMEZONE = 'Europe/Paris'
index 1c7a21a..09cef79 100644 (file)
     fill:#DB4343;
  }
 .results .value_-2__Hostile_et_sans_moi_ + text {
     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;
  }
     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__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;
  }
     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;
 .cardinal-5 .value__2__Favorable_et_avec_moi_ {
     background-color:#20B756 !important;
     fill:#20B756;