From ff481b6317915ecd695150d3f3b0f96333ffde7a Mon Sep 17 00:00:00 2001 From: Santiago Lamora Date: Tue, 17 Dec 2019 13:04:53 +0100 Subject: [PATCH] Code styles of profile view. --- musician/static/musician/css/default.css | 7 ++ .../default-profile-picture-primary-color.png | Bin 0 -> 3037 bytes musician/templates/musician/profile.html | 80 ++++++++++-------- 3 files changed, 51 insertions(+), 36 deletions(-) create mode 100644 musician/static/musician/images/default-profile-picture-primary-color.png diff --git a/musician/static/musician/css/default.css b/musician/static/musician/css/default.css index 42972ab..a9d7da4 100644 --- a/musician/static/musician/css/default.css +++ b/musician/static/musician/css/default.css @@ -247,6 +247,13 @@ h1.service-name { font-weight: 900; } +.card.card-profile .card-header { + background: white; + border-bottom: none; + font-size: large; + text-transform: uppercase; +} + #configDetailsModal .modal-header { border-bottom: 0; text-align: center; diff --git a/musician/static/musician/images/default-profile-picture-primary-color.png b/musician/static/musician/images/default-profile-picture-primary-color.png new file mode 100644 index 0000000000000000000000000000000000000000..feaf2c7c3c686840fd87f2d6d5ae54ea7d5f888b GIT binary patch literal 3037 zcmV<33nKK1P)005x~1^@s6K$EnH00006VoOIv0RI60 z0RN!9r;`8x010qNS#tmY4c7nw4c7reD4Tcy000McNliru;|viCIVaYN$wvSH3u;M3 zK~#9!?Vamy9Mu_z-*#X&^ummpGNS+)AnXq3!=r^;@Mtg1O~l zC#m|4zoJN$D)mC?RCSy{sfr*_SM}NnNw6?VoWz&)dUtka_w5Jc#0Fn?=RUvZlM`Qd z&wHNvopWZ-%rJpFh=@Y;Rf=XCQq-*KM2c>jR#MklCCk?S`oH7ffA)blKP4ivnU%qj z{)dT(4)+}USQV)d5m_Whj$ua-HhJcY5F4szwY$2=MJZDce zeR%op?*`$$9qu`HQI+yMX*^4$%n&tAGqVi=!!F&#L_M|YZKVWn85%wNbeP_ICfzqg zq)ZXj-D2hf1PqIGGYDwiwQQ>oSoW-dWMZ^dgc&0NR%vHl;1NjNt|Jlu2a6ID%4()H;H z-nlam0bL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8Kj5cq;F6-yzim?#DCg_KrQh{_NU_=IgLL`_8$0{BC7Q6VA-2t4O-&#{X{ z@0bcRmwUTk`4>t8yhNl@Wd38_^KCBI?_LGXBpJ0w^ zyY5h2a84y6N~IEWQ59{izZcZbs->-~{chmeno{p3Akla(>cXw}8h&?>+wBcfTbDY= zcPEAUgU0ZQ$KxPg5Qej$w9^k6GwIj<$=vYqk_03&&2kRnIXj$%VdwSYd-PI7)3oon zc1J+nR%ReyG~aK~MAY@WuHC&WLPNt8IuUrYIBT3<{A$_7NK%@5$jF{~0`dX3(y+Jt z<@b}xEf*L6z5K2SWtwtZJjfUCsfMO4cWk+Usn%O4J8)OR<&G^AkePGkifOsg2qYgQ z%%orYkeTOJPe3Ai_QC%5P;%f-h$uI|`9CY%8!&Yfiw)okleuqA@xGOS%siLr?t35A z0!}7jCf)ZwZ{I$*u7E^DWEE~;&IcSF-RAlFii7fsKV08_gQy}XGjK-2ico$1r^J)cOK~ns&OFGb>uwrmg%Ym zTu4EC9OVU7k>oGd`;m189~Lkw2t?7zw#kU44gvQq}dfst6W0az-s*Zxyze+>ei+oR?WP1rc|2x z;Il8^LA8Om3Al)+Dc4XsP;2^CEg*BtZIm0-DqqzC0^rz+xt3r4?YsN1YZ_FYel-gS z2|+FLIWh#-`UU`2!2tLcK8~dqhGNL)tALOY^7$?xB!qmJ1A0TBLO$OGgoKdKcL5FYM4B4d=VuZi7-LqV4^ZWnXm$~7OQ#Fc{( f&=WBs+UootHaS9h&p}B*00000NkvXXu0mjf^R>5J literal 0 HcmV?d00001 diff --git a/musician/templates/musician/profile.html b/musician/templates/musician/profile.html index e9da7be..fead18a 100644 --- a/musician/templates/musician/profile.html +++ b/musician/templates/musician/profile.html @@ -3,48 +3,56 @@ {% block content %} -

Profile

-

Little description of what to be expected...

+

Profile

+

Little description of what to be expected...

-
-
User information
-
-
-
- {# #} +
+
+
User information
+
+
+
+ user-profile-picture +
-
-
-

{{ profile.username }}

-

{{ profile.type }}

-

Preferred language: {{ profile.language }}

+
+

{{ profile.username }}

+

{{ profile.type }}

+

Preferred language: {{ profile.language }}

+
+ {% comment %} + + + {% endcomment %}
-
-{% with profile.billing as contact %} -
-
Billing information
-
-
{{ contact.name }}
-
{{ contact.address }}
-
- {{ contact.zipcode }} - {{ contact.city }} - {{ contact.country }} -
-
- {{ contact.vat }} -
- -
- payment method: {{ payment.method }} -
-
- {# TODO(@slamora) format payment method details #} - {{ payment.data.data }} -
+ {% with profile.billing as contact %} +
+
Billing information
+
+
{{ contact.name }}
+
{{ contact.address }}
+
+ {{ contact.zipcode }} + {{ contact.city }} + {{ contact.country }} +
+
+ {{ contact.vat }} +
+ +
+ payment method: {{ payment.method }} +
+
+ {# TODO(@slamora) format payment method details #} + {{ payment.data.data }} +
+
{% endwith %}