registration presque réparé

This commit is contained in:
Qwann 2016-07-26 20:19:34 +02:00
parent 34830f897e
commit 29a97230ac
4 changed files with 12 additions and 5 deletions

View file

@ -750,6 +750,15 @@ header h2 {
}
}
.hidden-xxs {
display: none;
}
@media (min-width: 480px) {
.hidden-xxs {
display: inline;
}
}
.secondary {
float:right;
}

View file

@ -6,15 +6,12 @@
<title>{{ site.name }}</title>
<link type="text/css" rel="stylesheet" href="{% static "css/bootstrap.min.css" %}" />
<link type="text/css" rel="stylesheet" href="{% static "css/cof.css" %}" />
<link href="https://fonts.googleapis.com/css?family=Dosis|Dosis:700|Raleway|Roboto:300,300i,700" rel="stylesheet">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
{% block extra_head %}{% endblock %}
</head>
<body>
{% block content %}{% endblock %}
</body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src=" {% static "js/bootstrap.min.js" %}"></script>
<link href="https://fonts.googleapis.com/css?family=Dosis|Dosis:700|Raleway|Roboto:300,300i,700" rel="stylesheet">
</html>

View file

@ -10,7 +10,7 @@
{% endblock %}
</a>
<div class="secondary">
<span class="hidden-xs">&nbsp;&nbsp;|&nbsp; </span>
<span class="hidden-xxs">&nbsp;&nbsp;|&nbsp; </span>
<span>Se déconnecter&nbsp;<span class="glyphicon glyphicon-log-out"></span></span>
</div>
<h2 class="member-status">{% if user.first_name %}{{ user.first_name }}{% else %}<tt>{{ user.username }}</tt>{% endif %}, {% if user.profile.is_cof %}<tt class="user-is-cof">au COF{% else %}<tt class="user-is-not-cof">non-COF{% endif %}</tt></h2>

View file

@ -12,6 +12,7 @@
<div id="form-placeholder"></div>
<span class="yourlabs-autocomplete"></span>
<script type="text/javascript">
// On attend que la page soit prête pour executer le code
$(document).ready(function() {
$('input#search_autocomplete').yourlabsAutocomplete({
url: '{% url 'gestioncof.autocomplete.autocomplete' %}',