client/templates/edgeeditor.html
changeset 459 98cae534083d
parent 458 423bdf56d103
child 649 2b9c120dba55
equal deleted inserted replaced
458:423bdf56d103 459:98cae534083d
    27                     <% }) %>
    27                     <% }) %>
    28                 <% }) %>
    28                 <% }) %>
    29             </select>
    29             </select>
    30         </p>
    30         </p>
    31 <% } } %>
    31 <% } } %>
    32 <% if (options.show_edge_editor_color) { %>
    32 <% if (options.show_edge_editor_style) { %>
    33     <div class="Rk-Editor-p">
    33     <div class="Rk-Editor-p">
       
    34       <% if (options.show_edge_editor_style_color) { %>
    34       <div id="Rk-Editor-p-color">
    35       <div id="Rk-Editor-p-color">
    35         <span class="Rk-Editor-Label"><%-renkan.translate("Edge color:")%></span>
    36         <span class="Rk-Editor-Label"><%-renkan.translate("Edge color:")%></span>
    36         <div class="Rk-Edit-ColorPicker-Wrapper">
    37         <div class="Rk-Edit-ColorPicker-Wrapper">
    37             <span class="Rk-Edit-Color" style="background: &lt;%-edge.color%>;">
    38             <span class="Rk-Edit-Color" style="background: &lt;%-edge.color%>;">
    38                 <span class="Rk-Edit-ColorTip"></span>
    39                 <span class="Rk-Edit-ColorTip"></span>
    39             </span>
    40             </span>
    40             <%= renkan.colorPicker %>
    41             <%= renkan.colorPicker %>
    41             <span class="Rk-Edit-ColorPicker-Text"><%- renkan.translate("Choose color") %></span>
    42             <span class="Rk-Edit-ColorPicker-Text"><%- renkan.translate("Choose color") %></span>
    42         </div>
    43         </div>
    43       </div>
    44       </div>
       
    45       <% } %>
       
    46       <% if (options.show_edge_editor_style_dash) { %>
    44       <div id="Rk-Editor-p-dash">
    47       <div id="Rk-Editor-p-dash">
    45         <span class="Rk-Editor-Label"><%-renkan.translate("Dash:")%></span>
    48         <span class="Rk-Editor-Label"><%-renkan.translate("Dash:")%></span>
    46         <input type="checkbox" name="Rk-Edit-Dash" class="Rk-Edit-Dash" <%- edge.dash %> />
    49         <input type="checkbox" name="Rk-Edit-Dash" class="Rk-Edit-Dash" <%- edge.dash %> />
    47       </div>
    50       </div>
       
    51       <% } %>
       
    52       <% if (options.show_edge_editor_style_thickness) { %>
       
    53       <div id="Rk-Editor-p-thickness">
       
    54           <span class="Rk-Editor-Label"><%-renkan.translate("Thickness:")%></span>
       
    55           <a href="#" class="Rk-Edit-Size-Btn" id="Rk-Edit-Thickness-Down">-</a>
       
    56           <span class="Rk-Edit-Size-Disp" id="Rk-Edit-Thickness-Value"><%- edge.thickness %></span>
       
    57           <a href="#" class="Rk-Edit-Size-Btn" id="Rk-Edit-Thickness-Up">+</a>
       
    58       </div>
       
    59       <% } %>
       
    60       <% if (options.show_edge_editor_style_arrow) { %>
       
    61       <div id="Rk-Editor-p-arrow">
       
    62         <span class="Rk-Editor-Label"><%-renkan.translate("Arrow:")%></span>
       
    63         <input type="checkbox" name="Rk-Edit-Arrow" class="Rk-Edit-Arrow" <%- edge.arrow %> />
       
    64       </div>
       
    65       <% } %>
    48     </div>
    66     </div>
    49 <% } %>
    67 <% } %>
    50 <% if (options.show_edge_editor_direction) { %>
    68 <% if (options.show_edge_editor_direction) { %>
    51     <p>
    69     <p>
    52         <span class="Rk-Edit-Direction"><%- renkan.translate("Change edge direction") %></span>
    70         <span class="Rk-Edit-Direction"><%- renkan.translate("Change edge direction") %></span>