client/templates/nodeeditor_video.html
author rougeronj
Thu, 18 Jun 2015 16:50:54 +0200
changeset 487 48be7ebb3187
parent 483 9bb08a2c2449
child 647 eaaa1efce396
permissions -rw-r--r--
add hide_nodes option to allow or node the hiding behavior on nodes - rescale node buttons if no hide/show button - hide the show-all-hidden-nodes button - prevent from hidding node when loading a view - add new test template to try the new options
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
483
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
     1
<h2>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
     2
    <span class="Rk-CloseX">&times;</span>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
     3
    <% if (options.show_node_tooltip_color) { %>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
     4
        <span class="Rk-UserColor" style="background: <%-node.color%>;"></span>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
     5
    <% } %>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
     6
    <span class="Rk-Display-Title">
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
     7
        <% if (node.uri) { %>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
     8
            <a href="<%-node.uri%>" target="_blank">
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
     9
        <% } %>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
    10
        <%-node.title%>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
    11
        <% if (node.uri) { %></a><% } %>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
    12
    </span>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
    13
</h2>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
    14
<% if (node.uri && options.show_node_tooltip_uri) { %>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
    15
     <video width="320" height="240" controls>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
    16
        <source src="<%-node.uri%>" type="video/mp4">
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
    17
     </video> 
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
    18
<% } %>
9bb08a2c2449 New nodeeditor html for video node type and update css to make the video fit the popup
rougeronj
parents:
diff changeset
    19
    <a href="#?idnode=<%-node._id%>"><%-renkan.translate("Link to the node")%></a>