VRFS-986 more landing page work
|
Before Width: | Height: | Size: 896 B After Width: | Height: | Size: 896 B |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 764 B After Width: | Height: | Size: 764 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 892 B After Width: | Height: | Size: 892 B |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 913 B After Width: | Height: | Size: 913 B |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
|
@ -42,18 +42,18 @@
|
|||
// available, and allowing the browser to resize offers better quality.
|
||||
var icon_map_base = {
|
||||
"accordion":"accordion",
|
||||
"acoustic guitar":"acoustic",
|
||||
"acoustic guitar":"acoustic_guitar",
|
||||
"banjo":"banjo",
|
||||
"bass guitar":"bass",
|
||||
"bass guitar":"bass_guitar",
|
||||
"cello":"cello",
|
||||
"clarinet":"clarinet",
|
||||
"computer":"computer",
|
||||
"default":"default",
|
||||
"drums":"drums",
|
||||
"electric guitar":"guitar",
|
||||
"electric guitar":"electric_guitar",
|
||||
"euphonium":"euphonium",
|
||||
"flute":"flute",
|
||||
"french horn":"frenchhorn",
|
||||
"french horn":"french_horn",
|
||||
"harmonica":"harmonica",
|
||||
"keyboard":"keyboard",
|
||||
"mandolin":"mandolin",
|
||||
|
|
|
|||
|
|
@ -59,27 +59,33 @@
|
|||
<table class="w100">
|
||||
<% @claimed_recording.recording.recorded_tracks.each_with_index do |track, index| %>
|
||||
<% if index % 2 == 0 %>
|
||||
<tr><td height="15px;"> </td></tr>
|
||||
<tr>
|
||||
<% end %>
|
||||
<td>
|
||||
<div class="avatar-small m0">
|
||||
<% unless track.user.photo_url.blank? %>
|
||||
<%= image_tag "#{track.user.photo_url}", {:alt => ""} %>
|
||||
<% else %>
|
||||
<%= image_tag "shared/avatar_generic.png", {:alt => ""} %>
|
||||
<% end %>
|
||||
</div>
|
||||
<td width="50%">
|
||||
<table class="w100">
|
||||
<tr>
|
||||
<td>
|
||||
<div class="avatar-small m0">
|
||||
<% unless track.user.photo_url.blank? %>
|
||||
<%= image_tag "#{track.user.photo_url}", {:alt => ""} %>
|
||||
<% else %>
|
||||
<%= image_tag "shared/avatar_generic.png", {:alt => ""} %>
|
||||
<% end %>
|
||||
</div>
|
||||
</td>
|
||||
<td><div class="lightgrey f15 ml10"><%= track.user.name %></div></td>
|
||||
<td class="p10">
|
||||
<div class="ml10">
|
||||
<%= image_tag "content/icon_instrument_#{track.instrument_id.tr(" ", "_")}45.png", {:width => 32, :alt => ""} %>
|
||||
</div>
|
||||
</td>
|
||||
<td width="10%"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td><div class="lightgrey f15 ml10"><%= track.user.name %></div></td>
|
||||
<td class="p10">
|
||||
<div class="ml10">
|
||||
<%= image_tag "shared/icon_instrument_#{track.instrument_id}45.png", {:width => 32, :alt => ""} %>
|
||||
</div>
|
||||
</td>
|
||||
<% if index % 2 == 0 %>
|
||||
<% if index % 2 > 0 %>
|
||||
</tr>
|
||||
<% else %>
|
||||
<td width="5%"></td>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</table>
|
||||
|
|
@ -117,7 +123,7 @@
|
|||
<% content_for :after_black_bar do %>
|
||||
<br />
|
||||
<div class="landing-comments">
|
||||
<h2>Comments:</h2>
|
||||
<h2>Comments:</h2><br/>
|
||||
<div class="avatar-small"><img src="images/content/avatar_generic.png" /></div>
|
||||
<div class="left w80 p10">
|
||||
<textarea class="w100 p5 f15" rows="2" onfocus="$(this).html('')" onblur="if($(this).html() == ''){$(this).html('Enter a comment...')}">Enter a comment...</textarea>
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ SampleApp::Application.configure do
|
|||
config.assets.debug = false
|
||||
|
||||
# Set the logging destination(s)
|
||||
config.log_to = %w[stdout file]
|
||||
# config.log_to = %w[stdout file]
|
||||
|
||||
# Show the logging configuration on STDOUT
|
||||
config.show_log_configuration = true
|
||||
|
|
|
|||