From e72b752b53ea460bf672bd4290bc2e359c67b334 2013-06-24 22:26:02 From: Min RK Date: 2013-06-24 22:26:02 Subject: [PATCH] Merge pull request #3456 from ivanov/noscript Add notice for users who disable javascript --- diff --git a/IPython/frontend/html/notebook/static/base/less/page.less b/IPython/frontend/html/notebook/static/base/less/page.less index e8b3fdd..ea1dd33 100644 --- a/IPython/frontend/html/notebook/static/base/less/page.less +++ b/IPython/frontend/html/notebook/static/base/less/page.less @@ -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; diff --git a/IPython/frontend/html/notebook/static/style/style.min.css b/IPython/frontend/html/notebook/static/style/style.min.css index be2a0e3..7d0167c 100644 --- a/IPython/frontend/html/notebook/static/style/style.min.css +++ b/IPython/frontend/html/notebook/static/style/style.min.css @@ -1048,6 +1048,7 @@ a.label:hover,a.label:focus,a.badge:hover,a.badge:focus{color:#ffffff;text-decor body{background-color:white;position:absolute;left:0px;right:0px;top:0px;bottom:0px;overflow:visible;} div#header{display:none;} #ipython_notebook{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;text-decoration:none;color:black;} #site{width:100%;display:none;} .ui-button .ui-button-text{padding:0.2em 0.8em;font-size:77%;} diff --git a/IPython/frontend/html/notebook/templates/page.html b/IPython/frontend/html/notebook/templates/page.html index 9d1abb0..850d2a4 100644 --- a/IPython/frontend/html/notebook/templates/page.html +++ b/IPython/frontend/html/notebook/templates/page.html @@ -40,6 +40,13 @@ + +