Usunięcie nieużywanych już paneli.
[redakcja.git] / project / templates / explorer / panels / xmleditor.html
diff --git a/project/templates/explorer/panels/xmleditor.html b/project/templates/explorer/panels/xmleditor.html
deleted file mode 100644 (file)
index ef5976c..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-{% load toolbar_tags %}
-
-<div class="panel">
-    {% toolbar %}
-    <textarea name="text" width="480px">{{ text }}</textarea>
-</div>
-<script type="text/javascript" charset="utf-8">
-    (function() {
-        function resizeEditor(event, panel) {
-            var panel = panel || event.data.panel;
-            $('iframe', panel).height($(panel).height());
-        }
-        
-        panel(function(event, panel) {
-            console.log('loading panel', panel);
-            var textareaId = 'xmleditor-' + Math.ceil(Math.random() * 1000000000);
-            $('textarea', panel).attr('id', textareaId);
-            var editor = CodeMirror.fromTextArea(textareaId, {
-                parserfile: 'parsexml.js',
-                path: "/static/js/codemirror/",
-                stylesheet: "/static/css/xmlcolors.css",
-                parserConfig: {useHTMLKludges: false},
-                initCallback: function() {}
-            })
-            $(window).bind('resize', {'panel': panel}, resizeEditor);
-            resizeEditor(null, panel);
-        }, function(event, panel) {
-            console.log('unloaded xmleditor panel', panel);
-        })
-    })();
-</script>