summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-12-21 18:01:15 +0200
committerAlon Levy <alon@pobox.com>2014-12-21 18:01:15 +0200
commit9404d197cedba1c7d2c076762f631c20ad700255 (patch)
tree8d6ca78ef20ae75deaf84acbf9e2abcb7e0eeefc
parentda7e5898380bd1f9146945b1c520834f2d86845a (diff)
s/res/static/ for local running - not tested on rhizi.netpastebin
-rw-r--r--res/templates/index.html10
-rw-r--r--res/templates/login.html2
-rw-r--r--src/client/app.js2
-rw-r--r--src/client/rz_core.js6
4 files changed, 10 insertions, 10 deletions
diff --git a/res/templates/index.html b/res/templates/index.html
index f805c518..bf983642 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="/static/css/style.css" rel="stylesheet" type="text/css">
+ <link rel="shortcut icon" href="/static/img/favicon2.ico" />
<script src="/static/local_config.js"></script>
- <script data-main='/static/app.js' src="/res/lib/require.js"></script>
+ <script data-main='/static/app.js' src="/static/lib/require.js"></script>
</head>
@@ -22,7 +22,7 @@
<span class="profile-initials">UH</span>
<div class="profile-username">Welcome&nbsp;<span id="user_id">{{ username }}</span>!<span id="logout-button" class="button">Logout</span></div>
</div>
- <img class="organization-logo" src="/res/img/CRI-logo.png">
+ <img class="organization-logo" src="/static/img/CRI-logo.png">
</div>
</div>
<div class="search-bar">
@@ -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="/static/img/rhizi-logo.png"/></a>
</div>
</div>
diff --git a/res/templates/login.html b/res/templates/login.html
index 186d6cd4..73208d14 100644
--- a/res/templates/login.html
+++ b/res/templates/login.html
@@ -2,7 +2,7 @@
<head>
<meta charset="UTF-8">
<title>Welcome to Rhizi</title>
-<link href="/res/css/style.css" rel="stylesheet" type="text/css">
+<link href="/static/css/style.css" rel="stylesheet" type="text/css">
<script src="/static/lib/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
function submit_login_form() {
diff --git a/src/client/app.js b/src/client/app.js
index 08257ce0..c2c372df 100644
--- a/src/client/app.js
+++ b/src/client/app.js
@@ -1,5 +1,5 @@
(function() {
- var lib_path = '/res/lib/';
+ var lib_path = '/static/lib/';
var config = {
paths: {
jquery: lib_path + 'jquery',
diff --git a/src/client/rz_core.js b/src/client/rz_core.js
index 7ec19692..473e7d59 100644
--- a/src/client/rz_core.js
+++ b/src/client/rz_core.js
@@ -568,13 +568,13 @@ function update_view__graph(no_relayout) {
.attr("xlink:href", function(d) {
switch (d.status) {
case "done":
- return "res/img/check.png";
+ return "static/img/check.png";
break;
case "current":
- return "res/img/wait.png";
+ return "static/img/wait.png";
break;
case "waiting":
- return "res/img/cross.png";
+ return "static/img/cross.png";
break;
}
});