Show More
@@ -1,55 +1,60 | |||
|
1 | 1 | {% extends "page.html" %} |
|
2 | 2 | |
|
3 | 3 | {% block title %}{{page_title}}{% endblock %} |
|
4 | 4 | |
|
5 | 5 | {% block stylesheet %} |
|
6 | 6 | <link rel="stylesheet" href="{{ static_url('components/codemirror/lib/codemirror.css') }}"> |
|
7 | 7 | <link rel="stylesheet" href="{{ static_url('components/codemirror/addon/dialog/dialog.css') }}"> |
|
8 | <style> | |
|
9 | #texteditor-container { | |
|
10 | border-bottom: 1px solid #ccc; | |
|
11 | } | |
|
12 | </style> | |
|
8 | 13 | |
|
9 | 14 | {{super()}} |
|
10 | 15 | {% endblock %} |
|
11 | 16 | |
|
12 | 17 | {% block params %} |
|
13 | 18 | |
|
14 | 19 | data-base-url="{{base_url}}" |
|
15 | 20 | data-file-path="{{file_path}}" |
|
16 | 21 | |
|
17 | 22 | {% endblock %} |
|
18 | 23 | |
|
19 | 24 | {% block site %} |
|
20 | 25 | |
|
21 | 26 | <div id="menubar-container" class="container"> |
|
22 | 27 | <div id="menubar"> |
|
23 | 28 | <div id="menus" class="navbar navbar-default" role="navigation"> |
|
24 | 29 | <div class="container-fluid"> |
|
25 | 30 | <button type="button" class="btn btn-default navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> |
|
26 | 31 | <i class="fa fa-bars"></i> |
|
27 | 32 | <span class="navbar-text">Menu</span> |
|
28 | 33 | </button> |
|
29 | 34 | <ul class="nav navbar-nav navbar-right"> |
|
30 | 35 | <li id="notification_area"></li> |
|
31 | 36 | </ul> |
|
32 | 37 | <div class="navbar-collapse collapse"> |
|
33 | 38 | <ul class="nav navbar-nav"> |
|
34 | 39 | <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">File</a> |
|
35 | 40 | <ul id="file_menu" class="dropdown-menu"> |
|
36 | 41 | <li id="save_file"><a href="#">Save</a></li> |
|
37 | 42 | </ul> |
|
38 | 43 | </li> |
|
39 | 44 | </ul> |
|
40 | 45 | </div> |
|
41 | 46 | </div> |
|
42 | 47 | </div> |
|
43 | 48 | </div> |
|
44 | 49 | </div> |
|
45 | 50 | |
|
46 | <div id="texteditor-container"></div> | |
|
51 | <div id="texteditor-container" class="container"></div> | |
|
47 | 52 | |
|
48 | 53 | {% endblock %} |
|
49 | 54 | |
|
50 | 55 | {% block script %} |
|
51 | 56 | |
|
52 | 57 | {{super()}} |
|
53 | 58 | |
|
54 | 59 | <script src="{{ static_url("texteditor/js/main.js") }}" type="text/javascript" charset="utf-8"></script> |
|
55 | 60 | {% endblock %} |
General Comments 0
You need to be logged in to leave comments.
Login now