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