diff options
Diffstat (limited to 'gstudio/templates')
-rw-r--r-- | gstudio/templates/gstudio/nodetype_detail.html | 24 | ||||
-rw-r--r-- | gstudio/templates/gstudio/skeleton.html | 35 |
2 files changed, 56 insertions, 3 deletions
diff --git a/gstudio/templates/gstudio/nodetype_detail.html b/gstudio/templates/gstudio/nodetype_detail.html index 0c777b54..e016108a 100644 --- a/gstudio/templates/gstudio/nodetype_detail.html +++ b/gstudio/templates/gstudio/nodetype_detail.html @@ -186,9 +186,29 @@ {% endfor %} <br/> {% endif %} <!-- Content --> - {% if object.content %} - <b>Content:<nbsp></b>{{object_content}} + {% if object.content %} + <b> + Content:<nbsp> + + <input type="button" id="editdata" value="Edit Content"/><ndsp><nbsp> + <input type="hidden" id="objectid" value="{{object.id}}"/> + <input type="hidden" id="title" value="{{object.title}}"/> + <input type="hidden" id="orgcontent" value="{{object.content_org}}"/> + </b> + {{object_content}}<br/> + + {% else %} + <b> + Content:<nbsp> <input type="button"id="editdata" value="Edit Content"/><ndsp><nbsp> + <input type="hidden" id="objectid" value="{{object.id}}"/> + + <input type="hidden" id="title" value="{{object.title}}"/> + <input type="hidden" id="orgcontent" value="{{object.content_org}}"/> + </b> + {{object_content}}<br/> + {% endif %} + <!-- Neighbourhood Listing ends --> <script type="text/javascript" > var s = 0 diff --git a/gstudio/templates/gstudio/skeleton.html b/gstudio/templates/gstudio/skeleton.html index 21c1c4b2..192edb3e 100644 --- a/gstudio/templates/gstudio/skeleton.html +++ b/gstudio/templates/gstudio/skeleton.html @@ -98,6 +98,37 @@ <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/jquery.ui.timepicker.js"></script> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> + <!-- Gnowmacs css, js --> + + <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/Gnowmacs/test/dl/js/thelib.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/Gnowmacs/src/js/jquery-1.7.1.min.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/Gnowmacs/src/js/jquery-ui-1.8.18.custom.min.js"></script> + + <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}gstudio/js/Gnowmacs/test/dl/css/default.css" /> + <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}gstudio/js/Gnowmacs/src/css/ymacs.css" /> + + + <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/Gnowmacs/src/js/jquery.ui.gnowmacs.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/Gnowmacs/src/js/ymacs.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/Gnowmacs/src/js/ymacs-keyboard.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/Gnowmacs/src/js/ymacs-regexp.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/Gnowmacs/src/js/ymacs-frame.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/Gnowmacs/src/js/ymacs-textprop.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/Gnowmacs/src/js/ymacs-exception.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/Gnowmacs/src/js/ymacs-interactive.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/Gnowmacs/src/js/ymacs-buffer.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/Gnowmacs/src/js/ymacs-marker.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/Gnowmacs/src/js/ymacs-commands.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/Gnowmacs/src/js/ymacs-commands-utils.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/Gnowmacs/src/js/ymacs-keymap.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/Gnowmacs/src/js/ymacs-keymap-isearch.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/Gnowmacs/src/js/ymacs-minibuffer.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/Gnowmacs/src/js/ymacs-tokenizer.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/Gnowmacs/src/js/ymacs-mode-paren-match.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/Gnowmacs/src/js/gnowmacs.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/Gnowmacs/src/js/savedata.js"></script> + <script type="text/javascript" src="{{STATIC_URL}}gstudio/js/Gnowmacs/src/js/ymacs-keymap-emacs.js"></script> + <script src="{{STATIC_URL}}gstudio/js/gstudio.js" type="text/javascript"></script> <!-- EXTRAHEAD --> {% block extrahead %}{% endblock %} @@ -150,7 +181,9 @@ {% endblock %} </div> - + <div id="gnoweditor"> + </div> + <div id="graphcss"> <div id="chart"> |