X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/6c473f4c60fdc93c908b537ff71a5d77bc2ad98b..2995b6af11c75c66e6a3a398486bd01c70bfd016:/modules/nodePane/template.html diff --git a/modules/nodePane/template.html b/modules/nodePane/template.html index b87c236..b9a1254 100644 --- a/modules/nodePane/template.html +++ b/modules/nodePane/template.html @@ -1,23 +1,25 @@ -<div class="rng-module-nodePane"> - <fieldset> - <legend><%= gettext('Current node') %></legend> - <div> - <label>Tag</label> - <select class="rng-module-nodePane-tagSelect"> - <% var options = ['', 'section', 'header', 'div', 'span', 'aside']; %> - <% options.forEach(function(option) { %> - <option value="<%= option %>" <% if(option === '') { %>selected<% } %>><%= option %></option> - <% }); %> - </select> - </div> - <div> - <label>Klasa</label> - <select class="rng-module-nodePane-classSelect"> - <% var options = ['', 'author', 'title', 'cite', 'cite.code', 'cite.code.xml', 'list', 'list.items', 'item', 'uri', 'p', 'footnote', 'todo', 'emp', 'emph.tech'] %> - <% options.forEach(function(option) { %> - <option value="<%= option.replace(/\./g, '-') %>" <% if(option === '') { %>selected<% } %>><%= option %></option> - <% }); %> - </select> - </div> - </fieldset> +<div class="rng-module-nodePane"> + <fieldset> + <legend><%= gettext('Current node') %></legend> + <div> + <label>Tag</label> + <select class="rng-module-nodePane-tagSelect"> + <% var options = ['', 'section', 'header', 'div', 'span', 'aside']; %> + <% options.forEach(function(option) { %> + <option value="<%= option %>" <% if(option === '') { %>selected<% } %>><%= tagNames[option] %></option> + <% }); %> + </select> + </div> + <div> + <label>Klasa</label> + <select class="rng-module-nodePane-classSelect"> + <% var options = ['', 'author', 'title', 'cite', 'cite.code', 'cite.code.xml', 'list.items', 'list.items.enum', 'item', 'uri', 'p', 'footnote', 'todo', 'emp'] %> + <% options.forEach(function(option) { %> + <option value="<%= option.replace(/\./g, '-') %>" <% if(option === '') { %>selected<% } %>><%= classNames[option] %></option> + <% }); %> + </select> + </div> + <div class="metaFields"> + </div> + </fieldset> </div> \ No newline at end of file