fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Templaty używają teraz ścieżek z konfiguracji dal plików statycznych.
[redakcja.git]
/
project
/
templates
/
explorer
/
panels
/
xmleditor.html
diff --git
a/project/templates/explorer/panels/xmleditor.html
b/project/templates/explorer/panels/xmleditor.html
index
0f26ccf
..
e2e6b0b
100644
(file)
--- a/
project/templates/explorer/panels/xmleditor.html
+++ b/
project/templates/explorer/panels/xmleditor.html
@@
-25,8
+25,8
@@
panel_hooks = {
var texteditor = CodeMirror.fromTextArea(textareaId, {
parserfile: 'parsexml.js',
var texteditor = CodeMirror.fromTextArea(textareaId, {
parserfile: 'parsexml.js',
- path: "
/static/
js/codemirror/",
- stylesheet: "
/static/
css/xmlcolors.css",
+ path: "
{{STATIC_URL}}
js/codemirror/",
+ stylesheet: "
{{STATIC_URL}}
css/xmlcolors.css",
parserConfig: {useHTMLKludges: false},
onChange: function() {
panel.trigger('panel:contentChanged', self);
parserConfig: {useHTMLKludges: false},
onChange: function() {
panel.trigger('panel:contentChanged', self);
@@
-64,7
+64,7
@@
panel_hooks = {
opacity: 0.9,
background: "#FBFBC6",
padding: "1px",
opacity: 0.9,
background: "#FBFBC6",
padding: "1px",
- fontSize: "12px"
,
+ fontSize: "12px"
}
});
}
});