87 lines
4.0 KiB
Plaintext
87 lines
4.0 KiB
Plaintext
<!-- Band Screen -->
|
|
<%= content_tag(:div, :layout => 'screen', 'layout-id' => 'bands', :class => "screen secondary", :id => "bands-screen") do -%>
|
|
<%= content_tag(:div, :class => :content) do -%>
|
|
<%= content_tag(:div, :class => 'content-head') do -%>
|
|
<%= content_tag(:div, image_tag("content/icon_bands.png", {:height => 19, :width => 19}), :class => 'content-icon') %>
|
|
<%= content_tag(:h1, 'bands') %>
|
|
<%= render "screen_navigation" %>
|
|
<% end -%>
|
|
<%= content_tag(:div, :class => 'content-body') do -%>
|
|
<%= form_tag('', {:id => 'find-band-form', :class => 'inner-content'}) do -%>
|
|
<%= render(:partial => "web_filter", :locals => {:search_type => Search::PARAM_BAND}) %>
|
|
<%= content_tag(:div, :class => 'filter-body') do %>
|
|
<%= content_tag(:div, :class => 'content-body-scroller') do -%>
|
|
<%= content_tag(:div, content_tag(:div, '', :id => 'band-filter-results', :class => 'filter-results'), :class => 'content-wrapper') %>
|
|
<% end -%>
|
|
<% end -%>
|
|
<% end -%>
|
|
<% end -%>
|
|
<% end -%>
|
|
<% end -%>
|
|
|
|
<!-- Session Row Template -->
|
|
<script type="text/template" id="template-find-band-row"><!-- -->
|
|
<div class="profile-band-list-result band-list-result">
|
|
<div class="f11">
|
|
<div class="left" style="width:63px;margin-top:-12px;">
|
|
<!-- avatar -->
|
|
<div class="avatar-small"><img src="{avatar_url}" /></div>
|
|
</div>
|
|
<div class="right mband-players" style="width:265px; margin-top:-4px;">
|
|
<table class="musicians" cellpadding="0" cellspacing="5">{band_player_template}</table>
|
|
</div>
|
|
<div class="" style="margin-left: 63px; margin-right: 275px;margin-top: 12px;">
|
|
<div class="first-row" data-hint="top-row">
|
|
<div class="lcol left">
|
|
<!-- name & location -->
|
|
<div class="result-name">{band_name}</div>
|
|
<div class="result-location">{band_location}</div>
|
|
<br />
|
|
<div id="result_genres" class="nowrap mt10">{genres}</div>
|
|
</div>
|
|
<div class="whitespace">
|
|
<div class="biography">{biography}</div>
|
|
</div>
|
|
<div class="clearleft"></div>
|
|
</div>
|
|
<div class="button-row">
|
|
<div class="lcol stats left">
|
|
<span class="follower-count">{follow_count} <img src="../assets/content/icon_followers.png" width="22" height="12" align="absmiddle" style="margin-right:4px;"/></span>
|
|
<span class="recording-count">{recording_count} <img src="../assets/content/icon_recordings.png" width="12" height="13" align="absmiddle" style="margin-right:4px;"/></span>
|
|
<span class="session-count">{session_count} <img src="../assets/content/icon_session_tiny.png" width="12" height="12" align="absmiddle" /></span>
|
|
</div>
|
|
<div class="clearall"></div>
|
|
<div class="result-list-button-wrapper" data-band-id={band_id}>
|
|
{band_action_template}
|
|
</div>
|
|
<div class="clearall"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</script>
|
|
|
|
<script type="text/template" id="template-band-action-btns">
|
|
<a href="{profile_url}" class="button-orange smallbutton">PROFILE</a>
|
|
<a href="#" class="{button_follow} smallbutton search-m-follow">FOLLOW</a>
|
|
</script>
|
|
|
|
<script type="text/template" id="template-band-edit-btns">
|
|
<a href="{profile_url}" class="button-orange smallbutton">PROFILE</a>
|
|
<a href="{band_edit_url}" class="button-orange smallbutton">EDIT BAND</a>
|
|
<a href="{band_member_url}" class="button-orange smallbutton">INVITE</a>
|
|
</script>
|
|
|
|
<script type="text/template" id="template-band-player-info">
|
|
<tr>
|
|
<td>
|
|
<a href="{profile_url}" user-id="{user_id}" hoveraction="musician" class="avatar-tiny"><img src="{avatar_url}" /></a>
|
|
</td>
|
|
<td style="padding: 0 4px;width:88px;">
|
|
<a user-id="{user_id}" hoveraction="musician" href="{profile_url}"><strong>{player_name}</strong></a>
|
|
</td>
|
|
<td class="instruments">{player_instruments}</td>
|
|
</tr>
|
|
</script>
|
|
|