From d18c91da23780c9c74a853befcc7636a510f1ad5 Mon Sep 17 00:00:00 2001 From: Melora Hugues Date: Sat, 4 Nov 2023 09:14:41 +0100 Subject: [PATCH] feat #32: improve approval UI --- polyculeconnect/static/style/index.css | 6 +++- polyculeconnect/templates/approval.html | 48 +++++++++++-------------- 2 files changed, 25 insertions(+), 29 deletions(-) diff --git a/polyculeconnect/static/style/index.css b/polyculeconnect/static/style/index.css index 80586bf..feb6197 100644 --- a/polyculeconnect/static/style/index.css +++ b/polyculeconnect/static/style/index.css @@ -63,7 +63,7 @@ body { .form-buttons { display: flex; - justify-content: center; + justify-content: space-between; } .form-input { @@ -91,4 +91,8 @@ body { .button-accept { background-color: var(--logo-blue); +} + +.button-cancel { + background-color: var(--logo-pink); } \ No newline at end of file diff --git a/polyculeconnect/templates/approval.html b/polyculeconnect/templates/approval.html index df734fc..f0097ad 100644 --- a/polyculeconnect/templates/approval.html +++ b/polyculeconnect/templates/approval.html @@ -1,42 +1,34 @@ {{ template "header.html" . }} -
-

Grant Access

- -
-
+
+
{{ if .Scopes }} -
{{ .Client }} would like to:
-
    +
    {{ .Client }} would like to:
    +
      {{ range $scope := .Scopes }}
    • {{ $scope }}
    • {{ end }}
    {{ else }} -
    {{ .Client }} has not requested any personal information
    +
    {{ .Client }} has not requested any personal information
    {{ end }}
-
-
-
-
- - - -
-
-
-
- - - -
-
+
+
+ + + +
+
+ + + +
-- 2.45.2