Show More
@@ -1,23 +1,23 b'' | |||||
1 | /* We need an invisible input field on top of the sentense*/ |
|
1 | /* We need an invisible input field on top of the sentense*/ | |
2 | /* "Drag file onto the list ..." */ |
|
2 | /* "Drag file onto the list ..." */ | |
3 |
|
3 | |||
4 | .alternate_upload |
|
4 | .alternate_upload | |
5 | { |
|
5 | { | |
6 | background-color:none; |
|
6 | background-color:none; | |
7 | display: inline; |
|
7 | display: inline; | |
8 | } |
|
8 | } | |
9 |
|
9 | |||
10 | .alternate_upload.form |
|
10 | .alternate_upload.form | |
11 | { |
|
11 | { | |
12 | padding: 0; |
|
12 | padding: 0; | |
13 | margin:0; |
|
13 | margin:0; | |
14 | } |
|
14 | } | |
15 |
|
15 | |||
16 | .alternate_upload input.fileinput |
|
16 | .alternate_upload input.fileinput | |
17 | { |
|
17 | { | |
18 | background-color:red; |
|
18 | background-color:red; | |
19 | position:relative; |
|
19 | position:relative; | |
20 | opacity: 0; |
|
20 | opacity: 0; | |
21 | z-index: 2; |
|
21 | z-index: 2; | |
22 |
width: |
|
22 | width: 447px; | |
23 | } |
|
23 | } |
@@ -1,81 +1,81 b'' | |||||
1 | {% extends page.html %} |
|
1 | {% extends page.html %} | |
2 |
|
2 | |||
3 | {% block title %}IPython Dashboard{% end %} |
|
3 | {% block title %}IPython Dashboard{% end %} | |
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 | {% end %} |
|
8 | {% end %} | |
9 |
|
9 | |||
10 |
|
10 | |||
11 | {% block params %} |
|
11 | {% block params %} | |
12 |
|
12 | |||
13 | data-project={{project}} |
|
13 | data-project={{project}} | |
14 | data-base-project-url={{base_project_url}} |
|
14 | data-base-project-url={{base_project_url}} | |
15 | data-base-kernel-url={{base_kernel_url}} |
|
15 | data-base-kernel-url={{base_kernel_url}} | |
16 | data-read-only={{read_only}} |
|
16 | data-read-only={{read_only}} | |
17 |
|
17 | |||
18 | {% end %} |
|
18 | {% end %} | |
19 |
|
19 | |||
20 |
|
20 | |||
21 | {% block site %} |
|
21 | {% block site %} | |
22 |
|
22 | |||
23 | <div id="main_app"> |
|
23 | <div id="main_app"> | |
24 |
|
24 | |||
25 | <div id="tabs"> |
|
25 | <div id="tabs"> | |
26 | <ul> |
|
26 | <ul> | |
27 | <li><a href="#tab1">Notebooks</a></li> |
|
27 | <li><a href="#tab1">Notebooks</a></li> | |
28 | <li><a href="#tab2">Clusters</a></li> |
|
28 | <li><a href="#tab2">Clusters</a></li> | |
29 | </ul> |
|
29 | </ul> | |
30 |
|
30 | |||
31 | <div id="tab1"> |
|
31 | <div id="tab1"> | |
32 | {% if logged_in or not read_only %} |
|
32 | {% if logged_in or not read_only %} | |
33 | <div id="notebook_toolbar"> |
|
33 | <div id="notebook_toolbar"> | |
34 | <form id='alternate_upload' class='alternate_upload' > |
|
34 | <form id='alternate_upload' class='alternate_upload' > | |
35 |
<span id="drag_info" style="position:absolute" > |
|
35 | <span id="drag_info" style="position:absolute" > | |
36 |
onto the list |
|
36 | To import a notebook, drag the file onto the listing below or <strong>click here</strong>. | |
37 |
|
|
37 | </span> | |
38 | <input type="file" name="datafile" class="fileinput" multiple='multiple'> |
|
38 | <input type="file" name="datafile" class="fileinput" multiple='multiple'> | |
39 | </form> |
|
39 | </form> | |
40 | <span id="notebook_buttons"> |
|
40 | <span id="notebook_buttons"> | |
41 | <button id="refresh_notebook_list" title="Refresh notebook list">Refresh</button> |
|
41 | <button id="refresh_notebook_list" title="Refresh notebook list">Refresh</button> | |
42 | <button id="new_notebook" title="Create new notebook">New Notebook</button> |
|
42 | <button id="new_notebook" title="Create new notebook">New Notebook</button> | |
43 | </span> |
|
43 | </span> | |
44 | </div> |
|
44 | </div> | |
45 | {% end %} |
|
45 | {% end %} | |
46 |
|
46 | |||
47 | <div id="notebook_list"> |
|
47 | <div id="notebook_list"> | |
48 | <div id="project_name"><h2>{{project}}</h2></div> |
|
48 | <div id="project_name"><h2>{{project}}</h2></div> | |
49 | </div> |
|
49 | </div> | |
50 | </div> |
|
50 | </div> | |
51 | <div id="tab2"> |
|
51 | <div id="tab2"> | |
52 |
|
52 | |||
53 | <div id="cluster_toolbar"> |
|
53 | <div id="cluster_toolbar"> | |
54 | <span id="cluster_list_info">IPython parallel computing clusters</span> |
|
54 | <span id="cluster_list_info">IPython parallel computing clusters</span> | |
55 |
|
55 | |||
56 | <span id="cluster_buttons"> |
|
56 | <span id="cluster_buttons"> | |
57 | <button id="refresh_cluster_list" title="Refresh cluster list">Refresh</button> |
|
57 | <button id="refresh_cluster_list" title="Refresh cluster list">Refresh</button> | |
58 | </span> |
|
58 | </span> | |
59 | </div> |
|
59 | </div> | |
60 |
|
60 | |||
61 | <div id="cluster_list"> |
|
61 | <div id="cluster_list"> | |
62 | <div id="cluster_header"> |
|
62 | <div id="cluster_header"> | |
63 | <span>profile</span> |
|
63 | <span>profile</span> | |
64 | <span>action</span> |
|
64 | <span>action</span> | |
65 | <span title="Enter the number of engines to start or empty for default"># of engines</span> |
|
65 | <span title="Enter the number of engines to start or empty for default"># of engines</span> | |
66 | <span>status</span> |
|
66 | <span>status</span> | |
67 | </div> |
|
67 | </div> | |
68 | </div> |
|
68 | </div> | |
69 |
|
69 | |||
70 | </div> |
|
70 | </div> | |
71 | </div> |
|
71 | </div> | |
72 |
|
72 | |||
73 | </div> |
|
73 | </div> | |
74 |
|
74 | |||
75 | {% end %} |
|
75 | {% end %} | |
76 |
|
76 | |||
77 | {% block script %} |
|
77 | {% block script %} | |
78 | <script src="{{static_url("js/notebooklist.js") }}" type="text/javascript" charset="utf-8"></script> |
|
78 | <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> |
|
79 | <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> |
|
80 | <script src="{{static_url("js/projectdashboardmain.js") }}" type="text/javascript" charset="utf-8"></script> | |
81 | {% end %} |
|
81 | {% end %} |
General Comments 0
You need to be logged in to leave comments.
Login now