summaryrefslogtreecommitdiff
path: root/tools/mmd/MmdWidgets.py
diff options
context:
space:
mode:
authorJogi Hofmüller <jogi@mur.at>2011-08-01 09:21:12 +0000
committerJogi Hofmüller <jogi@mur.at>2011-08-01 09:21:12 +0000
commit8f163642ecceac0e9eba916b1dfbd4d6d0ad63bb (patch)
tree00bd3232f9c89a12fdf019eb1035c6cffedbc2e5 /tools/mmd/MmdWidgets.py
parent- have a confirmation request sent by email for registration now (diff)
- found a way to handle encoding
- switched back to / as script handler git-svn-id: https://svn.spreadspace.org/mur.sat@87 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'tools/mmd/MmdWidgets.py')
-rw-r--r--tools/mmd/MmdWidgets.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/mmd/MmdWidgets.py b/tools/mmd/MmdWidgets.py
index 1402410..252b6f8 100644
--- a/tools/mmd/MmdWidgets.py
+++ b/tools/mmd/MmdWidgets.py
@@ -16,7 +16,7 @@ def loginFormWidget ():
</table>
<input type="hidden" name="cmd" value="login" />
</form>
- Don't have an account yet? <a href="mmd?cmd=registerForm">Register</a> here!
+ Don't have an account yet? <a href="?cmd=registerForm">Register</a> here!
'''
return html
@@ -116,7 +116,7 @@ def osmWidget (longitude = 15.4426, latitude = 47.06576):
def statusWidget (ip, email):
html = '''
- <a href="mmd">
+ <a href="">
<img src="http://sat.mur.at/pics/sat-logo-notext.png" alt="mur.sat logo" />
</a>
MURSAT1 Mission Dashboard
@@ -134,7 +134,7 @@ def indexWidget (lcol, rcol, status):
<head>
<title>MURSAT1 Dashboard</title>
<meta charset="utf-8" />
- <link rel="stylesheet" type="text/css" href="mmd.css" />
+ <link rel="stylesheet" type="text/css" href="static/mmd.css" />
</head>
<body>
<div id="status">
@@ -164,9 +164,9 @@ def dataWidget (longitude = 15.44226, latitude = 47.06576):
<div>Longitude: {0}</div>
<div>Latitude: {1}</div>
<hr />
- <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>
+ <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>
<hr />
<div>Checkout the <a href="http://sat.mur.at/">project page</a>!</div>
'''.format (longitude, latitude)