##// END OF EJS Templates
make file and other less
Bussonnier Matthias -
Show More
@@ -0,0 +1,7 b''
1
2 .PHONY: css
3
4 default: css
5
6 css: less/style.less
7 lessc -x less/style.less css/style.min.css
@@ -1,105 +1,118 b''
1 .hbox{display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;}
2 .hbox>*{-webkit-box-flex:0;-moz-box-flex:0;box-flex:0;}
3 .vbox{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;}
4 .vbox>*{-webkit-box-flex:0;-moz-box-flex:0;box-flex:0;}
5 .reverse{-webkit-box-direction:reverse;-moz-box-direction:reverse;box-direction:reverse;}
6 .box-flex0{-webkit-box-flex:0;-moz-box-flex:0;box-flex:0;}
7 .box-flex1,.box-flex{-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;}
8 .box-flex2{-webkit-box-flex:2;-moz-box-flex:2;box-flex:2;}
9 .box-group1{-webkit-box-flex-group:1;-moz-box-flex-group:1;box-flex-group:1;}
10 .box-group2{-webkit-box-flex-group:2;-moz-box-flex-group:2;box-flex-group:2;}
11 .start{-webkit-box-pack:start;-moz-box-pack:start;box-pack:start;}
12 .end{-webkit-box-pack:end;-moz-box-pack:end;box-pack:end;}
13 .center{-webkit-box-pack:center;-moz-box-pack:center;box-pack:center;}
1 .corner-all{border-radius:3px;}
14 .corner-all{border-radius:3px;}
2 body{overflow:hidden;background-color:#ffffff;}
15 body{overflow:hidden;background-color:#ffffff;}
3 span#save_widget{padding:5px;margin:0px 0px 0px 300px;display:inline-block;}
16 span#save_widget{padding:5px;margin:0px 0px 0px 300px;display:inline-block;}
4 span#notebook_name{height:1em;line-height:1em;padding:3px;border:none;font-size:146.5%;}
17 span#notebook_name{height:1em;line-height:1em;padding:3px;border:none;font-size:146.5%;}
5 .ui-menubar-item .ui-button .ui-button-text{padding:0.4em 1.0em;font-size:100%;}
18 .ui-menubar-item .ui-button .ui-button-text{padding:0.4em 1.0em;font-size:100%;}
6 .ui-menu{-moz-box-shadow:0px 6px 10px -1px #adadad;-webkit-box-shadow:0px 6px 10px -1px #adadad;box-shadow:0px 6px 10px -1px #adadad;}
19 .ui-menu{-moz-box-shadow:0px 6px 10px -1px #adadad;-webkit-box-shadow:0px 6px 10px -1px #adadad;box-shadow:0px 6px 10px -1px #adadad;}
7 .ui-menu .ui-menu-item a{border:1px solid transparent;padding:2px 1.6em;}
20 .ui-menu .ui-menu-item a{border:1px solid transparent;padding:2px 1.6em;}
8 .ui-menu .ui-menu-item a.ui-state-focus{margin:0;}
21 .ui-menu .ui-menu-item a.ui-state-focus{margin:0;}
9 .ui-menu hr{margin:0.3em 0;}
22 .ui-menu hr{margin:0.3em 0;}
10 #menubar_container{position:relative;}
23 #menubar_container{position:relative;}
11 #notification_area{position:absolute;right:0px;top:0px;height:25px;padding:3px 0px;padding-right:3px;z-index:10;}
24 #notification_area{position:absolute;right:0px;top:0px;height:25px;padding:3px 0px;padding-right:3px;z-index:10;}
12 .notification_widget{float:right;right:0px;top:1px;height:25px;padding:3px 6px;z-index:10;}
25 .notification_widget{float:right;right:0px;top:1px;height:25px;padding:3px 6px;z-index:10;}
13 .toolbar{padding:3px 15px;border-bottom:1px #e0e0e0 solid;}
26 .toolbar{padding:3px 15px;border-bottom:1px #e0e0e0 solid;}
14 #cell_type{font-size:85%;}
27 #cell_type{font-size:85%;}
15 #ipython-main-app{width:100%;position:relative;}
28 #ipython-main-app{width:100%;position:relative;}
16 span#quick_help_area{position:static;padding:5px 0px;margin:0px 0px 0px 0px;}
29 span#quick_help_area{position:static;padding:5px 0px;margin:0px 0px 0px 0px;}
17 .help_string{float:right;width:170px;padding:0px 5px;text-align:left;font-size:85%;}
30 .help_string{float:right;width:170px;padding:0px 5px;text-align:left;font-size:85%;}
18 .help_string_label{float:right;font-size:85%;}
31 .help_string_label{float:right;font-size:85%;}
19 div#notebook_panel{margin:0px 0px 0px 0px;padding:0px;}
32 div#notebook_panel{margin:0px 0px 0px 0px;padding:0px;}
20 div#notebook{overflow-y:scroll;overflow-x:auto;width:100%;padding:5px 5px 15px 5px;margin:0px;}
33 div#notebook{overflow-y:scroll;overflow-x:auto;width:100%;padding:5px 5px 15px 5px;margin:0px;}
21 div#pager_splitter{height:8px;}
34 div#pager_splitter{height:8px;}
22 #pager_container{position:relative;}
35 #pager_container{position:relative;}
23 div#pager{padding:15px;overflow:auto;display:none;}
36 div#pager{padding:15px;overflow:auto;display:none;}
24 div.ui-widget-content{border:1px solid #e0e0e0;outline:none;}
37 div.ui-widget-content{border:1px solid #e0e0e0;outline:none;}
25 .cell{border:1px solid transparent;}.cell.selected{border-radius:3px;border-radius:3px;border-radius:3px;background-color:#fafafa;border:thin #e0e0e0 solid;}
38 .cell{border:1px solid transparent;}.cell.selected{border-radius:3px;border-radius:3px;border-radius:3px;background-color:#fafafa;border:thin #e0e0e0 solid;}
26 div.cell{width:100%;padding:5px 5px 5px 0px;margin:2px 0px 2px 0px;}
39 div.cell{width:100%;padding:5px 5px 5px 0px;margin:2px 0px 2px 0px;}
27 div.prompt{width:11ex;padding:0.4em;margin:0px;font-family:monospace;text-align:right;}
40 div.prompt{width:11ex;padding:0.4em;margin:0px;font-family:monospace;text-align:right;}
28 div.input{page-break-inside:avoid;}
41 div.input{page-break-inside:avoid;}
29 div.input_area{color:black;border:1px solid #e0e0e0;border-radius:3px;border-radius:3px;border-radius:3px;background:#f7f7f7;}
42 div.input_area{color:black;border:1px solid #e0e0e0;border-radius:3px;border-radius:3px;border-radius:3px;background:#f7f7f7;}
30 div.input_prompt{color:navy;border-top:1px solid transparent;}
43 div.input_prompt{color:navy;border-top:1px solid transparent;}
31 div.output_wrapper{margin-top:5px;margin-left:5px;width:100%;position:relative;}
44 div.output_wrapper{margin-top:5px;margin-left:5px;width:100%;position:relative;}
32 div.output_scroll{height:24em;width:100%;overflow:auto;border-radius:3px;border-radius:3px;border-radius:3px;box-shadow:inset 0 2px 8px rgba(0, 0, 0, 0.8);}
45 div.output_scroll{height:24em;width:100%;overflow:auto;border-radius:3px;border-radius:3px;border-radius:3px;box-shadow:inset 0 2px 8px rgba(0, 0, 0, 0.8);}
33 div.output_collapsed{margin-right:5px;}
46 div.output_collapsed{margin-right:5px;}
34 div.out_prompt_overlay{height:100%;padding:0px;position:absolute;border-radius:3px;border-radius:3px;border-radius:3px;}
47 div.out_prompt_overlay{height:100%;padding:0px;position:absolute;border-radius:3px;border-radius:3px;border-radius:3px;}
35 div.out_prompt_overlay:hover{box-shadow:inset 0 0 1px #000;background:rgba(240, 240, 240, 0.5);}
48 div.out_prompt_overlay:hover{box-shadow:inset 0 0 1px #000;background:rgba(240, 240, 240, 0.5);}
36 div.output_prompt{color:darkred;margin:0 5px 0 -5px;}
49 div.output_prompt{color:darkred;margin:0 5px 0 -5px;}
37 div.output_area{padding:0px;page-break-inside:avoid;}
50 div.output_area{padding:0px;page-break-inside:avoid;}
38 div.output_subarea{padding:0.44em 0.4em 0.4em 1px;}
51 div.output_subarea{padding:0.44em 0.4em 0.4em 1px;}
39 div.output_text{text-align:left;color:black;font-family:monospace;}
52 div.output_text{text-align:left;color:black;font-family:monospace;}
40 div.output_stream{padding-top:0.0em;padding-bottom:0.0em;}
53 div.output_stream{padding-top:0.0em;padding-bottom:0.0em;}
41 div.output_stderr{background:#fdd;}
54 div.output_stderr{background:#fdd;}
42 div.output_latex{text-align:left;color:black;}
55 div.output_latex{text-align:left;color:black;}
43 div.text_cell{padding:5px 5px 5px 5px;}
56 div.text_cell{padding:5px 5px 5px 5px;}
44 div.text_cell_input{color:black;border:1px solid #e0e0e0;border-radius:3px;border-radius:3px;border-radius:3px;background:#f7f7f7;}
57 div.text_cell_input{color:black;border:1px solid #e0e0e0;border-radius:3px;border-radius:3px;border-radius:3px;background:#f7f7f7;}
45 div.text_cell_render{font-family:"Helvetica Neue",Arial,Helvetica,Geneva,sans-serif;outline:none;resize:none;width:inherit;border-style:none;padding:5px;color:black;}
58 div.text_cell_render{font-family:"Helvetica Neue",Arial,Helvetica,Geneva,sans-serif;outline:none;resize:none;width:inherit;border-style:none;padding:5px;color:black;}
46 .CodeMirror{line-height:1.231;}
59 .CodeMirror{line-height:1.231;}
47 .CodeMirror-scroll{height:auto;overflow-y:hidden;overflow-x:auto;}
60 .CodeMirror-scroll{height:auto;overflow-y:hidden;overflow-x:auto;}
48 .ansiblack{color:black;}
61 .ansiblack{color:black;}
49 .ansired{color:darkred;}
62 .ansired{color:darkred;}
50 .ansigreen{color:darkgreen;}
63 .ansigreen{color:darkgreen;}
51 .ansiyellow{color:brown;}
64 .ansiyellow{color:brown;}
52 .ansiblue{color:darkblue;}
65 .ansiblue{color:darkblue;}
53 .ansipurple{color:darkviolet;}
66 .ansipurple{color:darkviolet;}
54 .ansicyan{color:steelblue;}
67 .ansicyan{color:steelblue;}
55 .ansigrey{color:grey;}
68 .ansigrey{color:grey;}
56 .ansibold{font-weight:bold;}
69 .ansibold{font-weight:bold;}
57 .completions{position:absolute;z-index:10;overflow:hidden;border:1px solid #e0e0e0;}
70 .completions{position:absolute;z-index:10;overflow:hidden;border:1px solid #e0e0e0;}
58 .completions select{background:white;outline:none;border:none;padding:0px;margin:0px;overflow:auto;font-family:monospace;}
71 .completions select{background:white;outline:none;border:none;padding:0px;margin:0px;overflow:auto;font-family:monospace;}
59 option.context{background-color:#DEF7FF;}
72 option.context{background-color:#DEF7FF;}
60 option.introspection{background-color:#EBF4EB;}
73 option.introspection{background-color:#EBF4EB;}
61 .completions p b{font-weight:bold;}
74 .completions p b{font-weight:bold;}
62 .completions p{background:#DDF;border-bottom:black solid 1px;padding:1px;font-family:monospace;}
75 .completions p{background:#DDF;border-bottom:black solid 1px;padding:1px;font-family:monospace;}
63 pre.dialog{background-color:#f7f7f7;border:1px solid #ddd;border-radius:3px;border-radius:3px;border-radius:3px;padding:0.4em;padding-left:2em;}
76 pre.dialog{background-color:#f7f7f7;border:1px solid #ddd;border-radius:3px;border-radius:3px;border-radius:3px;padding:0.4em;padding-left:2em;}
64 p.dialog{padding:0.2em;}
77 p.dialog{padding:0.2em;}
65 .shortcut_key{display:inline-block;width:15ex;text-align:right;font-family:monospace;}
78 .shortcut_key{display:inline-block;width:15ex;text-align:right;font-family:monospace;}
66 pre,code,kbd,samp{white-space:pre-wrap;}
79 pre,code,kbd,samp{white-space:pre-wrap;}
67 #fonttest{font-family:monospace;}
80 #fonttest{font-family:monospace;}
68 .js-error{color:darkred;}
81 .js-error{color:darkred;}
69 @media print{body{overflow:visible !important;} div#notebook{overflow:visible !important;} .ui-widget-content{border:0px;} #save_widget{margin:0px !important;} #header,#pager,#pager_splitter,#menubar,#toolbar{display:none !important;} .cell{border:none !important;}}.rendered_html{color:black;}
82 @media print{body{overflow:visible !important;} div#notebook{overflow:visible !important;} .ui-widget-content{border:0px;} #save_widget{margin:0px !important;} #header,#pager,#pager_splitter,#menubar,#toolbar{display:none !important;} .cell{border:none !important;}}.rendered_html{color:black;}
70 .rendered_html em{font-style:italic;}
83 .rendered_html em{font-style:italic;}
71 .rendered_html strong{font-weight:bold;}
84 .rendered_html strong{font-weight:bold;}
72 .rendered_html u{text-decoration:underline;}
85 .rendered_html u{text-decoration:underline;}
73 .rendered_html :link{text-decoration:underline;}
86 .rendered_html :link{text-decoration:underline;}
74 .rendered_html :visited{text-decoration:underline;}
87 .rendered_html :visited{text-decoration:underline;}
75 .rendered_html h1{font-size:197%;margin:.65em 0;font-weight:bold;}
88 .rendered_html h1{font-size:197%;margin:.65em 0;font-weight:bold;}
76 .rendered_html h2{font-size:153.9%;margin:.75em 0;font-weight:bold;}
89 .rendered_html h2{font-size:153.9%;margin:.75em 0;font-weight:bold;}
77 .rendered_html h3{font-size:123.1%;margin:.85em 0;font-weight:bold;}
90 .rendered_html h3{font-size:123.1%;margin:.85em 0;font-weight:bold;}
78 .rendered_html h4{font-size:100% margin: 0.95em 0;font-weight:bold;}
91 .rendered_html h4{font-size:100% margin: 0.95em 0;font-weight:bold;}
79 .rendered_html h5{font-size:85%;margin:1.5em 0;font-weight:bold;}
92 .rendered_html h5{font-size:85%;margin:1.5em 0;font-weight:bold;}
80 .rendered_html h6{font-size:77%;margin:1.65em 0;font-weight:bold;}
93 .rendered_html h6{font-size:77%;margin:1.65em 0;font-weight:bold;}
81 .rendered_html ul{list-style:disc;margin:1em 2em;}
94 .rendered_html ul{list-style:disc;margin:1em 2em;}
82 .rendered_html ul ul{list-style:square;margin:0em 2em;}
95 .rendered_html ul ul{list-style:square;margin:0em 2em;}
83 .rendered_html ul ul ul{list-style:circle;margin-left:0em 2em;}
96 .rendered_html ul ul ul{list-style:circle;margin-left:0em 2em;}
84 .rendered_html ol{list-style:upper-roman;margin:1em 2em;}
97 .rendered_html ol{list-style:upper-roman;margin:1em 2em;}
85 .rendered_html ol ol{list-style:upper-alpha;margin:0em 2em;}
98 .rendered_html ol ol{list-style:upper-alpha;margin:0em 2em;}
86 .rendered_html ol ol ol{list-style:decimal;margin:0em 2em;}
99 .rendered_html ol ol ol{list-style:decimal;margin:0em 2em;}
87 .rendered_html ol ol ol ol{list-style:lower-alpha;margin:0em 2em;}
100 .rendered_html ol ol ol ol{list-style:lower-alpha;margin:0em 2em;}
88 .rendered_html ol ol ol ol ol{list-style:lower-roman;margin:0em 2em;}
101 .rendered_html ol ol ol ol ol{list-style:lower-roman;margin:0em 2em;}
89 .rendered_html hr{color:black;background-color:black;}
102 .rendered_html hr{color:black;background-color:black;}
90 .rendered_html pre{margin:1em 2em;}
103 .rendered_html pre{margin:1em 2em;}
91 .rendered_html blockquote{margin:1em 2em;}
104 .rendered_html blockquote{margin:1em 2em;}
92 .rendered_html table{border:1px solid black;border-collapse:collapse;margin:1em 2em;}
105 .rendered_html table{border:1px solid black;border-collapse:collapse;margin:1em 2em;}
93 .rendered_html td{border:1px solid black;text-align:left;vertical-align:middle;padding:4px;}
106 .rendered_html td{border:1px solid black;text-align:left;vertical-align:middle;padding:4px;}
94 .rendered_html th{border:1px solid black;text-align:left;vertical-align:middle;padding:4px;font-weight:bold;}
107 .rendered_html th{border:1px solid black;text-align:left;vertical-align:middle;padding:4px;font-weight:bold;}
95 .rendered_html tr{border:1px solid black;}
108 .rendered_html tr{border:1px solid black;}
96 .rendered_html p+p{margin-top:1em;}
109 .rendered_html p+p{margin-top:1em;}
97 .corner-all{border-radius:3px;}
110 .corner-all{border-radius:3px;}
98 @-moz-keyframes fadeOut{from{opacity:1;} to{opacity:0;}}@-webkit-keyframes fadeOut{from{opacity:1;} to{opacity:0;}}@-moz-keyframes fadeIn{from{opacity:0;} to{opacity:1;}}@-webkit-keyframes fadeIn{from{opacity:0;} to{opacity:1;}}.bigtooltip{overflow:auto;height:200px;-webkit-transition-property:height;-webkit-transition-duration:1s;-moz-transition-property:height;-moz-transition-duration:1s;transition-property:height;transition-duration:1s;}
111 @-moz-keyframes fadeOut{from{opacity:1;} to{opacity:0;}}@-webkit-keyframes fadeOut{from{opacity:1;} to{opacity:0;}}@-moz-keyframes fadeIn{from{opacity:0;} to{opacity:1;}}@-webkit-keyframes fadeIn{from{opacity:0;} to{opacity:1;}}.bigtooltip{overflow:auto;height:200px;-webkit-transition-property:height;-webkit-transition-duration:1s;-moz-transition-property:height;-moz-transition-duration:1s;transition-property:height;transition-duration:1s;}
99 .smalltooltip{-webkit-transition-property:height;-webkit-transition-duration:1s;-moz-transition-property:height;-moz-transition-duration:1s;transition-property:height;transition-duration:1s;text-overflow:ellipsis;overflow:hidden;height:80px;}
112 .smalltooltip{-webkit-transition-property:height;-webkit-transition-duration:1s;-moz-transition-property:height;-moz-transition-duration:1s;transition-property:height;transition-duration:1s;text-overflow:ellipsis;overflow:hidden;height:80px;}
100 .tooltipbuttons{position:absolute;padding-right:15px;top:0px;right:0px;}
113 .tooltipbuttons{position:absolute;padding-right:15px;top:0px;right:0px;}
101 .tooltiptext{padding-right:30px;}
114 .tooltiptext{padding-right:30px;}
102 .ipython_tooltip{max-width:700px;-webkit-animation:fadeOut 800ms;-moz-animation:fadeOut 800ms;animation:fadeOut 800ms;-webkit-animation:fadeIn 800ms;-moz-animation:fadeIn 800ms;animation:fadeIn 800ms;vertical-align:middle;background-color:#f7f7f7;overflow:visible;border:#e0e0e0 1px solid;outline:none;padding:3px;margin:0px;padding-left:7px;font-family:monospace;min-height:50px;position:absolute;-moz-box-shadow:0px 6px 10px -1px #adadad;-webkit-box-shadow:0px 6px 10px -1px #adadad;box-shadow:0px 6px 10px -1px #adadad;border-radius:3px;border-radius:3px;border-radius:3px;}.ipython_tooltip a{float:right;}
115 .ipython_tooltip{max-width:700px;-webkit-animation:fadeOut 800ms;-moz-animation:fadeOut 800ms;animation:fadeOut 800ms;-webkit-animation:fadeIn 800ms;-moz-animation:fadeIn 800ms;animation:fadeIn 800ms;vertical-align:middle;background-color:#f7f7f7;overflow:visible;border:#e0e0e0 1px solid;outline:none;padding:3px;margin:0px;padding-left:7px;font-family:monospace;min-height:50px;position:absolute;-moz-box-shadow:0px 6px 10px -1px #adadad;-webkit-box-shadow:0px 6px 10px -1px #adadad;box-shadow:0px 6px 10px -1px #adadad;border-radius:3px;border-radius:3px;border-radius:3px;}.ipython_tooltip a{float:right;}
103 .pretooltiparrow{left:0px;margin:0px;top:-16px;width:40px;height:16px;overflow:hidden;position:absolute;}
116 .pretooltiparrow{left:0px;margin:0px;top:-16px;width:40px;height:16px;overflow:hidden;position:absolute;}
104 .pretooltiparrow:before{background-color:#f7f7f7;border:1px #e0e0e0 solid;z-index:11;content:"";position:absolute;left:15px;top:10px;width:25px;height:25px;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);}
117 .pretooltiparrow:before{background-color:#f7f7f7;border:1px #e0e0e0 solid;z-index:11;content:"";position:absolute;left:15px;top:10px;width:25px;height:25px;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);}
105 .corner-all{border-radius:3px;}
118 .corner-all{border-radius:3px;}
@@ -1,5 +1,6 b''
1 @import "flexible-box-model.less";
1 @import "notebook.less";
2 @import "notebook.less";
2 @import "printnotebook.less";
3 @import "printnotebook.less";
3 @import "renderedhtml.less";
4 @import "renderedhtml.less";
4 @import "tooltip.less";
5 @import "tooltip.less";
5 @import "variables.less";
6 @import "variables.less";
@@ -1,240 +1,236 b''
1 {% extends "page.html" %}
1 {% extends "page.html" %}
2
2
3 {% block stylesheet %}
3 {% block stylesheet %}
4
4
5 {% if mathjax_url %}
5 {% if mathjax_url %}
6 <script type="text/javascript" src="{{mathjax_url}}?config=TeX-AMS_HTML-full&delayStartupUntil=configured" charset="utf-8"></script>
6 <script type="text/javascript" src="{{mathjax_url}}?config=TeX-AMS_HTML-full&delayStartupUntil=configured" charset="utf-8"></script>
7 {% endif %}
7 {% endif %}
8 <script type="text/javascript">
8 <script type="text/javascript">
9 // MathJax disabled, set as null to distingish from *missing* MathJax,
9 // MathJax disabled, set as null to distingish from *missing* MathJax,
10 // where it will be undefined, and should prompt a dialog later.
10 // where it will be undefined, and should prompt a dialog later.
11 window.mathjax_url = "{{mathjax_url}}";
11 window.mathjax_url = "{{mathjax_url}}";
12 </script>
12 </script>
13
13
14 <link rel="stylesheet" href="{{ static_url("codemirror/lib/codemirror.css") }}">
14 <link rel="stylesheet" href="{{ static_url("codemirror/lib/codemirror.css") }}">
15 <link rel="stylesheet" href="{{ static_url("codemirror/theme/ipython.css") }}">
15 <link rel="stylesheet" href="{{ static_url("codemirror/theme/ipython.css") }}">
16
16
17 <link rel="stylesheet" href="{{ static_url("prettify/prettify.css") }}"/>
17 <link rel="stylesheet" href="{{ static_url("prettify/prettify.css") }}"/>
18
18
19 <link rel="stylesheet" href="{{ static_url("css/celltoolbar.css") }}" type="text/css" />
19 <link rel="stylesheet" href="{{ static_url("css/celltoolbar.css") }}" type="text/css" />
20
20
21 {% if use_less %}
21 {% if use_less %}
22 <link rel="stylesheet/less" href="{{ static_url("less/notebook.less") }}" type="text/css" />
22 <link rel="stylesheet/less" href="{{ static_url("less/style.less") }}" type="text/css" />
23 <link rel="stylesheet/less" href="{{ static_url("less/tooltip.less") }}" type="text/css" />
24 <link rel="stylesheet/less" href="{{ static_url("less/renderedhtml.less") }}" type="text/css" />
25
26 <link rel="stylesheet/less" href="{{ static_url("less/printnotebook.less") }}" type="text/css"/>
27 {% else %}
23 {% else %}
28 <link rel="stylesheet" href="{{ static_url("css/style.min.css") }}" type="text/css"/>
24 <link rel="stylesheet" href="{{ static_url("css/style.min.css") }}" type="text/css"/>
29 {% endif %}
25 {% endif %}
30
26
31 {% endblock %}
27 {% endblock %}
32
28
33 {% block params %}
29 {% block params %}
34
30
35 data-project={{project}}
31 data-project={{project}}
36 data-base-project-url={{base_project_url}}
32 data-base-project-url={{base_project_url}}
37 data-base-kernel-url={{base_kernel_url}}
33 data-base-kernel-url={{base_kernel_url}}
38 data-read-only={{read_only and not logged_in}}
34 data-read-only={{read_only and not logged_in}}
39 data-notebook-id={{notebook_id}}
35 data-notebook-id={{notebook_id}}
40
36
41 {% endblock %}
37 {% endblock %}
42
38
43
39
44 {% block header %}
40 {% block header %}
45
41
46 <span id="save_widget">
42 <span id="save_widget">
47 <span id="notebook_name"></span>
43 <span id="notebook_name"></span>
48 <span id="save_status"></span>
44 <span id="save_status"></span>
49 </span>
45 </span>
50
46
51 {% endblock %}
47 {% endblock %}
52
48
53
49
54 {% block site %}
50 {% block site %}
55
51
56 <div id="menubar_container">
52 <div id="menubar_container">
57 <div id="menubar">
53 <div id="menubar">
58 <ul id="menus">
54 <ul id="menus">
59 <li><a href="#">File</a>
55 <li><a href="#">File</a>
60 <ul>
56 <ul>
61 <li id="new_notebook"><a href="#">New</a></li>
57 <li id="new_notebook"><a href="#">New</a></li>
62 <li id="open_notebook"><a href="#">Open...</a></li>
58 <li id="open_notebook"><a href="#">Open...</a></li>
63 <hr/>
59 <hr/>
64 <li id="copy_notebook"><a href="#">Make a Copy...</a></li>
60 <li id="copy_notebook"><a href="#">Make a Copy...</a></li>
65 <li id="rename_notebook"><a href="#">Rename...</a></li>
61 <li id="rename_notebook"><a href="#">Rename...</a></li>
66 <li id="save_notebook"><a href="#">Save</a></li>
62 <li id="save_notebook"><a href="#">Save</a></li>
67 <hr/>
63 <hr/>
68 <li><a href="#">Download as</a>
64 <li><a href="#">Download as</a>
69 <ul>
65 <ul>
70 <li id="download_ipynb"><a href="#">IPython (.ipynb)</a></li>
66 <li id="download_ipynb"><a href="#">IPython (.ipynb)</a></li>
71 <li id="download_py"><a href="#">Python (.py)</a></li>
67 <li id="download_py"><a href="#">Python (.py)</a></li>
72 </ul>
68 </ul>
73 </li>
69 </li>
74 <hr/>
70 <hr/>
75 <li id="print_notebook"><a href="/{{notebook_id}}/print" target="_blank">Print View</a></li>
71 <li id="print_notebook"><a href="/{{notebook_id}}/print" target="_blank">Print View</a></li>
76 <hr/>
72 <hr/>
77 <li id="kill_and_exit"><a href="#" >Close and halt</a></li>
73 <li id="kill_and_exit"><a href="#" >Close and halt</a></li>
78 </ul>
74 </ul>
79 </li>
75 </li>
80 <li><a href="#">Edit</a>
76 <li><a href="#">Edit</a>
81 <ul>
77 <ul>
82 <li id="cut_cell"><a href="#">Cut Cell</a></li>
78 <li id="cut_cell"><a href="#">Cut Cell</a></li>
83 <li id="copy_cell"><a href="#">Copy Cell</a></li>
79 <li id="copy_cell"><a href="#">Copy Cell</a></li>
84 <li id="paste_cell_above" class="ui-state-disabled"><a href="#">Paste Cell Above</a></li>
80 <li id="paste_cell_above" class="ui-state-disabled"><a href="#">Paste Cell Above</a></li>
85 <li id="paste_cell_below" class="ui-state-disabled"><a href="#">Paste Cell Below</a></li>
81 <li id="paste_cell_below" class="ui-state-disabled"><a href="#">Paste Cell Below</a></li>
86 <li id="paste_cell_replace" class="ui-state-disabled"><a href="#">Paste Cell &amp; Replace</a></li>
82 <li id="paste_cell_replace" class="ui-state-disabled"><a href="#">Paste Cell &amp; Replace</a></li>
87 <li id="delete_cell"><a href="#">Delete</a></li>
83 <li id="delete_cell"><a href="#">Delete</a></li>
88 <hr/>
84 <hr/>
89 <li id="split_cell"><a href="#">Split Cell</a></li>
85 <li id="split_cell"><a href="#">Split Cell</a></li>
90 <li id="merge_cell_above"><a href="#">Merge Cell Above</a></li>
86 <li id="merge_cell_above"><a href="#">Merge Cell Above</a></li>
91 <li id="merge_cell_below"><a href="#">Merge Cell Below</a></li>
87 <li id="merge_cell_below"><a href="#">Merge Cell Below</a></li>
92 <hr/>
88 <hr/>
93 <li id="move_cell_up"><a href="#">Move Cell Up</a></li>
89 <li id="move_cell_up"><a href="#">Move Cell Up</a></li>
94 <li id="move_cell_down"><a href="#">Move Cell Down</a></li>
90 <li id="move_cell_down"><a href="#">Move Cell Down</a></li>
95 <hr/>
91 <hr/>
96 <li id="select_previous"><a href="#">Select Previous Cell</a></li>
92 <li id="select_previous"><a href="#">Select Previous Cell</a></li>
97 <li id="select_next"><a href="#">Select Next Cell</a></li>
93 <li id="select_next"><a href="#">Select Next Cell</a></li>
98 </ul>
94 </ul>
99 </li>
95 </li>
100 <li><a href="#">View</a>
96 <li><a href="#">View</a>
101 <ul>
97 <ul>
102 <li id="toggle_header"><a href="#">Toggle Header</a></li>
98 <li id="toggle_header"><a href="#">Toggle Header</a></li>
103 <li id="toggle_toolbar"><a href="#">Toggle Toolbar</a></li>
99 <li id="toggle_toolbar"><a href="#">Toggle Toolbar</a></li>
104 </ul>
100 </ul>
105 </li>
101 </li>
106 <li><a href="#">Insert</a>
102 <li><a href="#">Insert</a>
107 <ul>
103 <ul>
108 <li id="insert_cell_above"><a href="#">Insert Cell Above</a></li>
104 <li id="insert_cell_above"><a href="#">Insert Cell Above</a></li>
109 <li id="insert_cell_below"><a href="#">Insert Cell Below</a></li>
105 <li id="insert_cell_below"><a href="#">Insert Cell Below</a></li>
110 </ul>
106 </ul>
111 </li>
107 </li>
112 <li><a href="#">Cell</a>
108 <li><a href="#">Cell</a>
113 <ul>
109 <ul>
114 <li id="run_cell"><a href="#">Run</a></li>
110 <li id="run_cell"><a href="#">Run</a></li>
115 <li id="run_cell_in_place"><a href="#">Run in Place</a></li>
111 <li id="run_cell_in_place"><a href="#">Run in Place</a></li>
116 <li id="run_all_cells"><a href="#">Run All</a></li>
112 <li id="run_all_cells"><a href="#">Run All</a></li>
117 <li id="run_all_cells_above"><a href="#">Run All Above</a></li>
113 <li id="run_all_cells_above"><a href="#">Run All Above</a></li>
118 <li id="run_all_cells_below"><a href="#">Run All Below</a></li>
114 <li id="run_all_cells_below"><a href="#">Run All Below</a></li>
119 <hr/>
115 <hr/>
120 <li id="to_code"><a href="#">Code</a></li>
116 <li id="to_code"><a href="#">Code</a></li>
121 <li id="to_markdown"><a href="#">Markdown </a></li>
117 <li id="to_markdown"><a href="#">Markdown </a></li>
122 <li id="to_raw"><a href="#">Raw Text</a></li>
118 <li id="to_raw"><a href="#">Raw Text</a></li>
123 <li id="to_heading1"><a href="#">Heading 1</a></li>
119 <li id="to_heading1"><a href="#">Heading 1</a></li>
124 <li id="to_heading2"><a href="#">Heading 2</a></li>
120 <li id="to_heading2"><a href="#">Heading 2</a></li>
125 <li id="to_heading3"><a href="#">Heading 3</a></li>
121 <li id="to_heading3"><a href="#">Heading 3</a></li>
126 <li id="to_heading4"><a href="#">Heading 4</a></li>
122 <li id="to_heading4"><a href="#">Heading 4</a></li>
127 <li id="to_heading5"><a href="#">Heading 5</a></li>
123 <li id="to_heading5"><a href="#">Heading 5</a></li>
128 <li id="to_heading6"><a href="#">Heading 6</a></li>
124 <li id="to_heading6"><a href="#">Heading 6</a></li>
129 <hr/>
125 <hr/>
130 <li id="toggle_output"><a href="#">Toggle Current Output</a></li>
126 <li id="toggle_output"><a href="#">Toggle Current Output</a></li>
131 <li id="all_outputs"><a href="#">All Output</a>
127 <li id="all_outputs"><a href="#">All Output</a>
132 <ul>
128 <ul>
133 <li id="expand_all_output"><a href="#">Expand</a></li>
129 <li id="expand_all_output"><a href="#">Expand</a></li>
134 <li id="scroll_all_output"><a href="#">Scroll Long</a></li>
130 <li id="scroll_all_output"><a href="#">Scroll Long</a></li>
135 <li id="collapse_all_output"><a href="#">Collapse</a></li>
131 <li id="collapse_all_output"><a href="#">Collapse</a></li>
136 <li id="clear_all_output"><a href="#">Clear</a></li>
132 <li id="clear_all_output"><a href="#">Clear</a></li>
137 </ul>
133 </ul>
138 </li>
134 </li>
139 </ul>
135 </ul>
140 </li>
136 </li>
141 <li><a href="#">Kernel</a>
137 <li><a href="#">Kernel</a>
142 <ul>
138 <ul>
143 <li id="int_kernel"><a href="#">Interrupt</a></li>
139 <li id="int_kernel"><a href="#">Interrupt</a></li>
144 <li id="restart_kernel"><a href="#">Restart</a></li>
140 <li id="restart_kernel"><a href="#">Restart</a></li>
145 </ul>
141 </ul>
146 </li>
142 </li>
147 <li><a href="#">Help</a>
143 <li><a href="#">Help</a>
148 <ul>
144 <ul>
149 <li><a href="http://ipython.org/documentation.html" target="_blank">IPython Help</a></li>
145 <li><a href="http://ipython.org/documentation.html" target="_blank">IPython Help</a></li>
150 <li><a href="http://ipython.org/ipython-doc/stable/interactive/htmlnotebook.html" target="_blank">Notebook Help</a></li>
146 <li><a href="http://ipython.org/ipython-doc/stable/interactive/htmlnotebook.html" target="_blank">Notebook Help</a></li>
151 <li id="keyboard_shortcuts"><a href="#">Keyboard Shortcuts</a></li>
147 <li id="keyboard_shortcuts"><a href="#">Keyboard Shortcuts</a></li>
152 <hr/>
148 <hr/>
153 <li><a href="http://docs.python.org" target="_blank">Python</a></li>
149 <li><a href="http://docs.python.org" target="_blank">Python</a></li>
154 <li><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></li>
150 <li><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy</a></li>
155 <li><a href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a></li>
151 <li><a href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy</a></li>
156 <li><a href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a></li>
152 <li><a href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a></li>
157 <li><a href="http://matplotlib.sourceforge.net/" target="_blank">Matplotlib</a></li>
153 <li><a href="http://matplotlib.sourceforge.net/" target="_blank">Matplotlib</a></li>
158 </ul>
154 </ul>
159 </li>
155 </li>
160 </ul>
156 </ul>
161
157
162 </div>
158 </div>
163 <div id="notification_area">
159 <div id="notification_area">
164 </div>
160 </div>
165 </div>
161 </div>
166
162
167
163
168 <div id="maintoolbar"></div>
164 <div id="maintoolbar"></div>
169
165
170 <div id="ipython-main-app">
166 <div id="ipython-main-app">
171
167
172 <div id="notebook_panel">
168 <div id="notebook_panel">
173 <div id="notebook"></div>
169 <div id="notebook"></div>
174 <div id="pager_splitter"></div>
170 <div id="pager_splitter"></div>
175 <div id="pager_container">
171 <div id="pager_container">
176 <div id='pager_button_area'>
172 <div id='pager_button_area'>
177 </div>
173 </div>
178 <div id="pager"></div>
174 <div id="pager"></div>
179 </div>
175 </div>
180 </div>
176 </div>
181
177
182 </div>
178 </div>
183 <div id='tooltip' class='ipython_tooltip' style='display:none'></div>
179 <div id='tooltip' class='ipython_tooltip' style='display:none'></div>
184
180
185
181
186 {% endblock %}
182 {% endblock %}
187
183
188
184
189 {% block script %}
185 {% block script %}
190
186
191 {% if use_less %}
187 {% if use_less %}
192 <script src="{{ static_url("js/less/less-1.3.1.min.js") }}" charset="utf-8"></script>
188 <script src="{{ static_url("js/less/less-1.3.1.min.js") }}" charset="utf-8"></script>
193 {% endif %}
189 {% endif %}
194
190
195 <script src="{{ static_url("codemirror/lib/codemirror.js") }}" charset="utf-8"></script>
191 <script src="{{ static_url("codemirror/lib/codemirror.js") }}" charset="utf-8"></script>
196 <script src="{{ static_url("codemirror/lib/util/loadmode.js") }}" charset="utf-8"></script>
192 <script src="{{ static_url("codemirror/lib/util/loadmode.js") }}" charset="utf-8"></script>
197 <script src="{{ static_url("codemirror/lib/util/multiplex.js") }}" charset="utf-8"></script>
193 <script src="{{ static_url("codemirror/lib/util/multiplex.js") }}" charset="utf-8"></script>
198 <script src="{{ static_url("codemirror/mode/python/python.js") }}" charset="utf-8"></script>
194 <script src="{{ static_url("codemirror/mode/python/python.js") }}" charset="utf-8"></script>
199 <script src="{{ static_url("codemirror/mode/htmlmixed/htmlmixed.js") }}" charset="utf-8"></script>
195 <script src="{{ static_url("codemirror/mode/htmlmixed/htmlmixed.js") }}" charset="utf-8"></script>
200 <script src="{{ static_url("codemirror/mode/xml/xml.js") }}" charset="utf-8"></script>
196 <script src="{{ static_url("codemirror/mode/xml/xml.js") }}" charset="utf-8"></script>
201 <script src="{{ static_url("codemirror/mode/javascript/javascript.js") }}" charset="utf-8"></script>
197 <script src="{{ static_url("codemirror/mode/javascript/javascript.js") }}" charset="utf-8"></script>
202 <script src="{{ static_url("codemirror/mode/css/css.js") }}" charset="utf-8"></script>
198 <script src="{{ static_url("codemirror/mode/css/css.js") }}" charset="utf-8"></script>
203 <script src="{{ static_url("codemirror/mode/rst/rst.js") }}" charset="utf-8"></script>
199 <script src="{{ static_url("codemirror/mode/rst/rst.js") }}" charset="utf-8"></script>
204 <script src="{{ static_url("codemirror/mode/markdown/markdown.js") }}" charset="utf-8"></script>
200 <script src="{{ static_url("codemirror/mode/markdown/markdown.js") }}" charset="utf-8"></script>
205
201
206 <script src="{{ static_url("pagedown/Markdown.Converter.js") }}" charset="utf-8"></script>
202 <script src="{{ static_url("pagedown/Markdown.Converter.js") }}" charset="utf-8"></script>
207
203
208 <script src="{{ static_url("prettify/prettify.js") }}" charset="utf-8"></script>
204 <script src="{{ static_url("prettify/prettify.js") }}" charset="utf-8"></script>
209 <script src="{{ static_url("dateformat/date.format.js") }}" charset="utf-8"></script>
205 <script src="{{ static_url("dateformat/date.format.js") }}" charset="utf-8"></script>
210
206
211 <script src="{{ static_url("js/events.js") }}" type="text/javascript" charset="utf-8"></script>
207 <script src="{{ static_url("js/events.js") }}" type="text/javascript" charset="utf-8"></script>
212 <script src="{{ static_url("js/utils.js") }}" type="text/javascript" charset="utf-8"></script>
208 <script src="{{ static_url("js/utils.js") }}" type="text/javascript" charset="utf-8"></script>
213 <script src="{{ static_url("js/layoutmanager.js") }}" type="text/javascript" charset="utf-8"></script>
209 <script src="{{ static_url("js/layoutmanager.js") }}" type="text/javascript" charset="utf-8"></script>
214 <script src="{{ static_url("js/mathjaxutils.js") }}" type="text/javascript" charset="utf-8"></script>
210 <script src="{{ static_url("js/mathjaxutils.js") }}" type="text/javascript" charset="utf-8"></script>
215 <script src="{{ static_url("js/outputarea.js") }}" type="text/javascript" charset="utf-8"></script>
211 <script src="{{ static_url("js/outputarea.js") }}" type="text/javascript" charset="utf-8"></script>
216 <script src="{{ static_url("js/cell.js") }}" type="text/javascript" charset="utf-8"></script>
212 <script src="{{ static_url("js/cell.js") }}" type="text/javascript" charset="utf-8"></script>
217 <script src="{{ static_url("js/celltoolbar.js") }}" type="text/javascript" charset="utf-8"></script>
213 <script src="{{ static_url("js/celltoolbar.js") }}" type="text/javascript" charset="utf-8"></script>
218 <script src="{{ static_url("js/codecell.js") }}" type="text/javascript" charset="utf-8"></script>
214 <script src="{{ static_url("js/codecell.js") }}" type="text/javascript" charset="utf-8"></script>
219 <script src="{{ static_url("js/completer.js") }}" type="text/javascript" charset="utf-8"></script>
215 <script src="{{ static_url("js/completer.js") }}" type="text/javascript" charset="utf-8"></script>
220 <script src="{{ static_url("js/textcell.js") }}" type="text/javascript" charset="utf-8"></script>
216 <script src="{{ static_url("js/textcell.js") }}" type="text/javascript" charset="utf-8"></script>
221 <script src="{{ static_url("js/kernel.js") }}" type="text/javascript" charset="utf-8"></script>
217 <script src="{{ static_url("js/kernel.js") }}" type="text/javascript" charset="utf-8"></script>
222 <script src="{{ static_url("js/savewidget.js") }}" type="text/javascript" charset="utf-8"></script>
218 <script src="{{ static_url("js/savewidget.js") }}" type="text/javascript" charset="utf-8"></script>
223 <script src="{{ static_url("js/quickhelp.js") }}" type="text/javascript" charset="utf-8"></script>
219 <script src="{{ static_url("js/quickhelp.js") }}" type="text/javascript" charset="utf-8"></script>
224 <script src="{{ static_url("js/pager.js") }}" type="text/javascript" charset="utf-8"></script>
220 <script src="{{ static_url("js/pager.js") }}" type="text/javascript" charset="utf-8"></script>
225 <script src="{{ static_url("js/menubar.js") }}" type="text/javascript" charset="utf-8"></script>
221 <script src="{{ static_url("js/menubar.js") }}" type="text/javascript" charset="utf-8"></script>
226 <script src="{{ static_url("js/toolbar.js") }}" type="text/javascript" charset="utf-8"></script>
222 <script src="{{ static_url("js/toolbar.js") }}" type="text/javascript" charset="utf-8"></script>
227 <script src="{{ static_url("js/maintoolbar.js") }}" type="text/javascript" charset="utf-8"></script>
223 <script src="{{ static_url("js/maintoolbar.js") }}" type="text/javascript" charset="utf-8"></script>
228 <script src="{{ static_url("js/notebook.js") }}" type="text/javascript" charset="utf-8"></script>
224 <script src="{{ static_url("js/notebook.js") }}" type="text/javascript" charset="utf-8"></script>
229 <script src="{{ static_url("js/notificationwidget.js") }}" type="text/javascript" charset="utf-8"></script>
225 <script src="{{ static_url("js/notificationwidget.js") }}" type="text/javascript" charset="utf-8"></script>
230 <script src="{{ static_url("js/notificationarea.js") }}" type="text/javascript" charset="utf-8"></script>
226 <script src="{{ static_url("js/notificationarea.js") }}" type="text/javascript" charset="utf-8"></script>
231 <script src="{{ static_url("js/tooltip.js") }}" type="text/javascript" charset="utf-8"></script>
227 <script src="{{ static_url("js/tooltip.js") }}" type="text/javascript" charset="utf-8"></script>
232 <script src="{{ static_url("js/config.js") }}" type="text/javascript" charset="utf-8"></script>
228 <script src="{{ static_url("js/config.js") }}" type="text/javascript" charset="utf-8"></script>
233 <script src="{{ static_url("js/notebookmain.js") }}" type="text/javascript" charset="utf-8"></script>
229 <script src="{{ static_url("js/notebookmain.js") }}" type="text/javascript" charset="utf-8"></script>
234
230
235 <script src="{{ static_url("js/contexthint.js") }}" charset="utf-8"></script>
231 <script src="{{ static_url("js/contexthint.js") }}" charset="utf-8"></script>
236
232
237 <script src="{{ static_url("js/celltoolbarpresets/default.js") }}" type="text/javascript" charset="utf-8"></script>
233 <script src="{{ static_url("js/celltoolbarpresets/default.js") }}" type="text/javascript" charset="utf-8"></script>
238 <script src="{{ static_url("js/celltoolbarpresets/slideshow.js") }}" type="text/javascript" charset="utf-8"></script>
234 <script src="{{ static_url("js/celltoolbarpresets/slideshow.js") }}" type="text/javascript" charset="utf-8"></script>
239
235
240 {% endblock %}
236 {% endblock %}
@@ -1,67 +1,66 b''
1
1
2
2
3 <!DOCTYPE HTML>
3 <!DOCTYPE HTML>
4 {% macro static_url(name) -%}
4 {% macro static_url(name) -%}
5 {{ base_project_url }}static/{{ name }}
5 {{ base_project_url }}static/{{ name }}
6 {%- endmacro %}
6 {%- endmacro %}
7 <html>
7 <html>
8
8
9 <head>
9 <head>
10 <meta charset="utf-8">
10 <meta charset="utf-8">
11
11
12 <title>{% block title %}IPython Notebook{% endblock %}</title>
12 <title>{% block title %}IPython Notebook{% endblock %}</title>
13 <meta http-equiv="X-UA-Compatible" content="chrome=1">
13 <meta http-equiv="X-UA-Compatible" content="chrome=1">
14 <link rel="stylesheet" href="{{static_url("jquery/css/themes/base/jquery-ui.min.css") }}" type="text/css" />
14 <link rel="stylesheet" href="{{static_url("jquery/css/themes/base/jquery-ui.min.css") }}" type="text/css" />
15 <link rel="stylesheet" href="{{static_url("css/boilerplate.css") }}" type="text/css" />
15 <link rel="stylesheet" href="{{static_url("css/boilerplate.css") }}" type="text/css" />
16 <link rel="stylesheet" href="{{static_url("css/fbm.css") }}" type="text/css" />
17 <link rel="stylesheet" href="{{static_url("css/page.css") }}" type="text/css"/>
16 <link rel="stylesheet" href="{{static_url("css/page.css") }}" type="text/css"/>
18 {% block stylesheet %}
17 {% block stylesheet %}
19 {% endblock %}
18 {% endblock %}
20 <link rel="stylesheet" href="{{ static_url("css/custom.css") }}" type="text/css" />
19 <link rel="stylesheet" href="{{ static_url("css/custom.css") }}" type="text/css" />
21
20
22
21
23 {% block meta %}
22 {% block meta %}
24 {% endblock %}
23 {% endblock %}
25
24
26 </head>
25 </head>
27
26
28 <body {% block params %}{% endblock %}>
27 <body {% block params %}{% endblock %}>
29
28
30 <div id="header">
29 <div id="header">
31 <span id="ipython_notebook"><div><a href="{{base_project_url}}" alt='dashboard'><img src='{{static_url("ipynblogo.png") }}' alt='IPython Notebook'/></a></div></span>
30 <span id="ipython_notebook"><div><a href="{{base_project_url}}" alt='dashboard'><img src='{{static_url("ipynblogo.png") }}' alt='IPython Notebook'/></a></div></span>
32
31
33 {% block login_widget %}
32 {% block login_widget %}
34
33
35 <span id="login_widget">
34 <span id="login_widget">
36 {% if logged_in %}
35 {% if logged_in %}
37 <button id="logout">Logout</button>
36 <button id="logout">Logout</button>
38 {% elif login_available and not logged_in %}
37 {% elif login_available and not logged_in %}
39 <button id="login">Login</button>
38 <button id="login">Login</button>
40 {% endif %}
39 {% endif %}
41 </span>
40 </span>
42
41
43 {% endblock %}
42 {% endblock %}
44
43
45 {% block header %}
44 {% block header %}
46 {% endblock %}
45 {% endblock %}
47 </div>
46 </div>
48
47
49 <div id="site">
48 <div id="site">
50 {% block site %}
49 {% block site %}
51 {% endblock %}
50 {% endblock %}
52 </div>
51 </div>
53
52
54 <script src="{{static_url("jquery/js/jquery-1.7.1.min.js") }}" type="text/javascript" charset="utf-8"></script>
53 <script src="{{static_url("jquery/js/jquery-1.7.1.min.js") }}" type="text/javascript" charset="utf-8"></script>
55 <script src="{{static_url("jquery/js/jquery-ui.min.js") }}" type="text/javascript" charset="utf-8"></script>
54 <script src="{{static_url("jquery/js/jquery-ui.min.js") }}" type="text/javascript" charset="utf-8"></script>
56 <script src="{{static_url("js/namespace.js") }}" type="text/javascript" charset="utf-8"></script>
55 <script src="{{static_url("js/namespace.js") }}" type="text/javascript" charset="utf-8"></script>
57 <script src="{{static_url("js/page.js") }}" type="text/javascript" charset="utf-8"></script>
56 <script src="{{static_url("js/page.js") }}" type="text/javascript" charset="utf-8"></script>
58 <script src="{{static_url("js/loginwidget.js") }}" type="text/javascript" charset="utf-8"></script>
57 <script src="{{static_url("js/loginwidget.js") }}" type="text/javascript" charset="utf-8"></script>
59
58
60 {% block script %}
59 {% block script %}
61 {% endblock %}
60 {% endblock %}
62
61
63 <script src="{{static_url("js/custom.js") }}" type="text/javascript" charset="utf-8"></script>
62 <script src="{{static_url("js/custom.js") }}" type="text/javascript" charset="utf-8"></script>
64
63
65 </body>
64 </body>
66
65
67 </html>
66 </html>
@@ -1,81 +1,82 b''
1 {% extends "page.html" %}
1 {% extends "page.html" %}
2
2
3 {% block title %}IPython Dashboard{% endblock %}
3 {% block title %}IPython Dashboard{% endblock %}
4
4
5 {% block stylesheet %}
5 {% block stylesheet %}
6 <link rel="stylesheet" href="{{static_url("css/projectdashboard.css") }}" type="text/css" />
6 <link rel="stylesheet" href="{{static_url("css/projectdashboard.css") }}" type="text/css" />
7 <link rel="stylesheet" href="{{static_url("css/alternateuploadform.css") }}" type="text/css" />
7 <link rel="stylesheet" href="{{static_url("css/alternateuploadform.css") }}" type="text/css" />
8 <link rel="stylesheet" href="{{static_url("css/style.min.css") }}" type="text/css" />
8 {% endblock %}
9 {% endblock %}
9
10
10
11
11 {% block params %}
12 {% block params %}
12
13
13 data-project={{project}}
14 data-project={{project}}
14 data-base-project-url={{base_project_url}}
15 data-base-project-url={{base_project_url}}
15 data-base-kernel-url={{base_kernel_url}}
16 data-base-kernel-url={{base_kernel_url}}
16 data-read-only={{read_only}}
17 data-read-only={{read_only}}
17
18
18 {% endblock %}
19 {% endblock %}
19
20
20
21
21 {% block site %}
22 {% block site %}
22
23
23 <div id="ipython-main-app">
24 <div id="ipython-main-app">
24
25
25 <div id="tabs">
26 <div id="tabs">
26 <ul>
27 <ul>
27 <li><a href="#tab1">Notebooks</a></li>
28 <li><a href="#tab1">Notebooks</a></li>
28 <li><a href="#tab2">Clusters</a></li>
29 <li><a href="#tab2">Clusters</a></li>
29 </ul>
30 </ul>
30
31
31 <div id="tab1">
32 <div id="tab1">
32 {% if logged_in or not read_only %}
33 {% if logged_in or not read_only %}
33 <div id="notebook_toolbar">
34 <div id="notebook_toolbar">
34 <form id='alternate_upload' class='alternate_upload' >
35 <form id='alternate_upload' class='alternate_upload' >
35 <span id="drag_info" style="position:absolute" >
36 <span id="drag_info" style="position:absolute" >
36 To import a notebook, drag the file onto the listing below or <strong>click here</strong>.
37 To import a notebook, drag the file onto the listing below or <strong>click here</strong>.
37 </span>
38 </span>
38 <input type="file" name="datafile" class="fileinput" multiple='multiple'>
39 <input type="file" name="datafile" class="fileinput" multiple='multiple'>
39 </form>
40 </form>
40 <span id="notebook_buttons">
41 <span id="notebook_buttons">
41 <button id="refresh_notebook_list" title="Refresh notebook list">Refresh</button>
42 <button id="refresh_notebook_list" title="Refresh notebook list">Refresh</button>
42 <button id="new_notebook" title="Create new notebook">New Notebook</button>
43 <button id="new_notebook" title="Create new notebook">New Notebook</button>
43 </span>
44 </span>
44 </div>
45 </div>
45 {% endif %}
46 {% endif %}
46
47
47 <div id="notebook_list">
48 <div id="notebook_list">
48 <div id="project_name"><h2>{{project}}</h2></div>
49 <div id="project_name"><h2>{{project}}</h2></div>
49 </div>
50 </div>
50 </div>
51 </div>
51 <div id="tab2">
52 <div id="tab2">
52
53
53 <div id="cluster_toolbar">
54 <div id="cluster_toolbar">
54 <span id="cluster_list_info">IPython parallel computing clusters</span>
55 <span id="cluster_list_info">IPython parallel computing clusters</span>
55
56
56 <span id="cluster_buttons">
57 <span id="cluster_buttons">
57 <button id="refresh_cluster_list" title="Refresh cluster list">Refresh</button>
58 <button id="refresh_cluster_list" title="Refresh cluster list">Refresh</button>
58 </span>
59 </span>
59 </div>
60 </div>
60
61
61 <div id="cluster_list">
62 <div id="cluster_list">
62 <div id="cluster_header">
63 <div id="cluster_header">
63 <span>profile</span>
64 <span>profile</span>
64 <span>action</span>
65 <span>action</span>
65 <span title="Enter the number of engines to start or empty for default"># of engines</span>
66 <span title="Enter the number of engines to start or empty for default"># of engines</span>
66 <span>status</span>
67 <span>status</span>
67 </div>
68 </div>
68 </div>
69 </div>
69
70
70 </div>
71 </div>
71 </div>
72 </div>
72
73
73 </div>
74 </div>
74
75
75 {% endblock %}
76 {% endblock %}
76
77
77 {% block script %}
78 {% block script %}
78 <script src="{{static_url("js/notebooklist.js") }}" type="text/javascript" charset="utf-8"></script>
79 <script src="{{static_url("js/notebooklist.js") }}" type="text/javascript" charset="utf-8"></script>
79 <script src="{{static_url("js/clusterlist.js") }}" type="text/javascript" charset="utf-8"></script>
80 <script src="{{static_url("js/clusterlist.js") }}" type="text/javascript" charset="utf-8"></script>
80 <script src="{{static_url("js/projectdashboardmain.js") }}" type="text/javascript" charset="utf-8"></script>
81 <script src="{{static_url("js/projectdashboardmain.js") }}" type="text/javascript" charset="utf-8"></script>
81 {% endblock %}
82 {% endblock %}
1 NO CONTENT: file was removed
NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now