| author | ymh <ymh.work@gmail.com> |
| Thu, 05 Jan 2017 16:26:07 +0100 | |
| changeset 647 | eaaa1efce396 |
| parent 483 | 9bb08a2c2449 |
| child 654 | b2789b4cd389 |
| permissions | -rw-r--r-- |
|
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">×</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 |
<% } %> |
|
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:
483
diff
changeset
|
10 |
<%=node.title%> |
|
483
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> |