##// END OF EJS Templates
main_app -> ipython-main-app
Bussonnier Matthias -
Show More
@@ -1,5 +1,5 b''
1 1
2 #main_app {
2 #ipython-main-app {
3 3 height: 100px;
4 4 width: 350px;
5 5 margin: 50px auto;
@@ -1,5 +1,5 b''
1 1
2 #main_app {
2 #ipython-main-app {
3 3 height: 100px;
4 4 width: 200px;
5 5 margin: 50px auto;
@@ -92,7 +92,7 b' span#notebook_name {'
92 92 }
93 93
94 94
95 div#main_app {
95 #ipython-main-app {
96 96 width: 100%;
97 97 position: relative;
98 98 }
@@ -5,7 +5,7 b''
5 5 * Author: IPython Development Team
6 6 */
7 7
8 #main_app {
8 #ipython-main-app {
9 9 width: 920px;
10 10 margin: 30px auto 0px auto;
11 11 }
@@ -43,7 +43,7 b' var IPython = (function (IPython) {'
43 43 LayoutManager.prototype.do_resize = function () {
44 44 var app_height = this.app_height() // content height
45 45
46 $('div#main_app').height(app_height); // content+padding+border height
46 $('#ipython-main-app').height(app_height); // content+padding+border height
47 47
48 48 var pager_height = IPython.pager.percentage_height*app_height;
49 49 var pager_splitter_height = $('div#pager_splitter').outerHeight(true);
@@ -14,7 +14,7 b' $(document).ready(function () {'
14 14
15 15 IPython.page = new IPython.Page();
16 16 $('input#login_submit').button();
17 $('div#main_app').addClass('border-box-sizing ui-widget');
17 $('#ipython-main-app').addClass('border-box-sizing ui-widget');
18 18 IPython.page.show();
19 19 $('input#password_input').focus();
20 20
@@ -13,7 +13,7 b''
13 13 $(document).ready(function () {
14 14
15 15 IPython.page = new IPython.Page();
16 $('div#main_app').addClass('border-box-sizing ui-widget');
16 $('#ipython-main-app').addClass('border-box-sizing ui-widget');
17 17 IPython.page.show();
18 18
19 19 });
@@ -273,7 +273,7 b' var IPython = (function (IPython) {'
273 273 });
274 274
275 275 var collapse_time = function(time){
276 var app_height = $('div#main_app').height(); // content height
276 var app_height = $('#ipython-main-app').height(); // content height
277 277 var splitter_height = $('div#pager_splitter').outerHeight(true);
278 278 var new_height = app_height - splitter_height;
279 279 that.element.animate({height : new_height + 'px'}, time);
@@ -285,7 +285,7 b' var IPython = (function (IPython) {'
285 285 });
286 286
287 287 var expand_time = function(time) {
288 var app_height = $('div#main_app').height(); // content height
288 var app_height = $('#ipython-main-app').height(); // content height
289 289 var splitter_height = $('div#pager_splitter').outerHeight(true);
290 290 var pager_height = $('div#pager').outerHeight(true);
291 291 var new_height = app_height - pager_height - splitter_height;
@@ -34,7 +34,7 b' $(document).ready(function () {'
34 34 IPython.mathjaxutils.init();
35 35
36 36 IPython.read_only = $('body').data('readOnly') === 'True';
37 $('div#main_app').addClass('border-box-sizing ui-widget');
37 $('#ipython-main-app').addClass('border-box-sizing ui-widget');
38 38 $('div#notebook_panel').addClass('border-box-sizing ui-widget');
39 39 // The header's bottom border is provided by the menu bar so we remove it.
40 40 $('div#header').css('border-bottom-style','none');
@@ -15,7 +15,7 b' $(document).ready(function () {'
15 15 IPython.mathjaxutils.init();
16 16
17 17 IPython.read_only = $('body').data('readOnly') === 'True';
18 $('div#main_app').addClass('border-box-sizing ui-widget');
18 $('#ipython-main-app').addClass('border-box-sizing ui-widget');
19 19 $('div#notebook_panel').addClass('border-box-sizing ui-widget');
20 20
21 21 IPython.page = new IPython.Page();
@@ -19,7 +19,7 b' $(document).ready(function () {'
19 19 var new_url = $('body').data('baseProjectUrl') + '#' + ui.panel.id;
20 20 window.history.replaceState({}, '', new_url);
21 21 });
22 $('div#main_app').addClass('border-box-sizing ui-widget');
22 $('#ipython-main-app').addClass('border-box-sizing ui-widget');
23 23 $('div#notebooks_toolbar').addClass('ui-widget ui-helper-clearfix');
24 24 $('#new_notebook').button().click(function (e) {
25 25 window.open($('body').data('baseProjectUrl')+'new');
@@ -13,7 +13,7 b''
13 13
14 14 {% block site %}
15 15
16 <div id="main_app">
16 <div id="ipython-main-app">
17 17
18 18 {% if login_available %}
19 19 <form action="{{base_project_url}}login?next={{next}}" method="post">
@@ -12,7 +12,7 b''
12 12
13 13 {% block site %}
14 14
15 <div id="main_app">
15 <div id="ipython-main-app">
16 16
17 17 {% if message %}
18 18 {% for key in message %}
@@ -161,7 +161,7 b' data-notebook-id={{notebook_id}}'
161 161
162 162 <div id="maintoolbar"></div>
163 163
164 <div id="main_app">
164 <div id="ipython-main-app">
165 165
166 166 <div id="notebook_panel">
167 167 <div id="notebook"></div>
@@ -40,7 +40,7 b' data-notebook-id={{notebook_id}}'
40 40
41 41 {% block site %}
42 42
43 <div id="main_app">
43 <div id="ipython-main-app">
44 44
45 45 <div id="notebook_panel">
46 46 <div id="notebook"></div>
@@ -20,7 +20,7 b' data-read-only={{read_only}}'
20 20
21 21 {% block site %}
22 22
23 <div id="main_app">
23 <div id="ipython-main-app">
24 24
25 25 <div id="tabs">
26 26 <ul>
General Comments 0
You need to be logged in to leave comments. Login now