client/templates/list-bin.html
changeset 434 0d5998b32a7c
parent 426 05ed0d95a511
equal deleted inserted replaced
433:e457ec945e50 434:0d5998b32a7c
     1 <li class="Rk-Bin-Item Rk-ResourceList-Item" draggable="true"
     1 <li class="Rk-Bin-Item Rk-ResourceList-Item" draggable="true"
     2 	data-uri="<%-url%>" data-title="<%-title%>"
     2     data-uri="<%-url%>" data-title="<%-title%>"
     3 	data-description="<%-description%>"
     3     data-description="<%-description%>"
     4 	<% if (image) { %>
     4     <% if (image) { %>
     5 		data-image="<%- Rkns.Utils.getFullURL(image) %>"
     5         data-image="<%- Rkns.Utils.getFullURL(image) %>"
     6 	<% } else { %>
     6     <% } else { %>
     7 		data-image=""
     7         data-image=""
     8 	<% } %>
     8     <% } %>
     9 ><% if (image) { %>
     9 ><% if (image) { %>
    10 	<img class="Rk-ResourceList-Image" src="<%-image%>" />
    10     <img class="Rk-ResourceList-Image" src="<%-image%>" />
    11 <% } %>
    11 <% } %>
    12 <h4 class="Rk-ResourceList-Title">
    12 <h4 class="Rk-ResourceList-Title">
    13 	<% if (url) { %>
    13     <% if (url) { %>
    14 		<a href="<%-url%>" target="_blank">
    14         <a href="<%-url%>" target="_blank">
    15 	<% } %>
    15     <% } %>
    16 	<%=htitle%>
    16     <%=htitle%>
    17 	<% if (url) { %></a><% } %>
    17     <% if (url) { %></a><% } %>
    18 	</h4> 
    18     </h4>
    19 	<% if (description) { %>
    19     <% if (description) { %>
    20 		<p class="Rk-ResourceList-Description"><%=hdescription%></p>
    20         <p class="Rk-ResourceList-Description"><%=hdescription%></p>
    21 	<% } %>
    21     <% } %>
    22 	<% if (image) { %>
    22     <% if (image) { %>
    23 		<div style="clear: both;"></div>
    23         <div style="clear: both;"></div>
    24 	<% } %>
    24     <% } %>
    25 </li>
    25 </li>