Refactoring: cleaning directories structure
[fnpeditor.git] / src / editor / modules / nodePane / template.html
diff --git a/src/editor/modules/nodePane/template.html b/src/editor/modules/nodePane/template.html
new file mode 100644 (file)
index 0000000..b9a1254
--- /dev/null
@@ -0,0 +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<% } %>><%= 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