diff --git a/kfet/static/kfet/css/index.css b/kfet/static/kfet/css/index.css index 886aa8ae..c7f44821 100644 --- a/kfet/static/kfet/css/index.css +++ b/kfet/static/kfet/css/index.css @@ -189,3 +189,72 @@ textarea { padding-left: 20px; font-size:25px; } + +/* + * Pages formulaires seuls + */ + +.form-only .content-form { + margin:15px; + + background:#fff; + + padding:15px; +} + +.form-only #id_trigramme { + display:block; + width:200px; + height:80px; + margin:0 auto 15px; + border:1px solid #ccc; + + font-size:70px; + + text-align:center; + text-transform:uppercase; +} + +/* + * Specific account create + */ + +.highlight_autocomplete { + font-weight:bold; + text-decoration:underline; +} + +#search_results { + top:0 !important; + left:0 !important; +} + +#search_results ul { + list-style-type:none; + padding:0; + background:rgba(255,255,255,0.8); +} + +#search_results ul li.user_category { + font-weight:bold; + background:#c8102e; + color:#fff; +} + +#search_results ul li a { + display:block; + padding:5px 20px; + height:100%; + width:100%; +} + +#search_results ul li a:hover { + background:rgba(200,16,46,0.9); + color:#fff; + text-decoration:none; +} + +#search_results ul li span.text { + display:block; + padding:5px 20px; +} diff --git a/kfet/templates/kfet/account_create.html b/kfet/templates/kfet/account_create.html index ef6bc4ff..f875ae4a 100644 --- a/kfet/templates/kfet/account_create.html +++ b/kfet/templates/kfet/account_create.html @@ -13,19 +13,31 @@ {% include 'kfet/base_messages.html' %} -
- {% csrf_token %} - {{ trigramme_form }} -
- -
-
- {% include 'kfet/account_create_form.html' %} +
+
+
+ + {% csrf_token %} +
+ {{ trigramme_form.trigramme.errors }} + {{ trigramme_form.trigramme }} +
+
+ +
+
+
+
+ {% include 'kfet/account_create_form.html' %} +
+ {% if not perms.kfet.add_account %} + Authentification: + + {% endif %} +
- {% if not perms.kfet.add_account %} - - {% endif %} - +
+