summaryrefslogtreecommitdiff
path: root/tools/mmd/MmdWidgets.py
diff options
context:
space:
mode:
authorJogi Hofmüller <jogi@mur.at>2011-07-29 16:33:44 +0000
committerJogi Hofmüller <jogi@mur.at>2011-07-29 16:33:44 +0000
commita70acd98abf70fadf903c7ceda6ff61bc2bbe889 (patch)
treec53fb33f0328c9116de8c402a6c90e3523877623 /tools/mmd/MmdWidgets.py
parentinitial revision (diff)
- added stylesheet locally and adapted MmdWidgets.py
- added Link to self in status logo git-svn-id: https://svn.spreadspace.org/mur.sat@72 7de4ea59-55d0-425e-a1af-a3118ea81d4c
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)