client/templates/edgeeditor.html
changeset 459 98cae534083d
parent 458 423bdf56d103
child 649 2b9c120dba55
--- a/client/templates/edgeeditor.html	Tue Jun 02 00:39:47 2015 +0200
+++ b/client/templates/edgeeditor.html	Wed Jun 03 13:16:46 2015 +0200
@@ -29,8 +29,9 @@
             </select>
         </p>
 <% } } %>
-<% if (options.show_edge_editor_color) { %>
+<% if (options.show_edge_editor_style) { %>
     <div class="Rk-Editor-p">
+      <% if (options.show_edge_editor_style_color) { %>
       <div id="Rk-Editor-p-color">
         <span class="Rk-Editor-Label"><%-renkan.translate("Edge color:")%></span>
         <div class="Rk-Edit-ColorPicker-Wrapper">
@@ -41,10 +42,27 @@
             <span class="Rk-Edit-ColorPicker-Text"><%- renkan.translate("Choose color") %></span>
         </div>
       </div>
+      <% } %>
+      <% if (options.show_edge_editor_style_dash) { %>
       <div id="Rk-Editor-p-dash">
         <span class="Rk-Editor-Label"><%-renkan.translate("Dash:")%></span>
         <input type="checkbox" name="Rk-Edit-Dash" class="Rk-Edit-Dash" <%- edge.dash %> />
       </div>
+      <% } %>
+      <% if (options.show_edge_editor_style_thickness) { %>
+      <div id="Rk-Editor-p-thickness">
+          <span class="Rk-Editor-Label"><%-renkan.translate("Thickness:")%></span>
+          <a href="#" class="Rk-Edit-Size-Btn" id="Rk-Edit-Thickness-Down">-</a>
+          <span class="Rk-Edit-Size-Disp" id="Rk-Edit-Thickness-Value"><%- edge.thickness %></span>
+          <a href="#" class="Rk-Edit-Size-Btn" id="Rk-Edit-Thickness-Up">+</a>
+      </div>
+      <% } %>
+      <% if (options.show_edge_editor_style_arrow) { %>
+      <div id="Rk-Editor-p-arrow">
+        <span class="Rk-Editor-Label"><%-renkan.translate("Arrow:")%></span>
+        <input type="checkbox" name="Rk-Edit-Arrow" class="Rk-Edit-Arrow" <%- edge.arrow %> />
+      </div>
+      <% } %>
     </div>
 <% } %>
 <% if (options.show_edge_editor_direction) { %>