From 7acb40541d537dee39931df0b96da4e9b72fcdd2 Mon Sep 17 00:00:00 2001 From: ailsoncgt Date: Thu, 6 Oct 2016 22:00:41 -0300 Subject: [PATCH] Avatar in list user & default width --- core/static/css/base/amadeus.css | 5 +++++ core/static/img/female_avatar.png | Bin 0 -> 31202 bytes core/static/img/male_avatar.png | Bin 0 -> 29455 bytes users/templates/list_users.html | 8 ++++++-- 4 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 core/static/img/female_avatar.png create mode 100644 core/static/img/male_avatar.png diff --git a/core/static/css/base/amadeus.css b/core/static/css/base/amadeus.css index b96f963..5c41bb6 100644 --- a/core/static/css/base/amadeus.css +++ b/core/static/css/base/amadeus.css @@ -321,4 +321,9 @@ body .container .jumbotron-inverse, body .container .well-inverse, body .contain background-color: #FF0000; } +.img-list-user{ + width: 150px; + height: 150px; +} + .datepicker{z-index:9999 !important} \ No newline at end of file diff --git a/core/static/img/female_avatar.png b/core/static/img/female_avatar.png new file mode 100644 index 0000000..d70c253 Binary files /dev/null and b/core/static/img/female_avatar.png differ diff --git a/core/static/img/male_avatar.png b/core/static/img/male_avatar.png new file mode 100644 index 0000000..2c9e161 Binary files /dev/null and b/core/static/img/male_avatar.png differ diff --git a/users/templates/list_users.html b/users/templates/list_users.html index a81142b..cd2d5e4 100644 --- a/users/templates/list_users.html +++ b/users/templates/list_users.html @@ -51,9 +51,13 @@
{% if acc.image %} - photoUser + photoUser {% else %} - Avatar + {% if acc.gender == 'M' %} + Avatar + {% else %} + Avatar + {% endif %} {% endif %}
-- libgit2 0.21.2