summaryrefslogtreecommitdiff
path: root/tools/mmd/MmdWidgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mmd/MmdWidgets.py')
-rw-r--r--tools/mmd/MmdWidgets.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/mmd/MmdWidgets.py b/tools/mmd/MmdWidgets.py
index 737b554..a1a1f55 100644
--- a/tools/mmd/MmdWidgets.py
+++ b/tools/mmd/MmdWidgets.py
@@ -15,7 +15,7 @@ def loginFormWidget ():
</table>
<input type="hidden" name="cmd" value="login" />
</form>
- Don't have an account yet? <a href="?cmd=registerForm">Register</a> here!
+ Don't have an account yet? <a href="mmd?cmd=registerForm">Register</a> here!
'''
return html
@@ -119,7 +119,7 @@ def indexWidget (lcol, rcol, status = statusWidget (None)):
<head>
<title>MURSAT1 Dashboard</title>
<meta charset="utf-8" />
- <link rel="stylesheet" type="text/css" href="http://sat.mur.at/css/dashboard.css" />
+ <link rel="stylesheet" type="text/css" href="mmd.css" />
</head>
<body>
<div id="status">
@@ -149,9 +149,9 @@ def dataWidget (longitude = 15.44226, latitude = 47.06576):
<div>Longitude: {0}</div>
<div>Latitude: {1}</div>
<hr />
- <div><a href="?cmd=submitForm">Submit</a> a report</div>
- <div><a href="?cmd=loginForm">Login</a> to your personal account</div>
- <div>View <a href="?cmd=viewlog">Log</a> of reports</div>
+ <div><a href="mmd?cmd=submitForm">Submit</a> a report</div>
+ <div><a href="mmd?cmd=loginForm">Login</a> to your personal account</div>
+ <div>View <a href="mmd?cmd=viewlog">Log</a> of reports</div>
<hr />
<div>Checkout the <a href="http://sat.mur.at/">project page</a>!</div>
'''.format (longitude, latitude)