diff --git a/web/app/assets/javascripts/bandProfile.js b/web/app/assets/javascripts/bandProfile.js index 22e735f40..a2dd98891 100644 --- a/web/app/assets/javascripts/bandProfile.js +++ b/web/app/assets/javascripts/bandProfile.js @@ -21,6 +21,7 @@ // hide until we know if 'isMember' $("#btn-follow-band").hide(); $("#btn-edit-band-profile").hide(); + $("#btn-edit-band-bio").hide(); $("#btn-edit-band-info").hide(); $("#btn-edit-band-members").hide(); $("#btn-edit-band-delete").hide(); @@ -143,6 +144,7 @@ if (isMember) { $("#btn-follow-band").hide(); $("#btn-edit-band-profile").show(); + $("#btn-edit-band-bio").show(); $("#btn-edit-band-info").show(); $("#btn-edit-band-members").show(); if (isAdmin) { @@ -150,6 +152,7 @@ } } else { $("#btn-follow-band").show(); + $("#btn-edit-band-bio").hide(); $("#btn-edit-band-profile").hide(); $("#btn-edit-band-info").hide(); $("#btn-edit-band-members").hide(); @@ -212,9 +215,9 @@ $('#band-profile-website').text(band.website); } - profileUtils.renderMusicalExperience(band, $("#bandProfile")) - profileUtils.renderPerformanceSamples(band, $("#bandProfile"), isAdmin) - profileUtils.renderOnlinePresence(band, $("#bandProfile"), isAdmin) + // profileUtils.renderMusicalExperience(band, $("#bandProfile")) + // profileUtils.renderPerformanceSamples(band, $("#bandProfile"), isAdmin) + // profileUtils.renderOnlinePresence(band, $("#bandProfile"), isAdmin) //renderInterests() // wire up Follow click @@ -430,6 +433,7 @@ $divMember.remove(); if (userId == context.JK.currentUserId) { $('#btn-edit-band-profile').hide(); + $('#btn-edit-band-bio').hide(); $('#btn-edit-band-info').hide(); $('#btn-edit-band-members').hide(); $('.btn-remove-member').each(function(idx) { $(this).hide(); }); @@ -486,6 +490,10 @@ context.location = "/client#/band/setup/" + bandId + '/step1'; return false; }); + $("#btn-edit-band-bio").unbind('click').click(function() { + context.location = "/client#/band/setup/" + bandId + '/step0'; + return false; + }); $("#btn-edit-band-members").unbind('click').click(function() { context.location = "/client#/band/setup/" + bandId + '/step2'; return false; diff --git a/web/app/assets/stylesheets/client/band.css.scss b/web/app/assets/stylesheets/client/band.css.scss index 8cc2c147a..82fd2799b 100644 --- a/web/app/assets/stylesheets/client/band.css.scss +++ b/web/app/assets/stylesheets/client/band.css.scss @@ -15,6 +15,16 @@ } } + + + table.summary-table { + tr { + td { + padding-right: 1em; + } + } + } + // Mimic style of easydropdown selects: input[type="number"] { border-radius: 6px; @@ -43,18 +53,7 @@ } } - tr:nth-child(even) td { - padding-bottom: 1em; - } - - td.band-biography, td.tdBandGenres { - height:100%; - vertical-align: top; - #band-biography { - - } - } - + .band-setup-genres { width:100%; @@ -190,6 +189,20 @@ border-radius:44px; } + + .band-entry { + .item-caption { + font-size: 1.4em; + font-weight: bold; + margin: 0.25em 0em 0.25em 0em; + } + .item-content { + font-size: 1.1em; + margin: 0.25em 0em 0.25em 0em; + } + margin: 0em 0em 1.0em 0em; + } + // .band-name, .band-photo { // display: inline; // } @@ -392,6 +405,19 @@ table.band-form-table { width: 100%; margin: 1em; + + tr:nth-child(even) td { + padding-bottom: 1em; + } + + td.band-biography, td.tdBandGenres { + height:100%; + vertical-align: top; + #band-biography { + + } + } + } .easydropdown { diff --git a/web/app/assets/stylesheets/client/profile.css.scss b/web/app/assets/stylesheets/client/profile.css.scss index 5328a80c2..6641eac24 100644 --- a/web/app/assets/stylesheets/client/profile.css.scss +++ b/web/app/assets/stylesheets/client/profile.css.scss @@ -12,7 +12,10 @@ div.logo, div.item { text-align: bottom; - margin-left: 1em; + } + + .online-presence-option, .performance-sample-option { + margin-right: 1em; } img.logo { @@ -35,11 +38,11 @@ } .profile-body { - + } .profile-header { padding:10px 20px; - position: relative; + position: relative; } .profile-header h2 { @@ -49,11 +52,20 @@ margin: 0px 0px 0px 0px; } -.profile-about-right .section-header { - font-weight:600; - font-size:18px; - float:left; - margin: 0px 0px 10px 0px; +.profile-about-right { + .section-header { + font-weight:600; + font-size:18px; + float:left; + margin: 0px 0px 10px 0px; + } + + .section-content { + font-weight:normal; + font-size:1.2em; + float:left; + margin: 0px 0px 10px 0px; + } } .profile-details { @@ -241,7 +253,7 @@ -moz-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing:border-box; - + .result-name { font-size: 12px; font-weight: bold; @@ -267,11 +279,11 @@ height:24px; width:24px; margin-right:2px; - + &:last-child { margin-right:0px; } - + } } .button-row { diff --git a/web/app/views/clients/_bandProfile.html.erb b/web/app/views/clients/_bandProfile.html.erb index 1a51223bd..4bf6b3102 100644 --- a/web/app/views/clients/_bandProfile.html.erb +++ b/web/app/views/clients/_bandProfile.html.erb @@ -14,12 +14,17 @@
| Genres: | +Genres | +
| Concert Gigs: | ++ |
| Status: | ++ |
| Type: | ++ |


