Show More
@@ -1,7 +1,7 b'' | |||||
1 | /* |
|
1 | /* | |
2 | Placeholder for custom user CSS |
|
2 | Placeholder for custom user CSS | |
3 |
|
3 | |||
4 |
mainly to be overridden in profile/static/ |
|
4 | mainly to be overridden in profile/static/user/custom.css | |
5 |
|
5 | |||
6 | This will always be an empty file in IPython |
|
6 | This will always be an empty file in IPython | |
7 | */ No newline at end of file |
|
7 | */ |
@@ -3,14 +3,14 b'' | |||||
3 | * |
|
3 | * | |
4 | * |
|
4 | * | |
5 | * Placeholder for custom user javascript |
|
5 | * Placeholder for custom user javascript | |
6 | * mainly to be overridden in profile/static/js/custom.js |
|
6 | * mainly to be overridden in profile/static/user/js/custom.js | |
7 | * This will always be an empty file in IPython |
|
7 | * This will always be an empty file in IPython | |
8 | * |
|
8 | * | |
9 | * User could add any javascript in the `profile/static/js/custom.js` file |
|
9 | * User could add any javascript in the `profile/static/user/js/custom.js` file | |
10 | * (and should create it if it does not exist). |
|
10 | * (and should create it if it does not exist). | |
11 | * It will be executed by the ipython notebook at load time. |
|
11 | * It will be executed by the ipython notebook at load time. | |
12 | * |
|
12 | * | |
13 | * Same thing with `profile/static/css/custom.css` to inject custom css into the notebook. |
|
13 | * Same thing with `profile/static/user/css/custom.css` to inject custom css into the notebook. | |
14 | * |
|
14 | * | |
15 | * Example : |
|
15 | * Example : | |
16 | * |
|
16 | * | |
@@ -34,10 +34,10 b'' | |||||
34 | * to load custom script into the notebook. |
|
34 | * to load custom script into the notebook. | |
35 | * |
|
35 | * | |
36 | * // to load the metadata ui extension example. |
|
36 | * // to load the metadata ui extension example. | |
37 | * $.getScript('/static/js/celltoolbarpresets/example.js'); |
|
37 | * $.getScript('/static/notebooks/js/celltoolbarpresets/example.js'); | |
38 | * // or |
|
38 | * // or | |
39 | * // to load the metadata ui extension to control slideshow mode / reveal js for nbconvert |
|
39 | * // to load the metadata ui extension to control slideshow mode / reveal js for nbconvert | |
40 | * $.getScript('/static/js/celltoolbarpresets/slideshow.js'); |
|
40 | * $.getScript('/static/notebooks/js/celltoolbarpresets/slideshow.js'); | |
41 | * |
|
41 | * | |
42 | * |
|
42 | * | |
43 | * @module IPython |
|
43 | * @module IPython |
@@ -18,7 +18,7 b'' | |||||
18 | {% block lesscss %} |
|
18 | {% block lesscss %} | |
19 | {% endblock lesscss%} |
|
19 | {% endblock lesscss%} | |
20 | {% endblock %} |
|
20 | {% endblock %} | |
21 |
|
|
21 | <link rel="stylesheet" href="{{ static_url("user/css/custom.css") }}" type="text/css" /> | |
22 |
|
22 | |||
23 |
|
23 | |||
24 | {% block meta %} |
|
24 | {% block meta %} | |
@@ -64,7 +64,7 b'' | |||||
64 | {% endif %} |
|
64 | {% endif %} | |
65 | {% endblock %} |
|
65 | {% endblock %} | |
66 |
|
66 | |||
67 |
|
|
67 | <script src="{{static_url("user/js/custom.js") }}" type="text/javascript" charset="utf-8"></script> | |
68 |
|
68 | |||
69 | </body> |
|
69 | </body> | |
70 |
|
70 |
General Comments 0
You need to be logged in to leave comments.
Login now