##// END OF EJS Templates
tweak header
MinRK -
Show More
@@ -1,70 +1,69 b''
1 1 /**
2 2 * Primary styles
3 3 *
4 4 * Author: IPython Development Team
5 5 */
6 6
7 7
8 8 body {
9 9 background-color: white;
10 10 /* This makes sure that the body covers the entire window and needs to
11 11 be in a different element than the display: box in wrapper below */
12 12 position: absolute;
13 13 left: 0px;
14 14 right: 0px;
15 15 top: 0px;
16 16 bottom: 0px;
17 17 overflow: visible;
18 18 }
19 19
20 20
21 21 div#header {
22 22 /* Initially hidden to prevent FLOUC */
23 23 display: none;
24 24 position: relative;
25 25 height: 40px;
26 26 padding: 5px;
27 margin: 0px;
28 width: 100%;
29 27 }
30 28
31 29 span#ipython_notebook {
32 30 position: absolute;
33 31 padding: 2px 2px 2px 5px;
34 32 }
35 33
36 34 span#ipython_notebook img {
37 35 font-family: Verdana, "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
38 36 height: 24px;
39 37 text-decoration:none;
40 38 display: inline;
41 39 color: black;
42 40 }
43 41
44 42 #site {
45 43 width: 100%;
46 44 display: none;
47 45 }
48 46
49 47 /* We set the fonts by hand here to override the values in the theme */
50 48 .ui-widget {
51 49 font-family: "Lucinda Grande", "Lucinda Sans Unicode", Helvetica, Arial, Verdana, sans-serif;
52 50 }
53 51
54 52 .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
55 53 font-family: "Lucinda Grande", "Lucinda Sans Unicode", Helvetica, Arial, Verdana, sans-serif;
56 54 }
57 55
58 56 /* Smaller buttons */
59 57 .ui-button .ui-button-text {
60 58 padding: 0.2em 0.8em;
61 59 font-size: 77%;
62 60 }
63 61
64 62 input.ui-button {
65 63 padding: 0.3em 0.9em;
66 64 }
67 65
68 66 span#login_widget {
69 67 float: right;
68 margin-top: 2px;
70 69 }
@@ -1,90 +1,88 b''
1 1
2 2
3 3 <!DOCTYPE HTML>
4 4 {% macro static_url(name) -%}
5 5 {{ base_project_url }}static/{{ name }}
6 6 {%- endmacro %}
7 7 <html>
8 8
9 9 <head>
10 10 <meta charset="utf-8">
11 11
12 12 <title>{% block title %}IPython Notebook{% endblock %}</title>
13 13 <link rel="shortcut icon" type="image/x-icon" href="{{static_url("base/images/favicon.ico") }}">
14 14 <meta http-equiv="X-UA-Compatible" content="chrome=1">
15 15 <link rel="stylesheet" href="{{static_url("components/jquery-ui/themes/smoothness/jquery-ui.min.css") }}" type="text/css" />
16 16 <meta name="viewport" content="width=device-width, initial-scale=1.0">
17 17 <link rel="stylesheet" href="{{static_url("components/bootstrap/bootstrap/css/bootstrap.min.css") }}" type="text/css" />
18 18 <!-- <link rel="stylesheet" href="{{static_url("components/bootstrap/bootstrap/css/bootstrap-responsive.min.css") }}" type="text/css" /> -->
19 19
20 20 <link rel="stylesheet" href="{{static_url("base/css/boilerplate.css") }}" type="text/css" />
21 21 {% block stylesheet %}
22 22 {% block lesscss %}
23 23 {% if use_less %}
24 24 <link rel="stylesheet/less" href="{{ static_url("style/style.less") }}" type="text/css" />
25 25 {% else %}
26 26 <link rel="stylesheet" href="{{ static_url("style/style.min.css") }}" type="text/css"/>
27 27 {% endif %}
28 28 {% endblock %}
29 29 {% endblock %}
30 30 <link rel="stylesheet" href="{{ static_url("custom/custom.css") }}" type="text/css" />
31 31 <script src="{{static_url("components/requirejs/require.js") }}" type="text/javascript" charset="utf-8"></script>
32 32 <script>
33 33 require.config({
34 34 baseUrl: '{{static_url() }}',
35 35 });
36 36 </script>
37 37
38 38 {% block meta %}
39 39 {% endblock %}
40 40
41 41 </head>
42 42
43 43 <body {% block params %}{% endblock %}>
44 44
45 <div id="header-wrapper" class="navbar navbar-static-top">
46 <div class="navbar-inner navbar-nobg">
45 <div id="header-wrapper" class="nav-wrapper">
47 46 <div id="header" class="container">
48 47 <span id="ipython_notebook"><div><a href="{{base_project_url}}" alt='dashboard'><img src='{{static_url("base/images/ipynblogo.png") }}' alt='IPython Notebook'/></a></div></span>
49 48
50 49 {% block login_widget %}
51 50
52 51 <span id="login_widget">
53 52 {% if logged_in %}
54 53 <button id="logout">Logout</button>
55 54 {% elif login_available and not logged_in %}
56 55 <button id="login">Login</button>
57 56 {% endif %}
58 57 </span>
59 58
60 59 {% endblock %}
61 60
62 61 {% block header %}
63 62 {% endblock %}
64 63 </div>
65 </div>
66 64 </div>
67 65
68 66 <div id="site" class="container">
69 67 {% block site %}
70 68 {% endblock %}
71 69 </div>
72 70
73 71 <script src="{{static_url("components/jquery/jquery.min.js") }}" type="text/javascript" charset="utf-8"></script>
74 72 <script src="{{static_url("components/jquery-ui/ui/minified/jquery-ui.min.js") }}" type="text/javascript" charset="utf-8"></script>
75 73 <script src="{{static_url("components/bootstrap/bootstrap/js/bootstrap.min.js") }}" type="text/javascript" charset="utf-8"></script>
76 74 <script src="{{static_url("base/js/namespace.js") }}" type="text/javascript" charset="utf-8"></script>
77 75 <script src="{{static_url("base/js/page.js") }}" type="text/javascript" charset="utf-8"></script>
78 76 <script src="{{static_url("auth/js/loginwidget.js") }}" type="text/javascript" charset="utf-8"></script>
79 77
80 78 {% block script %}
81 79 {% if use_less %}
82 80 <script src="{{ static_url("components/less.js/dist/less-1.3.3.min.js") }}" charset="utf-8"></script>
83 81 {% endif %}
84 82 {% endblock %}
85 83
86 84 <script src="{{static_url("custom/custom.js") }}" type="text/javascript" charset="utf-8"></script>
87 85
88 86 </body>
89 87
90 88 </html>
General Comments 0
You need to be logged in to leave comments. Login now