##// END OF EJS Templates
fix bootstrap name conflicts...
Matthias BUSSONNIER -
Show More
@@ -1,77 +1,77 b''
1 1 /**
2 2 * Primary styles
3 3 *
4 4 * Author: IPython Development Team
5 5 */
6 6
7 7
8 8 body {
9 9 background-color: white;
10 10 /* This makes sure that the body covers the entire window and needs to
11 11 be in a different element than the display: box in wrapper below */
12 12 position: absolute;
13 13 left: 0px;
14 14 right: 0px;
15 15 top: 0px;
16 16 bottom: 0px;
17 17 overflow: visible;
18 18 }
19 19
20 20
21 21 div#header {
22 22 /* Initially hidden to prevent FLOUC */
23 23 display: none;
24 24 position: relative;
25 25 height: 40px;
26 26 padding: 5px;
27 27 margin: 0px;
28 28 width: 100%;
29 29 }
30 30
31 31 span#ipython_notebook {
32 32 position: absolute;
33 33 padding: 2px 2px 2px 5px;
34 34 }
35 35
36 span#ipython_notebook h1 img {
36 span#ipython_notebook img {
37 37 font-family: Verdana, "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
38 38 height: 24px;
39 39 text-decoration:none;
40 40 display: inline;
41 41 color: black;
42 42 }
43 43
44 44 #site {
45 45 width: 100%;
46 46 display: none;
47 47 }
48 48
49 49 /* We set the fonts by hand here to override the values in the theme */
50 50 .ui-widget {
51 51 font-family: "Lucinda Grande", "Lucinda Sans Unicode", Helvetica, Arial, Verdana, sans-serif;
52 52 }
53 53
54 54 .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
55 55 font-family: "Lucinda Grande", "Lucinda Sans Unicode", Helvetica, Arial, Verdana, sans-serif;
56 56 }
57 57
58 58 /* Smaller buttons */
59 59 .ui-button .ui-button-text {
60 60 padding: 0.2em 0.8em;
61 61 font-size: 77%;
62 62 }
63 63
64 64 input.ui-button {
65 65 padding: 0.3em 0.9em;
66 66 }
67 67
68 68 span#login_widget {
69 69 float: right;
70 70 }
71 71
72 72 .border-box-sizing {
73 73 box-sizing: border-box;
74 74 -moz-box-sizing: border-box;
75 75 -webkit-box-sizing: border-box;
76 76 }
77 77
@@ -1,133 +1,133 b''
1 1 /**
2 2 * Primary styles
3 3 *
4 4 * Author: IPython Development Team
5 5 */
6 6 /** WARNING IF YOU ARE EDITTING THIS FILE, if this is a .css file, It has a lot
7 7 * of chance of beeing generated from the ../less/[samename].less file, you can
8 8 * try to get back the less file by reverting somme commit in history
9 9 **/
10 10 /*
11 11 * We'll try to get something pretty, so we
12 12 * have some strange css to have the scroll bar on
13 13 * the left with fix button on the top right of the tooltip
14 14 */
15 15 @-moz-keyframes fadeOut {
16 16 from {
17 17 opacity: 1;
18 18 }
19 19 to {
20 20 opacity: 0;
21 21 }
22 22 }
23 23 @-webkit-keyframes fadeOut {
24 24 from {
25 25 opacity: 1;
26 26 }
27 27 to {
28 28 opacity: 0;
29 29 }
30 30 }
31 31 @-moz-keyframes fadeIn {
32 32 from {
33 33 opacity: 0;
34 34 }
35 35 to {
36 36 opacity: 1;
37 37 }
38 38 }
39 39 @-webkit-keyframes fadeIn {
40 40 from {
41 41 opacity: 0;
42 42 }
43 43 to {
44 44 opacity: 1;
45 45 }
46 46 }
47 .tooltip a {
47 .ipython_tooltip a {
48 48 float: right;
49 49 }
50 50 /*properties of tooltip after "expand"*/
51 51 .bigtooltip {
52 52 overflow: auto;
53 53 height: 200px;
54 54 -webkit-transition-property: height;
55 55 -webkit-transition-duration: 1s;
56 56 -moz-transition-property: height;
57 57 -moz-transition-duration: 1s;
58 58 transition-property: height;
59 59 transition-duration: 1s;
60 60 }
61 61 /*properties of tooltip before "expand"*/
62 62 .smalltooltip {
63 63 -webkit-transition-property: height;
64 64 -webkit-transition-duration: 1s;
65 65 -moz-transition-property: height;
66 66 -moz-transition-duration: 1s;
67 67 transition-property: height;
68 68 transition-duration: 1s;
69 69 text-overflow: ellipsis;
70 70 overflow: hidden;
71 71 height: 80px;
72 72 }
73 73 .tooltipbuttons {
74 74 position: absolute;
75 75 padding-right: 15px;
76 76 top: 0px;
77 77 right: 0px;
78 78 }
79 79 .tooltiptext {
80 80 /*avoid the button to overlap on some docstring*/
81 81
82 82 padding-right: 30px;
83 83 }
84 .tooltip {
84 .ipython_tooltip {
85 85 max-width: 700px;
86 86 border-radius: 4px;
87 87 -moz-box-shadow: 0px 6px 10px -1px #adadad;
88 88 -webkit-box-shadow: 0px 6px 10px -1px #adadad;
89 89 box-shadow: 0px 6px 10px -1px #adadad;
90 90 /*fade-in animation when inserted*/
91 91
92 92 -webkit-animation: fadeOut 800ms;
93 93 -moz-animation: fadeOut 800ms;
94 94 animation: fadeOut 800ms;
95 95 -webkit-animation: fadeIn 800ms;
96 96 -moz-animation: fadeIn 800ms;
97 97 animation: fadeIn 800ms;
98 98 vertical-align: middle;
99 99 background-color: #f7f7f7;
100 100 overflow: visible;
101 101 border: #bbbbbb 1px solid;
102 102 outline: none;
103 103 padding: 3px;
104 104 margin: 0px;
105 105 padding-left: 7px;
106 106 font-family: monospace;
107 107 min-height: 50px;
108 108 position: absolute;
109 109 }
110 110 .pretooltiparrow {
111 111 left: 0px;
112 112 margin: 0px;
113 113 top: -16px;
114 114 width: 40px;
115 115 height: 16px;
116 116 overflow: hidden;
117 117 position: absolute;
118 118 }
119 119 .pretooltiparrow:before {
120 120 background-color: #f7f7f7;
121 121 border: 1px #bbbbbb solid;
122 122 z-index: 11;
123 123 content: "";
124 124 position: absolute;
125 125 left: 15px;
126 126 top: 10px;
127 127 width: 25px;
128 128 height: 25px;
129 129 -webkit-transform: rotate(45deg);
130 130 -moz-transform: rotate(45deg);
131 131 -ms-transform: rotate(45deg);
132 132 -o-transform: rotate(45deg);
133 133 }
@@ -1,224 +1,224 b''
1 1 {% extends page.html %}
2 2 {% block stylesheet %}
3 3
4 4 {% if mathjax_url %}
5 5 <script type="text/javascript" src="{{mathjax_url}}?config=TeX-AMS_HTML" charset="utf-8"></script>
6 6 {% end %}
7 7 <script type="text/javascript">
8 8 // MathJax disabled, set as null to distingish from *missing* MathJax,
9 9 // where it will be undefined, and should prompt a dialog later.
10 10 window.mathjax_url = "{{mathjax_url}}";
11 11 </script>
12 12
13 13 <link rel="stylesheet" href="{{ static_url("codemirror/lib/codemirror.css") }}">
14 14 <link rel="stylesheet" href="{{ static_url("codemirror/theme/ipython.css") }}">
15 15
16 16 <link rel="stylesheet" href="{{ static_url("prettify/prettify.css") }}"/>
17 17
18 18 <link rel="stylesheet" href="{{ static_url("css/notebook.css") }}" type="text/css" />
19 19 <link rel="stylesheet" href="{{ static_url("css/tooltip.css") }}" type="text/css" />
20 20 <link rel="stylesheet" href="{{ static_url("css/renderedhtml.css") }}" type="text/css" />
21 21
22 22 <link rel="stylesheet" href="{{ static_url("css/printnotebook.css") }}" type="text/css" media="print"/>
23 23
24 24 {% end %}
25 25
26 26
27 27 {% block params %}
28 28
29 29 data-project={{project}}
30 30 data-base-project-url={{base_project_url}}
31 31 data-base-kernel-url={{base_kernel_url}}
32 32 data-read-only={{read_only and not logged_in}}
33 33 data-notebook-id={{notebook_id}}
34 34
35 35 {% end %}
36 36
37 37
38 38 {% block header %}
39 39
40 40 <span id="save_widget">
41 41 <span id="notebook_name"></span>
42 42 <span id="save_status"></span>
43 43 </span>
44 44
45 45 {% end %}
46 46
47 47
48 48 {% block site %}
49 49
50 50 <div id="menubar_container">
51 51 <div id="menubar">
52 52 <ul id="menus">
53 53 <li><a href="#">File</a>
54 54 <ul>
55 55 <li id="new_notebook"><a href="#">New</a></li>
56 56 <li id="open_notebook"><a href="#">Open...</a></li>
57 57 <hr/>
58 58 <li id="copy_notebook"><a href="#">Make a Copy...</a></li>
59 59 <li id="rename_notebook"><a href="#">Rename...</a></li>
60 60 <li id="save_notebook"><a href="#">Save</a></li>
61 61 <hr/>
62 62 <li><a href="#">Download as</a>
63 63 <ul>
64 64 <li id="download_ipynb"><a href="#">IPython (.ipynb)</a></li>
65 65 <li id="download_py"><a href="#">Python (.py)</a></li>
66 66 </ul>
67 67 </li>
68 68 <hr/>
69 69 <li id="print_notebook"><a href="/{{notebook_id}}/print" target="_blank">Print View</a></li>
70 70 <hr/>
71 71 <li id="kill_and_exit"><a href="#" >Close and halt</a></li>
72 72 </ul>
73 73 </li>
74 74 <li><a href="#">Edit</a>
75 75 <ul>
76 76 <li id="cut_cell"><a href="#">Cut Cell</a></li>
77 77 <li id="copy_cell"><a href="#">Copy Cell</a></li>
78 78 <li id="paste_cell" class="ui-state-disabled"><a href="#">Paste Cell</a></li>
79 79 <li id="paste_cell_above" class="ui-state-disabled"><a href="#">Paste Cell Above</a></li>
80 80 <li id="paste_cell_below" class="ui-state-disabled"><a href="#">Paste Cell Below</a></li>
81 81 <li id="delete_cell"><a href="#">Delete</a></li>
82 82 <hr/>
83 83 <li id="split_cell"><a href="#">Split Cell</a></li>
84 84 <li id="merge_cell_above"><a href="#">Merge Cell Above</a></li>
85 85 <li id="merge_cell_below"><a href="#">Merge Cell Below</a></li>
86 86 <hr/>
87 87 <li id="move_cell_up"><a href="#">Move Cell Up</a></li>
88 88 <li id="move_cell_down"><a href="#">Move Cell Down</a></li>
89 89 <hr/>
90 90 <li id="select_previous"><a href="#">Select Previous Cell</a></li>
91 91 <li id="select_next"><a href="#">Select Next Cell</a></li>
92 92 </ul>
93 93 </li>
94 94 <li><a href="#">View</a>
95 95 <ul>
96 96 <li id="toggle_header"><a href="#">Toggle Header</a></li>
97 97 <li id="toggle_toolbar"><a href="#">Toggle Toolbar</a></li>
98 98 </ul>
99 99 </li>
100 100 <li><a href="#">Insert</a>
101 101 <ul>
102 102 <li id="insert_cell_above"><a href="#">Insert Cell Above</a></li>
103 103 <li id="insert_cell_below"><a href="#">Insert Cell Below</a></li>
104 104 </ul>
105 105 </li>
106 106 <li><a href="#">Cell</a>
107 107 <ul>
108 108 <li id="run_cell"><a href="#">Run</a></li>
109 109 <li id="run_cell_in_place"><a href="#">Run in Place</a></li>
110 110 <li id="run_all_cells"><a href="#">Run All</a></li>
111 111 <hr/>
112 112 <li id="to_code"><a href="#">Code</a></li>
113 113 <li id="to_markdown"><a href="#">Markdown </a></li>
114 114 <li id="to_raw"><a href="#">Raw Text</a></li>
115 115 <li id="to_heading1"><a href="#">Heading 1</a></li>
116 116 <li id="to_heading2"><a href="#">Heading 2</a></li>
117 117 <li id="to_heading3"><a href="#">Heading 3</a></li>
118 118 <li id="to_heading4"><a href="#">Heading 4</a></li>
119 119 <li id="to_heading5"><a href="#">Heading 5</a></li>
120 120 <li id="to_heading6"><a href="#">Heading 6</a></li>
121 121 <hr/>
122 122 <li id="toggle_output"><a href="#">Toggle Current Output</a></li>
123 123 <li id="all_outputs"><a href="#">All Output</a>
124 124 <ul>
125 125 <li id="expand_all_output"><a href="#">Expand</a></li>
126 126 <li id="scroll_all_output"><a href="#">Scroll Long</a></li>
127 127 <li id="collapse_all_output"><a href="#">Collapse</a></li>
128 128 <li id="clear_all_output"><a href="#">Clear</a></li>
129 129 </ul>
130 130 </li>
131 131 </ul>
132 132 </li>
133 133 <li><a href="#">Kernel</a>
134 134 <ul>
135 135 <li id="int_kernel"><a href="#">Interrupt</a></li>
136 136 <li id="restart_kernel"><a href="#">Restart</a></li>
137 137 </ul>
138 138 </li>
139 139 <li><a href="#">Help</a>
140 140 <ul>
141 141 <li><a href="http://ipython.org/documentation.html" target="_blank">IPython Help</a></li>
142 142 <li><a href="http://ipython.org/ipython-doc/stable/interactive/htmlnotebook.html" target="_blank">Notebook Help</a></li>
143 143 <li id="keyboard_shortcuts"><a href="#">Keyboard Shortcuts</a></li>
144 144 <hr/>
145 145 <li><a href="http://docs.python.org" target="_blank">Python</a></li>
146 146 <li><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></li>
147 147 <li><a href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a></li>
148 148 <li><a href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a></li>
149 149 <li><a href="http://matplotlib.sourceforge.net/" target="_blank">Matplotlib</a></li>
150 150 </ul>
151 151 </li>
152 152 </ul>
153 153
154 154 </div>
155 155 <div id="notification_area">
156 156 </div>
157 157 </div>
158 158
159 159
160 160 <div id="maintoolbar"></div>
161 161
162 162 <div id="main_app">
163 163
164 164 <div id="notebook_panel">
165 165 <div id="notebook"></div>
166 166 <div id="pager_splitter"></div>
167 167 <div id="pager_container">
168 168 <div id='pager_button_area'>
169 169 </div>
170 170 <div id="pager"></div>
171 171 </div>
172 172 </div>
173 173
174 174 </div>
175 <div id='tooltip' class='tooltip ui-corner-all' style='display:none'></div>
175 <div id='tooltip' class='ipython_tooltip ui-corner-all' style='display:none'></div>
176 176
177 177
178 178 {% end %}
179 179
180 180
181 181 {% block script %}
182 182
183 183 <script src="{{ static_url("codemirror/lib/codemirror.js") }}" charset="utf-8"></script>
184 184 <script src="{{ static_url("codemirror/lib/util/loadmode.js") }}" charset="utf-8"></script>
185 185 <script src="{{ static_url("codemirror/lib/util/multiplex.js") }}" charset="utf-8"></script>
186 186 <script src="{{ static_url("codemirror/mode/python/python.js") }}" charset="utf-8"></script>
187 187 <script src="{{ static_url("codemirror/mode/htmlmixed/htmlmixed.js") }}" charset="utf-8"></script>
188 188 <script src="{{ static_url("codemirror/mode/xml/xml.js") }}" charset="utf-8"></script>
189 189 <script src="{{ static_url("codemirror/mode/javascript/javascript.js") }}" charset="utf-8"></script>
190 190 <script src="{{ static_url("codemirror/mode/css/css.js") }}" charset="utf-8"></script>
191 191 <script src="{{ static_url("codemirror/mode/rst/rst.js") }}" charset="utf-8"></script>
192 192 <script src="{{ static_url("codemirror/mode/markdown/markdown.js") }}" charset="utf-8"></script>
193 193
194 194 <script src="{{ static_url("pagedown/Markdown.Converter.js") }}" charset="utf-8"></script>
195 195
196 196 <script src="{{ static_url("prettify/prettify.js") }}" charset="utf-8"></script>
197 197 <script src="{{ static_url("dateformat/date.format.js") }}" charset="utf-8"></script>
198 198
199 199 <script src="{{ static_url("js/events.js") }}" type="text/javascript" charset="utf-8"></script>
200 200 <script src="{{ static_url("js/utils.js") }}" type="text/javascript" charset="utf-8"></script>
201 201 <script src="{{ static_url("js/layoutmanager.js") }}" type="text/javascript" charset="utf-8"></script>
202 202 <script src="{{ static_url("js/initmathjax.js") }}" type="text/javascript" charset="utf-8"></script>
203 203 <script src="{{ static_url("js/outputarea.js") }}" type="text/javascript" charset="utf-8"></script>
204 204 <script src="{{ static_url("js/cell.js") }}" type="text/javascript" charset="utf-8"></script>
205 205 <script src="{{ static_url("js/codecell.js") }}" type="text/javascript" charset="utf-8"></script>
206 206 <script src="{{ static_url("js/completer.js") }}" type="text/javascript" charset="utf-8"></script>
207 207 <script src="{{ static_url("js/textcell.js") }}" type="text/javascript" charset="utf-8"></script>
208 208 <script src="{{ static_url("js/kernel.js") }}" type="text/javascript" charset="utf-8"></script>
209 209 <script src="{{ static_url("js/savewidget.js") }}" type="text/javascript" charset="utf-8"></script>
210 210 <script src="{{ static_url("js/quickhelp.js") }}" type="text/javascript" charset="utf-8"></script>
211 211 <script src="{{ static_url("js/pager.js") }}" type="text/javascript" charset="utf-8"></script>
212 212 <script src="{{ static_url("js/menubar.js") }}" type="text/javascript" charset="utf-8"></script>
213 213 <script src="{{ static_url("js/toolbar.js") }}" type="text/javascript" charset="utf-8"></script>
214 214 <script src="{{ static_url("js/maintoolbar.js") }}" type="text/javascript" charset="utf-8"></script>
215 215 <script src="{{ static_url("js/notebook.js") }}" type="text/javascript" charset="utf-8"></script>
216 216 <script src="{{ static_url("js/notificationwidget.js") }}" type="text/javascript" charset="utf-8"></script>
217 217 <script src="{{ static_url("js/notificationarea.js") }}" type="text/javascript" charset="utf-8"></script>
218 218 <script src="{{ static_url("js/tooltip.js") }}" type="text/javascript" charset="utf-8"></script>
219 219 <script src="{{ static_url("js/config.js") }}" type="text/javascript" charset="utf-8"></script>
220 220 <script src="{{ static_url("js/notebookmain.js") }}" type="text/javascript" charset="utf-8"></script>
221 221
222 222 <script src="{{ static_url("js/contexthint.js") }}" charset="utf-8"></script>
223 223
224 224 {% end %}
@@ -1,62 +1,62 b''
1 1 <!DOCTYPE HTML>
2 2 <html>
3 3
4 4 <head>
5 5 <meta charset="utf-8">
6 6
7 7 <title>{% block title %}IPython Notebook{% end %}</title>
8 8
9 9 <link rel="stylesheet" href="{{static_url("jquery/css/themes/base/jquery-ui.min.css") }}" type="text/css" />
10 10 <link rel="stylesheet" href="{{static_url("css/boilerplate.css") }}" type="text/css" />
11 11 <link rel="stylesheet" href="{{static_url("css/fbm.css") }}" type="text/css" />
12 12 <link rel="stylesheet" href="{{static_url("css/page.css") }}" type="text/css"/>
13 13 {% block stylesheet %}
14 14 {% end %}
15 15 <link rel="stylesheet" href="{{ static_url("css/custom.css") }}" type="text/css" />
16 16
17 17
18 18 {% block meta %}
19 19 {% end %}
20 20
21 21 </head>
22 22
23 23 <body {% block params %}{% end %}>
24 24
25 25 <div id="header">
26 <span id="ipython_notebook"><h1><a href={{base_project_url}} alt='dashboard'><img src='{{static_url("ipynblogo.png") }}' alt='IPython Notebook'/></a></h1></span>
26 <span id="ipython_notebook"><div><a href={{base_project_url}} alt='dashboard'><img src='{{static_url("ipynblogo.png") }}' alt='IPython Notebook'/></a></div></span>
27 27
28 28 {% block login_widget %}
29 29
30 30 <span id="login_widget">
31 31 {% if logged_in %}
32 32 <button id="logout">Logout</button>
33 33 {% elif login_available and not logged_in %}
34 34 <button id="login">Login</button>
35 35 {% end %}
36 36 </span>
37 37
38 38 {% end %}
39 39
40 40 {% block header %}
41 41 {% end %}
42 42 </div>
43 43
44 44 <div id="site">
45 45 {% block site %}
46 46 {% end %}
47 47 </div>
48 48
49 49 <script src="{{static_url("jquery/js/jquery-1.7.1.min.js") }}" type="text/javascript" charset="utf-8"></script>
50 50 <script src="{{static_url("jquery/js/jquery-ui.min.js") }}" type="text/javascript" charset="utf-8"></script>
51 51 <script src="{{static_url("js/namespace.js") }}" type="text/javascript" charset="utf-8"></script>
52 52 <script src="{{static_url("js/page.js") }}" type="text/javascript" charset="utf-8"></script>
53 53 <script src="{{static_url("js/loginwidget.js") }}" type="text/javascript" charset="utf-8"></script>
54 54
55 55 {% block script %}
56 56 {% end %}
57 57
58 58 <script src="{{static_url("js/custom.js") }}" type="text/javascript" charset="utf-8"></script>
59 59
60 60 </body>
61 61
62 62 </html>
General Comments 0
You need to be logged in to leave comments. Login now