client/test/templates/audio_template.html
author ymh <ymh.work@gmail.com>
Thu, 05 Jan 2017 16:26:07 +0100
changeset 647 eaaa1efce396
permissions -rw-r--r--
add examples for youtube node types, add a way to open node urls with a single click
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
647
eaaa1efce396 add examples for youtube node types, add a way to open node urls with a single click
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
<h2>
eaaa1efce396 add examples for youtube node types, add a way to open node urls with a single click
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
    <span class="Rk-CloseX">&times;</span>
eaaa1efce396 add examples for youtube node types, add a way to open node urls with a single click
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
    <% if (options.show_node_tooltip_color) { %>
eaaa1efce396 add examples for youtube node types, add a way to open node urls with a single click
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
        <span class="Rk-UserColor" style="background: <%-node.color%>;"></span>
eaaa1efce396 add examples for youtube node types, add a way to open node urls with a single click
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
    <% } %>
eaaa1efce396 add examples for youtube node types, add a way to open node urls with a single click
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
    <span class="Rk-Display-Title">
eaaa1efce396 add examples for youtube node types, add a way to open node urls with a single click
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
        <% if (node.uri) { %>
eaaa1efce396 add examples for youtube node types, add a way to open node urls with a single click
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
            <a href="<%-node.uri%>" target="_blank">
eaaa1efce396 add examples for youtube node types, add a way to open node urls with a single click
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
        <% } %>
eaaa1efce396 add examples for youtube node types, add a way to open node urls with a single click
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
        <%=node.title%>
eaaa1efce396 add examples for youtube node types, add a way to open node urls with a single click
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
        <% if (node.uri) { %></a><% } %>
eaaa1efce396 add examples for youtube node types, add a way to open node urls with a single click
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
    </span>
eaaa1efce396 add examples for youtube node types, add a way to open node urls with a single click
ymh <ymh.work@gmail.com>
parents:
diff changeset
    13
</h2>
eaaa1efce396 add examples for youtube node types, add a way to open node urls with a single click
ymh <ymh.work@gmail.com>
parents:
diff changeset
    14
<% if (node.uri && options.show_node_tooltip_uri) { %>
eaaa1efce396 add examples for youtube node types, add a way to open node urls with a single click
ymh <ymh.work@gmail.com>
parents:
diff changeset
    15
     <audio width="320" height="240" controls>
eaaa1efce396 add examples for youtube node types, add a way to open node urls with a single click
ymh <ymh.work@gmail.com>
parents:
diff changeset
    16
        <source src="<%-node.uri%>" type="video/mp4">
eaaa1efce396 add examples for youtube node types, add a way to open node urls with a single click
ymh <ymh.work@gmail.com>
parents:
diff changeset
    17
     </audio> 
eaaa1efce396 add examples for youtube node types, add a way to open node urls with a single click
ymh <ymh.work@gmail.com>
parents:
diff changeset
    18
<% } %>
eaaa1efce396 add examples for youtube node types, add a way to open node urls with a single click
ymh <ymh.work@gmail.com>
parents:
diff changeset
    19
    <a href="#?idnode=<%-node._id%>"><%-renkan.translate("Link to the node")%></a>