diff --git a/static/grandlyon-cut/_fargo.scss b/static/grandlyon-cut/_fargo.scss index 92384bc..b93f285 100644 --- a/static/grandlyon-cut/_fargo.scss +++ b/static/grandlyon-cut/_fargo.scss @@ -75,7 +75,7 @@ div#user-files { } } -div#oauth2-authorize, div#oauth2-confirm { +div#fargo-oauth2-authorize, div#fargo-oauth2-confirm { margin: 5ex auto 1ex auto; width: 30em; select { @@ -84,6 +84,10 @@ div#oauth2-authorize, div#oauth2-confirm { label { display: none; } + button { + width: 100%; + font-size: 1.4rem; + } @media screen and (max-width: $mobile-limit) { width: auto; margin: 0 0.5em 3ex 0.5em; diff --git a/templates/fargo/oauth2/authorize.html b/templates/fargo/oauth2/authorize.html index 0383658..4649862 100644 --- a/templates/fargo/oauth2/authorize.html +++ b/templates/fargo/oauth2/authorize.html @@ -3,9 +3,8 @@ {% load i18n %} {% block content %} -
+

Choix du document :

-
{% csrf_token %} {{ form.as_p }} @@ -13,5 +12,4 @@
-
{% endblock %} diff --git a/templates/fargo/oauth2/confirm.html b/templates/fargo/oauth2/confirm.html deleted file mode 100644 index ab8bef9..0000000 --- a/templates/fargo/oauth2/confirm.html +++ /dev/null @@ -1,21 +0,0 @@ -{% extends "fargo/base.html" %} -{% load render_table from django_tables2 %} -{% load i18n %} - -{% block content %} -
-
- {% if error_message %} -

{% trans error_message %}

- {% trans "Continue to your client url" %} - {% else %} -

Acceptez-vous l'ajout de {{ filename }} à vos documents ?

-
- {% csrf_token %} - - -
- {% endif %} -
-
-{% endblock %}