diff options
author | Lei Yan | 2014-12-18 16:51:47 +0000 |
---|---|---|
committer | Lei Yan | 2014-12-18 16:51:47 +0000 |
commit | 4ea8b8a5efc848c99767894cbdbef2f135e3b83c (patch) | |
tree | cecfbdeb17d9ce468c284f4fd9cb7420544e680b /wqflask/wqflask/templates | |
parent | 5ec961a719246d5082814c8eb49ee3f3d7cea11e (diff) | |
download | genenetwork2-4ea8b8a5efc848c99767894cbdbef2f135e3b83c.tar.gz |
Committer: Lei Yan <lei@penguin.uthsc.edu>
On branch master
Diffstat (limited to 'wqflask/wqflask/templates')
-rwxr-xr-x | wqflask/wqflask/templates/docedit.html (renamed from wqflask/wqflask/templates/testhtmleditor.html) | 8 | ||||
-rwxr-xr-x | wqflask/wqflask/templates/docs.html | 5 |
2 files changed, 9 insertions, 4 deletions
diff --git a/wqflask/wqflask/templates/testhtmleditor.html b/wqflask/wqflask/templates/docedit.html index 1d258d0e..1a9e8ca8 100755 --- a/wqflask/wqflask/templates/testhtmleditor.html +++ b/wqflask/wqflask/templates/docedit.html @@ -1,18 +1,18 @@ {% extends "base.html" %} -{% block title %}Test html editor{% endblock %} +{% block title %}Edit: {{title}}{% endblock %} {% block content %} <div class="container"> - <h2>Test HTML Editor</h2> + <h3>Edit: {{title}}</h3> <form> <textarea name="ckcontent" id="ckcontent"> - Test HTML + {{content|safe}} </textarea> <script type="text/javascript" src="/static/packages/ckeditor/ckeditor.js"></script> <script type="text/javascript"> CKEDITOR.replace('ckcontent', { - height: '500px', + height: '650px', }); </script> </form> diff --git a/wqflask/wqflask/templates/docs.html b/wqflask/wqflask/templates/docs.html index cbaf1e70..08f95721 100755 --- a/wqflask/wqflask/templates/docs.html +++ b/wqflask/wqflask/templates/docs.html @@ -5,6 +5,11 @@ {% block content %} <div class="container"> <h3>{{title}}</h3> + <div style="text-align: right;"> + <a href="docedit?entry={{entry}}"> + <img style="width: 25px;" src="/static/images/edit.png"> + </a> + </div> {{content|safe}} </div> {% endblock %} |