From d52c3350fac7b14434c019eea55d1736592efb0c Mon Sep 17 00:00:00 2001 From: giggs Date: Sun, 24 Jul 2022 15:29:33 +0000 Subject: [PATCH 1/6] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'src/templates/?= =?UTF-8?q?src/user=5Fprofile.html'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change the New project link into a button --- src/templates/src/user_profile.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/templates/src/user_profile.html b/src/templates/src/user_profile.html index adffc7d..e83c885 100644 --- a/src/templates/src/user_profile.html +++ b/src/templates/src/user_profile.html @@ -24,6 +24,18 @@ .admin .cover { background: repeating-linear-gradient( -45deg, #ff6c00, #ff6c00 12px, #000000 5px, #000000 25px ); } + + .button { + background-color: #7e3834; + color: white; + text-align: start; + font-size: 18px; + padding: 15px 26px; + display: inline-block; + cursor: pointer; + } + + } {{ end }} @@ -135,7 +147,7 @@ {{ end }} {{ if .OwnProfile }} {{ if .CanAddProject }} - + New Project + <Add New Project> {{ else }} You have reached the maximum number of personal projects. {{ end }} -- 2.25.1 From 3e3055a7c8e60034819d67429b807b00e9c2c02f Mon Sep 17 00:00:00 2001 From: giggs Date: Mon, 25 Jul 2022 21:20:40 +0200 Subject: [PATCH 2/6] default button class, inline styling --- src/templates/src/user_profile.html | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/src/templates/src/user_profile.html b/src/templates/src/user_profile.html index e83c885..b6d95b6 100644 --- a/src/templates/src/user_profile.html +++ b/src/templates/src/user_profile.html @@ -24,18 +24,7 @@ .admin .cover { background: repeating-linear-gradient( -45deg, #ff6c00, #ff6c00 12px, #000000 5px, #000000 25px ); } - - .button { - background-color: #7e3834; - color: white; - text-align: start; - font-size: 18px; - padding: 15px 26px; - display: inline-block; - cursor: pointer; - } - - } + {{ end }} @@ -147,7 +136,7 @@ {{ end }} {{ if .OwnProfile }} {{ if .CanAddProject }} - <Add New Project> + Add New Project {{ else }} You have reached the maximum number of personal projects. {{ end }} -- 2.25.1 From 69bc617bb39bd08cb5c2edf5f88ddfa9dd4106e0 Mon Sep 17 00:00:00 2001 From: giggs Date: Sun, 24 Jul 2022 15:29:33 +0000 Subject: [PATCH 3/6] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'src/templates/?= =?UTF-8?q?src/user=5Fprofile.html'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change the New project link into a button --- src/templates/src/user_profile.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/templates/src/user_profile.html b/src/templates/src/user_profile.html index f779a4e..7d68b64 100644 --- a/src/templates/src/user_profile.html +++ b/src/templates/src/user_profile.html @@ -24,6 +24,18 @@ .admin .cover { background: repeating-linear-gradient( -45deg, #ff6c00, #ff6c00 12px, #000000 5px, #000000 25px ); } + + .button { + background-color: #7e3834; + color: white; + text-align: start; + font-size: 18px; + padding: 15px 26px; + display: inline-block; + cursor: pointer; + } + + } {{ end }} -- 2.25.1 From aed5f44ff3662d664248b26d4b2e7870cfcb360a Mon Sep 17 00:00:00 2001 From: giggs Date: Mon, 25 Jul 2022 21:20:40 +0200 Subject: [PATCH 4/6] default button class, inline styling --- src/templates/src/user_profile.html | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/templates/src/user_profile.html b/src/templates/src/user_profile.html index 7d68b64..fa1c9a2 100644 --- a/src/templates/src/user_profile.html +++ b/src/templates/src/user_profile.html @@ -24,18 +24,7 @@ .admin .cover { background: repeating-linear-gradient( -45deg, #ff6c00, #ff6c00 12px, #000000 5px, #000000 25px ); } - - .button { - background-color: #7e3834; - color: white; - text-align: start; - font-size: 18px; - padding: 15px 26px; - display: inline-block; - cursor: pointer; - } - - } + {{ end }} -- 2.25.1 From 8e51a4dfd44e82411d8f791cc6951d01123a2c5b Mon Sep 17 00:00:00 2001 From: giggs Date: Wed, 27 Jul 2022 23:41:13 +0200 Subject: [PATCH 5/6] no squeesh --- public/style.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/style.css b/public/style.css index d7f6ddc..f2d2200 100644 --- a/public/style.css +++ b/public/style.css @@ -8512,12 +8512,15 @@ input[type=submit] { .avatar-icon { width: 40px; height: 40px; + object-fit: cover; flex-shrink: 0; border-radius: 100%; overflow: hidden; background-color: #bbb; background-color: var(--dimmest-color); } + + :root { --fade-color: #f8f8f8; --fade-color: var(--content-background); } -- 2.25.1 From 772d2bf17d298e8170ad4b81af172917147899b1 Mon Sep 17 00:00:00 2001 From: giggs Date: Wed, 27 Jul 2022 23:43:17 +0200 Subject: [PATCH 6/6] no squeesh --- public/style.css | 2 -- 1 file changed, 2 deletions(-) diff --git a/public/style.css b/public/style.css index f2d2200..07374a5 100644 --- a/public/style.css +++ b/public/style.css @@ -8519,8 +8519,6 @@ input[type=submit] { background-color: #bbb; background-color: var(--dimmest-color); } - - :root { --fade-color: #f8f8f8; --fade-color: var(--content-background); } -- 2.25.1