discourse-legacysite-perl/site/forum/include_bike.html
2024-06-17 22:24:05 +10:00

36 lines
2.3 KiB
HTML

<div class="row">
<div class="bike-info">
Name: <%bike_name%>
<%~if current_user_id == $user_id%>
[<small><a href="<%GForum::SEO::url(params => "username=$user_username;select_bike_id=$bike_id;action=bike_form")%>" rel="edit" title="Edit Settings">Edit</a></small>]
<%~endif%>
<br />
Style: <%bike_style%><br />
Brand: <%bike_brand%><br />
Model: <a href="GForum::SEO::url(params => "do=bike_search;bike_model=$bike_model;bike_brand=$bike_brand")%>"><%bike_model%></a><br />
Size: <a href="GForum::SEO::url(params => "do=bike_search;bike_model=$bike_model;bike_brand=$bike_brand;bike_size=$bike_size")%>"><%bike_size%></a>
<div class="bike-details">
<p><span>A: </span><span><em>Saddle height</em><%if bike_saddle_height%><br /><%bike_saddle_height%><%endif%></span></p>
<p><span>B: </span><span><em>Plumb line, saddle nose to BB</em><br /><%if bike_plumb_line_pos == 0%>+<%elsif bike_plumb_line_pos == "1"%>-<%endif%><%if bike_plumb_line%><%bike_plumb_line%><%endif%></span></p>
<%~if bike_style eq 'Tri'%>
<p><span>C: </span><span><em>Cockpit (nose to extension tip)</em><br /><%if bike_cockpit%><%bike_cockpit%><%endif%></span></p>
<p><span>D: </span><span><em>Armrests to extension tip</em><br /><%if bike_armrest_exttip%><%bike_armrest_exttip%><%endif%></span></p>
<p><span>E: </span><span><em>Armrests drop</em><br /><%if bike_armrestdrop_pos == 0%>-<%elsif bike_armrestdrop_pos == "1"%>+<%endif%><%if bike_armrestdrop%><%bike_armrestdrop%><%endif%></span></p>
<p><span>F: </span><span><em>Saddle nose to armrest back</em><br /><%if bike_nose_armrest%><%bike_nose_armrest%><%endif%></span></p>
<p><span>G: </span><span><em>Armrest width</em><br /><%if bike_armrest_width%><%bike_armrest_width%><%endif%></span></p>
<%endif%>
<%if bike_style eq 'Road'%>
<p><span>H: </span><span><em>Saddle nose to stem clamp</em><br /><%if bike_nose_clamp%><%bike_nose_clamp%><%endif%></span></p>
<p><span>I: </span><em>Handlebar drop</em><br /><%if bike_handlebar_drop%><%bike_handlebar_drop%><%endif%></span></p>
<%endif%>
<%~if bikd_comments%>
<p>Comments: <%bike_comments%></p>
<%~endif%>
</div>
</div>
<div class="btn-wrapper">
<a href="#" rel="more" class="btn">View More</a>
</div>
</div>