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