diff options
author | supriya <supriya@dragbox.(none)> | 2012-06-11 16:24:50 +0530 |
---|---|---|
committer | supriya <supriya@dragbox.(none)> | 2012-06-11 16:24:50 +0530 |
commit | 04f1a3ffa2b83e2849d7e3f7902de0309cf7443c (patch) | |
tree | 11e029fa6a875d004a81aa2c5dd93cc75537be9b /gstudio/templates | |
parent | 833243ea72813e1e3c4256fc00b9e0576e66cf06 (diff) | |
download | gnowsys-04f1a3ffa2b83e2849d7e3f7902de0309cf7443c.tar.gz |
Gnowmacs editor added to gnowsys-studio
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 0c777b5..e016108 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 21c1c4b..192edb3 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"> |