diff options
| author | Alon Levy <alon@pobox.com> | 2014-12-16 18:26:18 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-12-16 18:29:07 +0200 |
| commit | 4974c1aa6589b1e6fe7e6d6bf11cf8810bc64292 (patch) | |
| tree | 9729aa9754ba735d975717e1344532c360c5a3ca /res | |
| parent | 6cdf1ac29f617848ca08ddcc544deb1ee069e310 (diff) | |
client fixes to run with new layout
directives for src names:
any js file should be relative
any resource should be absolute
i.e. all images are /res/img/bla
and all js files are bla.js / view/node_view.js etc
Diffstat (limited to 'res')
| -rw-r--r-- | res/templates/index.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/res/templates/index.html b/res/templates/index.html index 7595a4cf..beec1459 100644 --- a/res/templates/index.html +++ b/res/templates/index.html @@ -2,11 +2,11 @@ <head> <title>Rhizi Prototype </title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <link href="res/css/style.css" rel="stylesheet" type="text/css"> - <link rel="shortcut icon" href="res/img/favicon2.ico" /> + <link href="/res/css/style.css" rel="stylesheet" type="text/css"> + <link rel="shortcut icon" href="/res/img/favicon2.ico" /> - <script src="src/local_config.js"></script> - <script data-main='src/app.js' src="lib/require.js"></script> + <script src="local_config.js"></script> + <script data-main='app.js' src="/res/lib/require.js"></script> </head> @@ -120,7 +120,7 @@ </div> <div class="rhizi-logo"><a href="http://www.rhizi.org"> - <img src="res/img/rhizi-logo.png"/></a> + <img src="/res/img/rhizi-logo.png"/></a> </div> </div> |
