Commit dccc35c6 authored by Patrick's avatar Patrick

Css change for small devices

parent dce5a9d3
...@@ -8,7 +8,7 @@ msgstr "" ...@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: Repanier\n" "Project-Id-Version: Repanier\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-01 10:05+0200\n" "POT-Creation-Date: 2017-05-01 10:05+0200\n"
"PO-Revision-Date: 2017-05-01 10:06+0100\n" "PO-Revision-Date: 2017-05-01 18:15+0100\n"
"Last-Translator: Patrick Colmant <pcolmant@gmail.com>\n" "Last-Translator: Patrick Colmant <pcolmant@gmail.com>\n"
"Language-Team: Patrick Colmant <pcolmant@gmail.com>\n" "Language-Team: Patrick Colmant <pcolmant@gmail.com>\n"
"Language: fr\n" "Language: fr\n"
...@@ -3726,7 +3726,7 @@ msgstr "Mot de passe" ...@@ -3726,7 +3726,7 @@ msgstr "Mot de passe"
#: templates/repanier/registration/password_reset_form.html:2 #: templates/repanier/registration/password_reset_form.html:2
#: templates/repanier/registration/password_reset_form.html:9 #: templates/repanier/registration/password_reset_form.html:9
msgid "Password reset" msgid "Password reset"
msgstr "Réinitialisation du mot de passe" msgstr "Nouveau mot de passe"
#: templates/repanier/registration/password_change_done.html:3 #: templates/repanier/registration/password_change_done.html:3
#: templates/repanier/registration/password_change_form.html:4 #: templates/repanier/registration/password_change_form.html:4
......
...@@ -22,11 +22,11 @@ ...@@ -22,11 +22,11 @@
<div class="panel-group"> <div class="panel-group">
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-body"> <div class="panel-body">
<div class="col-xs-3"> <div class="col-sm-3">
<a href="{% url "login_form" %}?next={% url 'order_delivery_view' permanence.id delivery_id %}" class="btn btn-default">{% trans "Login me" %}</a> <a href="{% url "login_form" %}?next={% url 'order_delivery_view' permanence.id delivery_id %}" class="btn btn-default">{% trans "Login me" %}</a>
</div> </div>
{% if how_to_register %} {% if how_to_register %}
<div class="col-xs-9"> <div class="col-sm-9">
<div class="accordion-toggle collapsed" data-toggle="collapse" data-target="#collapse"> <div class="accordion-toggle collapsed" data-toggle="collapse" data-target="#collapse">
<span class="btn btn-info">{% trans "Create an account" %}</span> <span class="btn btn-info">{% trans "Create an account" %}</span>
</div> </div>
...@@ -327,10 +327,12 @@ ...@@ -327,10 +327,12 @@
<div class="btn-group"> <div class="btn-group">
<a href="{% url "order_delivery_view" permanence.id delivery_id %}?producer=all&departementforcustomer={{ departementforcustomer_id }}" class="btn btn-default">{% trans "All" %}</a> <a href="{% url "order_delivery_view" permanence.id delivery_id %}?producer=all&departementforcustomer={{ departementforcustomer_id }}" class="btn btn-default">{% trans "All" %}</a>
</div> </div>
<div class="btn-group"> {% if not is_anonymous %}
<a href="{% url "basket_delivery_view" permanence.id delivery_id %}" class="btn btn-default"> <div class="btn-group">
<span id="prepared_amount_visible_xs"></span></a> <a href="{% url "basket_delivery_view" permanence.id delivery_id %}" class="btn btn-default">
</div> <span id="prepared_amount_visible_xs"></span></a>
</div>
{% endif %}
</div> </div>
{% if offeritem_list %} {% if offeritem_list %}
<span id="span_btn_confirm_order"></span> <span id="span_btn_confirm_order"></span>
......
...@@ -56,8 +56,7 @@ ...@@ -56,8 +56,7 @@
{% endif %} {% endif %}
<div class="modal-footer"> <div class="modal-footer">
<div class="form-group"> <div class="form-group">
<button class="btn btn-default" type="submit">{% trans "Login" %}</button> <button class="btn btn-default" type="submit">{% trans "Login" %}</button><a href="{% url "admin_password_reset" %}" class="btn btn-default">{% trans "Password reset" %}</a>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="{% url "admin_password_reset" %}" class="btn btn-default">{% trans "Password reset" %}</a>
</div> </div>
</div> </div>
</form> </form>
......
...@@ -36,7 +36,7 @@ def home_info_ajax(request): ...@@ -36,7 +36,7 @@ def home_info_ajax(request):
if permanence.picture: if permanence.picture:
permanences.append( permanences.append(
format_html( format_html(
'<div class="panel-body"><div class="col-xs-12"><img class="img-rounded" style="float: left; margin: 5px;" alt="{}" title="{}" src="{}{}"/>{}</div></div>', '<div class="panel-body"><div class="col-xs-12"><img class="img-responsive img-rounded " style="float: left; margin: 5px;" alt="{}" title="{}" src="{}{}"/><div class="clearfix visible-xs-block visible-sm-block"></div>{}</div></div>',
permanence.get_permanence_customer_display(), permanence.get_permanence_customer_display(),
permanence.get_permanence_customer_display(), permanence.get_permanence_customer_display(),
settings.MEDIA_URL, settings.MEDIA_URL,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment