client/templates/list-bin.html
author rougeronj
Wed, 20 May 2015 10:39:35 +0200
changeset 450 88e8673aaeeb
parent 434 0d5998b32a7c
permissions -rw-r--r--
add the hidden/ghost behaviour: - The view hide or show the nodes calling their functions hide() or show(ghost). - The node and the edges have the attributes 'hidden' and 'ghost' to properly redraw them selves.

<li class="Rk-Bin-Item Rk-ResourceList-Item" draggable="true"
    data-uri="<%-url%>" data-title="<%-title%>"
    data-description="<%-description%>"
    <% if (image) { %>
        data-image="<%- Rkns.Utils.getFullURL(image) %>"
    <% } else { %>
        data-image=""
    <% } %>
><% if (image) { %>
    <img class="Rk-ResourceList-Image" src="<%-image%>" />
<% } %>
<h4 class="Rk-ResourceList-Title">
    <% if (url) { %>
        <a href="<%-url%>" target="_blank">
    <% } %>
    <%=htitle%>
    <% if (url) { %></a><% } %>
    </h4>
    <% if (description) { %>
        <p class="Rk-ResourceList-Description"><%=hdescription%></p>
    <% } %>
    <% if (image) { %>
        <div style="clear: both;"></div>
    <% } %>
</li>