client/templates/nodeeditor_video.html
author durandn
Thu, 21 Apr 2016 15:18:19 +0200
changeset 605 13d355fd09bf
parent 483 9bb08a2c2449
child 647 eaaa1efce396
permissions -rw-r--r--
updated uri to allow optional trailing slash on single resource URIs (django automatic redirects don't carry over the Authorization header that can sometimes be needed, for instance with OAuth)
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>