From f633f2d61725fb5ed14021e171788146f590b683 Mon Sep 17 00:00:00 2001 From: Piotr Dobrowolski Date: Sun, 31 May 2020 00:15:26 +0200 Subject: [PATCH] add redirect_uri add/remove buttons --- .gitignore | 1 + static/css/authorize.css | 4 ++++ templates/_helpers.html | 10 +++++++++- templates/client_edit.html | 39 +++++++++++++++++++++++++++++++++++++- 4 files changed, 52 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index bd3bfe1..277d785 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ **/.ropeproject/* **/*.py[co] **/.env +**/*.pem diff --git a/static/css/authorize.css b/static/css/authorize.css index f52c976..ca6206d 100644 --- a/static/css/authorize.css +++ b/static/css/authorize.css @@ -37,3 +37,7 @@ td.placeholder { .form-group li { list-style-type: none; } + +.input-group { + margin-bottom: 5px; +} diff --git a/templates/_helpers.html b/templates/_helpers.html index 02a94c4..7691789 100644 --- a/templates/_helpers.html +++ b/templates/_helpers.html @@ -34,6 +34,10 @@ None {% endif %} {% endmacro %} +{% macro add_remove_button() %} + +{% endmacro %} + {% macro render_field_inner(field, prefix=None, suffix=None, label=True, input_group_class='') %} {% if field.type == 'BooleanField' %}