From b4e3c3932988c41a90f5a65dc3ecb6ff69168312 Mon Sep 17 00:00:00 2001
From: Carlos Quintana <74399022+cquintana92@users.noreply.github.com>
Date: Wed, 15 Jun 2022 12:06:11 +0200
Subject: [PATCH] Add Proton logo to buttons (#1091)
---
static/images/proton.svg | 19 +++++++++++++
templates/auth/login.html | 6 +++-
templates/dashboard/setting.html | 47 ++++++++++++++++----------------
3 files changed, 48 insertions(+), 24 deletions(-)
create mode 100644 static/images/proton.svg
diff --git a/static/images/proton.svg b/static/images/proton.svg
new file mode 100644
index 00000000..1236b3f8
--- /dev/null
+++ b/static/images/proton.svg
@@ -0,0 +1,19 @@
+
diff --git a/templates/auth/login.html b/templates/auth/login.html
index b1f03811..bf31bd0e 100644
--- a/templates/auth/login.html
+++ b/templates/auth/login.html
@@ -45,7 +45,11 @@
{% if connect_with_proton %}
or
- Log in with Proton
+
+
+ Login with Proton
+
{% endif %}
diff --git a/templates/dashboard/setting.html b/templates/dashboard/setting.html
index 86e2eb38..cab04f8d 100644
--- a/templates/dashboard/setting.html
+++ b/templates/dashboard/setting.html
@@ -220,14 +220,15 @@
You have linked your Proton account: {{ proton_linked_account }}
Unlink account
+ class="btn btn-primary mt-2 proton-button"
+ href="{{ url_for('dashboard.unlink_proton_account') }}"
+ >
Unlink account
{% else %}
You can connect your Proton account with your SimpleLogin one.
- Connect
+
Connect
with Proton
{% endif %}
@@ -262,10 +263,10 @@
@@ -278,9 +279,9 @@
{% for is_public, domain in current_user.available_domains_for_random_alias() %}
@@ -325,27 +326,27 @@