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