client/templates/nodeeditor.html
changeset 649 2b9c120dba55
parent 600 e12243191095
child 650 b2e22052e9d6
equal deleted inserted replaced
648:e388117572d8 649:2b9c120dba55
     8         <div class="Rk-Edit-Title" contenteditable="true" id="Rk-Edit-Title-<%-node._id%>" ><%=node.title%></div>
     8         <div class="Rk-Edit-Title" contenteditable="true" id="Rk-Edit-Title-<%-node._id%>" ><%=node.title%></div>
     9     <% } else { %>
     9     <% } else { %>
    10         <input class="Rk-Edit-Title" type="text" value="<%-node.title%>" />
    10         <input class="Rk-Edit-Title" type="text" value="<%-node.title%>" />
    11     <% } %>
    11     <% } %>
    12 </p>
    12 </p>
    13 <% if (options.show_node_editor_uri) { %>
    13 <% if (options.show_node_title_style) { %>
       
    14     <div class="Rk-Editor-p-title-style">
       
    15         <div class="Rk-Editor-p-title-color">
       
    16             <span class="Rk-Editor-Label"><%-renkan.translate("Title color:")%></span>
       
    17             <span class="Rk-Edit-Color" style="background: <%-node.title_color%>;">
       
    18                 <span class="Rk-Edit-ColorTip"></span>
       
    19             </span>
       
    20             <%= renkan.colorPicker('Rk-Editor-ColorPicker-Title') %>
       
    21         </div>
       
    22         <div class="Rk-Editor-p-title-size">
       
    23             <span class="Rk-Editor-Label"><%-renkan.translate("Title size:")%></span>
       
    24             <a href="#" class="Rk-Edit-Size-Btn" id="Rk-Edit-Title-Size-Down">-</a>
       
    25             <span class="Rk-Edit-Size-Disp" id="Rk-Edit-Title-Size-Value"><%-node.title_size.toFixed(1)%></span>
       
    26             <a href="#" class="Rk-Edit-Size-Btn" id="Rk-Edit-Title-Size-Up">+</a>
       
    27         </div>
       
    28     </div>
       
    29 <% } %> <% if (options.show_node_editor_uri) { %>
    14     <p>
    30     <p>
    15         <label><%-renkan.translate("URI:")%></label>
    31         <label><%-renkan.translate("URI:")%></label>
    16         <input class="Rk-Edit-URI" type="text" value="<%-node.uri%>" />
    32         <input class="Rk-Edit-URI" type="text" value="<%-node.uri%>" />
    17         <a class="Rk-Edit-Goto" href="<%-node.uri%>" target="_blank"></a>
    33         <a class="Rk-Edit-Goto" href="<%-node.uri%>" target="_blank"></a>
    18     </p>
    34     </p>
    51         <%-renkan.translate("Node color:")%></span>
    67         <%-renkan.translate("Node color:")%></span>
    52         <div class="Rk-Edit-ColorPicker-Wrapper">
    68         <div class="Rk-Edit-ColorPicker-Wrapper">
    53             <span class="Rk-Edit-Color" style="background: <%-node.color%>;">
    69             <span class="Rk-Edit-Color" style="background: <%-node.color%>;">
    54                 <span class="Rk-Edit-ColorTip"></span>
    70                 <span class="Rk-Edit-ColorTip"></span>
    55             </span>
    71             </span>
    56             <%= renkan.colorPicker %>
    72             <%= renkan.colorPicker('Rk-Editor-ColorPicker-Node') %>
    57             <span class="Rk-Edit-ColorPicker-Text"><%- renkan.translate("Choose color") %></span>
    73             <span class="Rk-Edit-ColorPicker-Text"><%- renkan.translate("Choose color") %></span>
    58         </div>
    74         </div>
    59       </div>
    75       </div>
    60       <% } %>
    76       <% } %>
    61       <% if (options.show_node_editor_style_dash) { %>
    77       <% if (options.show_node_editor_style_dash) { %>