client/templates/nodeeditor.html
author rougeronj
Sat, 18 Apr 2015 17:14:27 +0200
changeset 420 22393cbf4467
child 434 0d5998b32a7c
permissions -rw-r--r--
export the templates of nodeeditor to html files
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
420
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
     1
<h2>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
     2
	<span class="Rk-CloseX">&times;</span><%-renkan.translate("Edit Node")%></span>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
     3
</h2>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
     4
<p>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
     5
	<label><%-renkan.translate("Title:")%></label>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
     6
	<input class="Rk-Edit-Title" type="text" value="<%-node.title%>" />
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
     7
</p>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
     8
<% if (options.show_node_editor_uri) { %>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
     9
	<p>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    10
		<label><%-renkan.translate("URI:")%></label>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    11
		<input class="Rk-Edit-URI" type="text" value="<%-node.uri%>" />
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    12
		<a class="Rk-Edit-Goto" href="<%-node.uri%>" target="_blank"></a>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    13
	</p>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    14
<% } %> <% if (options.show_node_editor_description) { %>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    15
	<p>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    16
		<label><%-renkan.translate("Description:")%></label>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    17
		<textarea class="Rk-Edit-Description"><%-node.description%></textarea>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    18
	</p>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    19
<% } %> <% if (options.show_node_editor_size) { %>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    20
	<p>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    21
		<span class="Rk-Editor-Label"><%-renkan.translate("Size:")%></span>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    22
		<a href="#" class="Rk-Edit-Size-Down">-</a>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    23
		<span class="Rk-Edit-Size-Value"><%-node.size%></span>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    24
		<a href="#" class="Rk-Edit-Size-Up">+</a>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    25
	</p>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    26
<% } %> <% if (options.show_node_editor_color) { %>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    27
	<div class="Rk-Editor-p">
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    28
		<span class="Rk-Editor-Label">
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    29
		<%-renkan.translate("Node color:")%></span>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    30
		<div class="Rk-Edit-ColorPicker-Wrapper">
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    31
			<span class="Rk-Edit-Color" style="background: <%-node.color%>;">
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    32
				<span class="Rk-Edit-ColorTip"></span>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    33
			</span>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    34
			<%= renkan.colorPicker %>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    35
			<span class="Rk-Edit-ColorPicker-Text"><%- renkan.translate("Choose color") %></span>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    36
		</div>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    37
	</div>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    38
<% } %> <% if (options.show_node_editor_image) { %>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    39
	<div class="Rk-Edit-ImgWrap">
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    40
		<div class="Rk-Edit-ImgPreview">
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    41
			<img src="<%-node.image || node.image_placeholder%>" />
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    42
			<% if (node.clip_path) { %>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    43
				<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewbox="0 0 1 1" preserveAspectRatio="none">
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    44
					<path style="stroke-width: .02; stroke:red; fill-opacity:.3; fill:red;" d="<%- node.clip_path %>" />
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    45
				</svg>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    46
			<% }%>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    47
		</div>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    48
	</div>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    49
	<p>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    50
		<label><%-renkan.translate("Image URL:")%></label>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    51
		<div>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    52
			<a class="Rk-Edit-Image-Del" href="#"></a>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    53
			<input class="Rk-Edit-Image" type="text" value='<%-node.image%>' />
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    54
		</div>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    55
	</p>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    56
<% if (options.allow_image_upload) { %>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    57
	<p>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    58
		<label><%-renkan.translate("Choose Image File:")%></label>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    59
		<input class="Rk-Edit-Image-File" type="file" accept="image/*" />
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    60
	</p>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    61
<% }%><% } %> <% if (options.show_node_editor_creator && node.has_creator) { %>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    62
	<p>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    63
		<span class="Rk-Editor-Label"><%-renkan.translate("Created by:")%></span>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    64
		<span class="Rk-UserColor" style="background: <%-node.created_by_color%>;"></span>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    65
		<%- shortenText(node.created_by_title, 25) %>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    66
	</p>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    67
<% } %> <% if (options.change_shapes) { %>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    68
	<p>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    69
		<label><%-renkan.translate("Shapes available")%>:</label>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    70
		<select class="Rk-Edit-Shape">
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    71
			<option class="Rk-Edit-Vocabulary-Property" value="circle"<% if (node.shape === "circle") { %> selected<% } %>>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    72
				<%- renkan.translate("Circle") %>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    73
			</option>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    74
			<option class="Rk-Edit-Vocabulary-Property" value="rectangle"<% if (node.shape === "rectangle") { %> selected<% } %>>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    75
				<%- renkan.translate("Square") %>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    76
			</option>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    77
			<option class="Rk-Edit-Vocabulary-Property" value="diamond"<% if (node.shape === "diamond") { %> selected<% } %>>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    78
				<%- renkan.translate("Diamond") %>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    79
			</option>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    80
			<option class="Rk-Edit-Vocabulary-Property" value="polygon"<% if (node.shape === "polygon") { %> selected<% } %>>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    81
				<%- renkan.translate("Hexagone") %>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    82
			</option>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    83
			<option class="Rk-Edit-Vocabulary-Property" value="ellipse"<% if (node.shape === "ellipse") { %> selected<% } %>>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    84
				<%- renkan.translate("Ellipse") %>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    85
			</option>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    86
			<option class="Rk-Edit-Vocabulary-Property" value="star"<% if (node.shape === "star") { %> selected<% } %>>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    87
				<%- renkan.translate("Star") %>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    88
			</option>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    89
		</select>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    90
	</p>
22393cbf4467 export the templates of nodeeditor to html files
rougeronj
parents:
diff changeset
    91
<% } %>