summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html2
-rw-r--r--templates/go.html6
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/base.html b/templates/base.html
index c2e023b..82579c5 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -9,7 +9,7 @@
</head><body>
<div class="main">
<div style="width: 100%; text-align: center;">
-<h1>{% block title %}The Equator% endblock %}</h1>
+<h1>{% block title %}The Equator{% endblock %}</h1>
</div>
{% block content %}
no content?
diff --git a/templates/go.html b/templates/go.html
index cb1e855..5569cf2 100644
--- a/templates/go.html
+++ b/templates/go.html
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block javascript %}
-<script type="text/javascript" src="The%20Equator_files/prototype.js">
+<script type="text/javascript" src="/static/prototype.js">
</script>
<script type="text/javascript">
var variables = []
@@ -9,7 +9,7 @@ var equations = []
function get_variables() {
$('status_bin').innerHTML= "Fetching..."
var initialVariablesRequest = new Ajax.Request(
- "/variable/json/all/",
+ "/json/all_vars/",
{ method: 'get',
onSuccess: handle_variables });
}
@@ -44,7 +44,7 @@ function toggle_variable(vnum) {
}
}
var freshEquationsRequest = new Ajax.Request(
- "/equation/json/byvariables/" + whichvars,
+ "/json/equs_by_vars/" + whichvars,
{ method: 'get',
onSuccess: handle_equations});
}