Browse files

notebook : update logo

    Change Notebook logo to IP[y]:Notebook
    Make it clickable to return to the dasboard
    Thanks to @Minrk for the css.

    closes #607
  • Loading branch information...
1 parent ee40ebe commit bfa58f48f5e9aecf75525f7d47c4290d3a08314d @Carreau committed Dec 7, 2011
View
9 IPython/frontend/html/notebook/static/css/base.css
@@ -30,12 +30,13 @@ div#header {
span#ipython_notebook {
position: absolute;
- padding: 2px;
+ padding: 2px 2px 2px 5px;
}
-span#ipython_notebook h1 {
+span#ipython_notebook h1 img {
font-family: Verdana, "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
- font-size: 150%;
+ height: 24px;
+ text-decoration:none;
display: inline;
color: black;
}
@@ -59,4 +60,4 @@ span#login_widget {
/* generic class for hidden objects */
.hidden {
display: none;
-}
+}
View
6 IPython/frontend/html/notebook/static/css/notebook.css
@@ -18,10 +18,8 @@ body {
}
span#save_widget {
- position: static;
- left: 0px;
- padding: 5px 0px;
- margin: 0px 0px 0px 0px;
+ margin-top:2px;
+ display:inline-block;
}
span#quick_help_area {
View
BIN IPython/frontend/html/notebook/static/ipynblogo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
2 IPython/frontend/html/notebook/templates/layout.html
@@ -21,7 +21,7 @@
<body {% block params %}{% end %}>
<div id="header">
- <span id="ipython_notebook"><h1>IPython Notebook</h1></span>
+ <span id="ipython_notebook"><h1><img src='static/ipynblogo.png' alt='IPython Notebook'/></h1></span>
<span id="login_widget">
{% if current_user and current_user != 'anonymous' %}
<button id="logout">Logout</button>
View
2 IPython/frontend/html/notebook/templates/notebook.html
@@ -40,7 +40,7 @@
>
<div id="header">
- <span id="ipython_notebook"><h1>IPython Notebook</h1></span>
+ <span id="ipython_notebook"><h1><a href='..' alt='dashboard'><img src='static/ipynblogo.png' alt='IPython Notebook'/></a></h1></span>
<span id="save_widget">
<input type="text" id="notebook_name" size="20"></textarea>
<button id="save_notebook"><u>S</u>ave</button>

0 comments on commit bfa58f4

Please sign in to comment.