forked from DGNum/gestioCOF
registration est cassé
This commit is contained in:
parent
3cd618e60d
commit
34830f897e
|
@ -799,36 +799,85 @@ input[type="text"], input[type=password] {
|
||||||
|
|
||||||
input#search_autocomplete {
|
input#search_autocomplete {
|
||||||
width: 600px;
|
width: 600px;
|
||||||
font-size: 14px;
|
font-size: 18px;
|
||||||
height: 20px;
|
height: 40px;
|
||||||
padding: 10px 8px;
|
padding: 10px 8px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
margin-top: 20px;
|
||||||
display: block;
|
display: block;
|
||||||
color: #aaa;
|
color: #aaa;
|
||||||
}
|
}
|
||||||
|
|
||||||
input#search_autocomplete:focus {
|
input#search_autocomplete:focus {
|
||||||
font-size: 18px;
|
|
||||||
color: #343a4a;
|
color: #343a4a;
|
||||||
}
|
}
|
||||||
|
|
||||||
.autocomplete {margin-bottom:5px;}
|
.autocomplete {
|
||||||
.yourlabs-autocomplete ul {list-style-type: none; padding: 0; margin: 0; font-size: 1.5em;}
|
margin-bottom:5px;
|
||||||
.yourlabs-autocomplete li {padding: 6px 5px; display: block;}
|
}
|
||||||
.yourlabs-autocomplete li a {text-decoration: none;}
|
|
||||||
.yourlabs-autocomplete li a span.highlight {text-decoration: underline; font-weight: bold;}
|
.yourlabs-autocomplete ul {
|
||||||
.yourlabs-autocomplete li.autocomplete-header {background-color: #FFEF9E; padding: 3px 5px; color: #000;}
|
list-style-type: none;
|
||||||
.yourlabs-autocomplete li.autocomplete-value {cursor: pointer;}
|
padding: 0;
|
||||||
.yourlabs-autocomplete li.hilight {background-color: #EA4839; color: #FFF; }
|
margin: 0;
|
||||||
|
font-size: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yourlabs-autocomplete li {
|
||||||
|
padding: 6px 5px;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yourlabs-autocomplete li a {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yourlabs-autocomplete li a span.highlight {
|
||||||
|
text-decoration: underline;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yourlabs-autocomplete li.autocomplete-header {
|
||||||
|
background-color: #FFEF9E;
|
||||||
|
padding: 3px 5px;
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yourlabs-autocomplete li.autocomplete-value {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yourlabs-autocomplete li.hilight {
|
||||||
|
background-color: #EA4839;
|
||||||
|
color: #FFF;
|
||||||
|
}
|
||||||
|
|
||||||
.yourlabs-autocomplete li.hilight a {color: #FFF; }
|
.yourlabs-autocomplete li.hilight a {color: #FFF; }
|
||||||
.yourlabs-autocomplete { border: none; background: none; }
|
.yourlabs-autocomplete { border: none; background: none; }
|
||||||
.yourlabs-autocomplete.outer-container { position: relative; }
|
.yourlabs-autocomplete.outer-container { position: relative; }
|
||||||
.yourlabs-autocomplete.inner-container { position: absolute; left: -1px; top: 2px; border: 1px solid #B7B7B7; width: 618px; background: #fff; }
|
|
||||||
.yourlabs-autocomplete.inner-container { margin: 0; padding: 0; overflow-x: hidden; overflow-y: auto; position: relative; list-style-type: none; }
|
.yourlabs-autocomplete.inner-container {
|
||||||
|
position: absolute;
|
||||||
|
left: -1px;
|
||||||
|
top: 2px;
|
||||||
|
border: 1px solid #B7B7B7;
|
||||||
|
width: 618px;
|
||||||
|
background: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yourlabs-autocomplete.inner-container {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
overflow-x: hidden;
|
||||||
|
overflow-y: auto;
|
||||||
|
position: relative;
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
border-color : #D4D6C8;
|
border-color : #D4D6C8;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
hr {
|
hr {
|
||||||
border: 0;
|
border: 0;
|
||||||
|
|
|
@ -55,7 +55,6 @@
|
||||||
|
|
||||||
<li><a href="{% url "gestioncof.views.profile" %}">Éditer mon profil</a></li>
|
<li><a href="{% url "gestioncof.views.profile" %}">Éditer mon profil</a></li>
|
||||||
{% if not user.profile.login_clipper %}<li><a href="{% url "django.contrib.auth.views.password_change" %}">Changer mon mot de passe</a></li>{% endif %}
|
{% if not user.profile.login_clipper %}<li><a href="{% url "django.contrib.auth.views.password_change" %}">Changer mon mot de passe</a></li>{% endif %}
|
||||||
<li><a href="{% url "gestioncof.views.logout" %}">Se déconnecter</a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
{% if login_clipper %}<h3>Inscription associée au compte clipper <tt>{{ login_clipper }}</tt></h3>
|
{% if login_clipper %}
|
||||||
{% elif member %}<h3>Inscription du compte GestioCOF existant <tt>{{ member.username }}</tt></h3>
|
<h3>Inscription associée au compte clipper <tt>{{ login_clipper }}</tt></h3>
|
||||||
{% else %}<h3>Inscription d'un nouveau compte (extérieur ?)</h3>{% endif %}
|
{% elif member %}
|
||||||
|
<h3>Inscription du compte GestioCOF existant <tt>{{ member.username }}</tt></h3>
|
||||||
|
{% else %}
|
||||||
|
<h3>Inscription d'un nouveau compte (extérieur ?)</h3>
|
||||||
|
{% endif %}
|
||||||
<form id="profile" method="post" action="{% url 'gestioncof.views.registration' %}">
|
<form id="profile" method="post" action="{% url 'gestioncof.views.registration' %}">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<table>
|
<table>
|
||||||
|
@ -16,6 +20,8 @@
|
||||||
</table>
|
</table>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if login_clipper or member %}<input type="hidden" name="user_exists" value="1" />{% endif %}
|
{% if login_clipper or member %}
|
||||||
|
<input type="hidden" name="user_exists" value="1" />
|
||||||
|
{% endif %}
|
||||||
<input type="submit" class="btn-submit" value="Enregistrer l'inscription" />
|
<input type="submit" class="btn-submit" value="Enregistrer l'inscription" />
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in a new issue