Show More
@@ -1,7 +1,7 | |||
|
1 | 1 | /* |
|
2 | 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 | 6 | This will always be an empty file in IPython |
|
7 | 7 | */ No newline at end of file |
@@ -3,14 +3,14 | |||
|
3 | 3 | * |
|
4 | 4 | * |
|
5 | 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 | 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 | 10 | * (and should create it if it does not exist). |
|
11 | 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 | 15 | * Example : |
|
16 | 16 | * |
@@ -34,10 +34,10 | |||
|
34 | 34 | * to load custom script into the notebook. |
|
35 | 35 | * |
|
36 | 36 | * // to load the metadata ui extension example. |
|
37 | * $.getScript('/static/js/celltoolbarpresets/example.js'); | |
|
37 | * $.getScript('/static/notebooks/js/celltoolbarpresets/example.js'); | |
|
38 | 38 | * // or |
|
39 | 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 | 43 | * @module IPython |
@@ -18,7 +18,7 | |||
|
18 | 18 | {% block lesscss %} |
|
19 | 19 | {% endblock lesscss%} |
|
20 | 20 | {% endblock %} |
|
21 |
|
|
|
21 | <link rel="stylesheet" href="{{ static_url("user/css/custom.css") }}" type="text/css" /> | |
|
22 | 22 | |
|
23 | 23 | |
|
24 | 24 | {% block meta %} |
@@ -64,7 +64,7 | |||
|
64 | 64 | {% endif %} |
|
65 | 65 | {% endblock %} |
|
66 | 66 | |
|
67 |
|
|
|
67 | <script src="{{static_url("user/js/custom.js") }}" type="text/javascript" charset="utf-8"></script> | |
|
68 | 68 | |
|
69 | 69 | </body> |
|
70 | 70 |
General Comments 0
You need to be logged in to leave comments.
Login now