From d52c3350fac7b14434c019eea55d1736592efb0c Mon Sep 17 00:00:00 2001 From: giggs Date: Sun, 24 Jul 2022 15:29:33 +0000 Subject: [PATCH 1/3] =?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 c507eb21c50e723a04d2efbae2d670e20c21f412 Mon Sep 17 00:00:00 2001 From: giggs Date: Mon, 25 Jul 2022 21:47:36 +0200 Subject: [PATCH 2/3] default button class, inline style --- src/templates/src/user_profile.html | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/templates/src/user_profile.html b/src/templates/src/user_profile.html index e83c885..b5d4a99 100644 --- a/src/templates/src/user_profile.html +++ b/src/templates/src/user_profile.html @@ -24,18 +24,6 @@ .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 +135,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 59af5a8d6d47de81340127a96ca2a83138dde290 Mon Sep 17 00:00:00 2001 From: giggs Date: Mon, 25 Jul 2022 23:37:37 +0200 Subject: [PATCH 3/3] fixed indent and removed inline style --- src/templates/src/user_profile.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/src/user_profile.html b/src/templates/src/user_profile.html index b5d4a99..f779a4e 100644 --- a/src/templates/src/user_profile.html +++ b/src/templates/src/user_profile.html @@ -135,7 +135,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