Skip to content

Commit

Permalink
Merge pull request ipython#3456 from ivanov/noscript
Browse files Browse the repository at this point in the history
Add notice for users who disable javascript
  • Loading branch information
minrk committed Jun 24, 2013
2 parents cc3b3ad + cedb712 commit 4be93a1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
10 changes: 10 additions & 0 deletions IPython/frontend/html/notebook/static/base/less/page.less
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@ div#header {
padding-left: 16px;
}

#noscript {
width: auto;
padding-top: 16px;
padding-bottom: 16px;
text-align: center;
font-size: 22px;
color: red;
font-weight: bold;
}

#ipython_notebook img {
font-family: Verdana, "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
height: 24px;
Expand Down
1 change: 1 addition & 0 deletions IPython/frontend/html/notebook/static/style/style.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions IPython/frontend/html/notebook/templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@

<body {% block params %}{% endblock %}>

<noscript>
<div id='noscript'>
IPython Notebook requires JavaScript.<br>
Please enable it to proceed.
</div>
</noscript>

<div id="header" class="navbar navbar-static-top">
<div class="navbar-inner navbar-nobg">
<div class="container">
Expand Down

0 comments on commit 4be93a1

Please sign in to comment.