diff options
Diffstat (limited to 'tools/mmd/MmdWidgets.py')
-rw-r--r-- | tools/mmd/MmdWidgets.py | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/tools/mmd/MmdWidgets.py b/tools/mmd/MmdWidgets.py index 02f1bef..37a3245 100644 --- a/tools/mmd/MmdWidgets.py +++ b/tools/mmd/MmdWidgets.py @@ -456,7 +456,7 @@ def indexWidget (rcol, lcol, status, debug_info = False): {2} </div> <div id="dev"> - Development version! Tracking <a href="http://www.arissat1.org/v3/">ARISSAT-1</a> for now ;) + Development version. Kindly ignore everything below this line. </div> {3} </body> @@ -465,6 +465,26 @@ def indexWidget (rcol, lcol, status, debug_info = False): return html +def menuWidget (session): + html = ''' + <div id="menu"> + <div> + <a href="?cmd=submitForm">Submit</a> a report + </div> + <div> + View <a href="?cmd=viewlog">Log</a> of reports + </div> + <div> + Checkout the <a href="http://sat.mur.at/">project page</a> + </div> + <div> + {0} + </div> + </div> + '''.format (session.message) + + return html + def dataWidget (session): timestamp, longitude, latitude = session.satellite.getCurrentSSP () |