From d04e06085433c84d8baccef95e4b9f95c48b24cc Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Tue, 25 Dec 2018 18:25:25 +0000 Subject: [PATCH] Improve profile pic styling on user profile page --- app/templates/users/user_profile_page.html | 134 ++++++++++----------- 1 file changed, 67 insertions(+), 67 deletions(-) diff --git a/app/templates/users/user_profile_page.html b/app/templates/users/user_profile_page.html index a24587c4..f0f7ab09 100644 --- a/app/templates/users/user_profile_page.html +++ b/app/templates/users/user_profile_page.html @@ -19,77 +19,77 @@

{{ user.display_name }}

- - - - - - - -
Rank: - {{ user.rank.getTitle() }} -
Accounts: - {% if user.forums_username %} - - Minetest Forum - - {% elif user == current_user %} - No forum account - {% endif %} +
+
+ {% if user.email %} + + {% endif %} + + {% if user.email %} + + {% endif %} +
+
+ + + + + + + + + {% if user == current_user %} - 🌎 + + + + + + + + {% endif %} - - - {% if user == current_user %} - - - - - {% endif %} -
Rank: + {{ user.rank.getTitle() }} +
Accounts: + {% if user.forums_username %} + + Minetest Forum + + {% elif user == current_user %} + No forum account + {% endif %} - {% if (user.forums_username and user.github_username) or user == current_user %} - | - {% endif %} + {% if (user.forums_username and user.github_username) or user == current_user %} + | + {% endif %} - {% if user.github_username %} - GitHub - {% elif user == current_user %} - Link Github - {% endif %} + {% if user.github_username %} + GitHub + {% elif user == current_user %} + Link Github + {% endif %} + {% if user == current_user %} + 🌎 + {% endif %} +
Profile Picture: + {% if user.email %} + + Gravatar + + {% else %} +

+ Please add an email to your profile. +

+ {% endif %} +
Password: + {% if user.password %} + Set | Change + {% else %} + Not set | Set + {% endif %} +
Password: - {% if user.password %} - Set | Change - {% else %} - Not set | Set - {% endif %} -
-
- -
-
- -
-
-
-
- Profile Picture -
-
-

ContentDB uses Gravatar for profile pictures

- {% if user == current_user %} - {% if user.email %} - - Gravatar - - {% else %} -

- Please add an email to your profile. -

- {% endif %} - {% endif %} -
+
@@ -135,7 +135,7 @@

List of your forum topics which do not have a matching package. - Topics with a strikethrough have beened marked as discarded. + Topics with a strikethrough have been marked as discarded.

{% from "macros/topics.html" import render_topics_table %}