diff --git a/assets/css/ojuso.css b/assets/css/ojuso.css index 345f519..efe1acc 100644 --- a/assets/css/ojuso.css +++ b/assets/css/ojuso.css @@ -28,6 +28,8 @@ h1 { .ojuso-yellow { color: #f9db3c; } .ojuso-blue { color: #008ad5; } +.mx-1 { margin-left: 10px; } + /* * LAYOUT diff --git a/ojusomap/templates/auth/user_detail.html b/ojusomap/templates/auth/user_detail.html index 892fd9f..17823cc 100644 --- a/ojusomap/templates/auth/user_detail.html +++ b/ojusomap/templates/auth/user_detail.html @@ -1,4 +1,5 @@ {% extends "base.html" %} +{% load avatar_tags %} {% load static %} {% load i18n %} @@ -10,10 +11,12 @@
-

{{ object.username }}

- {% if object.name %} -

{{ object.name }}

+ + + {% if object.first_name and object.last_name %} +

{{ object.first_name }} {{ object.last_name }} ({{ object.username }})

{% endif %} +
@@ -22,13 +25,11 @@
- {% trans 'Change Name' %} - E-Mail - + {% trans 'Change Name' %} + Change Avatar
- {% endif %} diff --git a/ojusomap/templates/auth/user_form.html b/ojusomap/templates/auth/user_form.html index 51f2d6d..389978f 100644 --- a/ojusomap/templates/auth/user_form.html +++ b/ojusomap/templates/auth/user_form.html @@ -4,14 +4,22 @@ {% block title %}{{ user.username }}{% endblock %} {% block content %} -

{{ user.username }}

-
- {% csrf_token %} - {{ form|crispy }} -
-
- -
+
+
+
+ +

{{ user.username }}

+ + {% csrf_token %} + {{ form|crispy }} +
+
+ +
+
+ +
- +
+
{% endblock %} \ No newline at end of file diff --git a/ojusomap/templates/base.html b/ojusomap/templates/base.html index 302db3f..4bb329d 100644 --- a/ojusomap/templates/base.html +++ b/ojusomap/templates/base.html @@ -75,10 +75,8 @@ {{user}}