From ac8913c0277d3d89478fcb72102078d2fab05f27 Mon Sep 17 00:00:00 2001 From: Daniel Weigh Date: Thu, 6 Feb 2014 08:11:20 -0500 Subject: [PATCH] VRFS-294 Updates to the band profile page --- .../assets/stylesheets/client/band.css.scss | 35 ++++ web/app/views/api_bands/musician_index.rabl | 5 + web/app/views/clients/_bandProfile.html.erb | 164 ++++++++++-------- 3 files changed, 132 insertions(+), 72 deletions(-) diff --git a/web/app/assets/stylesheets/client/band.css.scss b/web/app/assets/stylesheets/client/band.css.scss index 814fed92f..90952e2e1 100644 --- a/web/app/assets/stylesheets/client/band.css.scss +++ b/web/app/assets/stylesheets/client/band.css.scss @@ -147,6 +147,41 @@ border-bottom: dotted 1px #444; position:relative; display:block; + + .result-name { + font-size: 12px; + font-weight: bold; + margin-bottom: 2px; + } + .stats { + margin-top: 4px; + img { + vertical-align: middle; + } + } + .lcol { + width: 148px; + } + .instruments { + width:128px; + img { + height:24px; + width:24px; + margin-right:2px; + + &:last-child { + margin-right:0px; + } + + } + } + .button-row { + margin-top:10px; + margin-bottom:5px; + .result-list-button-wrapper { + margin:0; + } + } } .band-profile-about-left { diff --git a/web/app/views/api_bands/musician_index.rabl b/web/app/views/api_bands/musician_index.rabl index 57b723984..967467c22 100644 --- a/web/app/views/api_bands/musician_index.rabl +++ b/web/app/views/api_bands/musician_index.rabl @@ -9,3 +9,8 @@ node :instruments do |musician| end end end + +node :biography do |musician| + musician.biography.nil? ? "" : musician.biography +end + diff --git a/web/app/views/clients/_bandProfile.html.erb b/web/app/views/clients/_bandProfile.html.erb index 12c321312..affb37669 100644 --- a/web/app/views/clients/_bandProfile.html.erb +++ b/web/app/views/clients/_bandProfile.html.erb @@ -9,90 +9,110 @@ <%= render "screen_navigation" %> -
-
-

+
+ +
+

-
-
- - - -

- -
-
- +
-
- - -
-
-
-
- -
-

Location:


-


-

Stats:


-
-
-
+ -
-


-
-
-
-
-
-
-
-
-
-
-
-

Followers

-
+ +

+ +
+
+
-
+ + + +
-
- +
+
+
+ +
+

Location:


+


+

Stats:


+
+
+
+
+
+


+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+

Followers

+
+
+
+
+
+
+ +