diff options
author | Jogi Hofmüller <jogi@mur.at> | 2011-08-24 14:27:54 +0000 |
---|---|---|
committer | Jogi Hofmüller <jogi@mur.at> | 2011-08-24 14:27:54 +0000 |
commit | 0944d1cb011a8f625dc4c3b025b1669a792823f6 (patch) | |
tree | 517e2afa75e211527d283d0e2ca48b9357411ef1 /tools/mmd/tracker.wsgi | |
parent | - changed font for groundstation display (diff) |
- added button to display TLE in new window
git-svn-id: https://svn.spreadspace.org/mur.sat@159 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'tools/mmd/tracker.wsgi')
-rw-r--r-- | tools/mmd/tracker.wsgi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/mmd/tracker.wsgi b/tools/mmd/tracker.wsgi index 39b478c..edb3fde 100644 --- a/tools/mmd/tracker.wsgi +++ b/tools/mmd/tracker.wsgi @@ -24,6 +24,12 @@ def application (environ, response): {{ Orb.startOSMTracking({longitude}, {latitude}, {altitude}, '{name}'); }} + function printTLE () + {{ + tleWindow = window.open ("", "", "width=500, height=40"); + tleWindow.document.write ("<pre>" + Orb.printTLE () + "</pre>"); + tleWindow.focus (); + }} </script> <link rel="stylesheet" type="text/css" href="static/mmd.css" /> </head> @@ -78,6 +84,9 @@ def application (environ, response): preview for the next <input class="options" type="text" name="previewMinutes" id="previewMinutes" value="90" size="5" tabindex="3" /> minutes </div> + <div class="options"> + <input class="options" type="submit" value="show TLE" onClick="printTLE ()" /> + </div> <pre class="debug" id="debug"></pre> </body> </html> |