[hamradio-commits] [dump1090] 238/373: The start of a crummy looking options. It is bugged right now. Brought back the reset map.

Matthew Ernisse mernisse-guest at moszumanska.debian.org
Thu Oct 23 14:58:23 UTC 2014


This is an automated email from the git hooks/post-receive script.

mernisse-guest pushed a commit to branch backport
in repository dump1090.

commit 21229d58ea1ba7a2f98aa907e0cdf5b477459223
Author: Brian Davenport <the.lost.minded at gmail.com>
Date:   Thu May 30 17:45:10 2013 +0000

    The start of a crummy looking options.  It is bugged right now.
    Brought back the reset map.
---
 public_html/gmap.html | 14 +++++++++++++-
 public_html/script.js |  4 ++++
 public_html/style.css |  3 +++
 3 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/public_html/gmap.html b/public_html/gmap.html
index d4beb6f..338bc78 100644
--- a/public_html/gmap.html
+++ b/public_html/gmap.html
@@ -1,11 +1,12 @@
 <html>
 	<head>
 		<link rel="stylesheet" type="text/css" href="style.css" />
-		<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
+		<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
 		<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false&libraries=geometry"></script>
 		<script type="text/javascript" src="config.js"></script>
 		<script type="text/javascript" src="untrackedDeveloperSettings.js"></script> <!-- Developers -->
 		<script type="text/javascript" src="planeObject.js"></script>
+		<script type="text/javascript" src="options.js"></script>
 		<script type="text/javascript" src="extension.js"></script>
 		<script type="text/javascript" src="script.js"></script>
 		<script type="text/javascript" src="coolclock/excanvas.js"></script>
@@ -31,6 +32,17 @@
 						</td>
 					</tr></table>
 				</div>
+				<div id="sudo_buttons">
+					<table width="100%"><tr>
+						<td width="150" style="text-align: center;">[ <span onclick="resetMap();">Reset Map</span> ]</td><td></td><td width="150" style="text-align: center;" id="setings_button">[ <span onclick="settingToggle();">Settings</span> ]</td>
+					</tr></table>
+				</div>
+				<div id="options" class="notvisable">
+					<table id="optionsTabs"><tr>
+						<td onclick="optionsGeneral();">General</td><td onclick="optionsKML();">KML</td>
+					</tr></table>
+					<div id="optionsBox"></div>
+				</div>
 				<div id="plane_detail"></div>
 				<div id="options"></div>
 				<div id="planes_table"></div>
diff --git a/public_html/script.js b/public_html/script.js
index 3bd9888..fc8c0d0 100644
--- a/public_html/script.js
+++ b/public_html/script.js
@@ -167,6 +167,9 @@ function initialize() {
         }
 	}
 
+    // Load up our options page
+    optionsInitalize();
+
 	// Did our crafty user need some setup?
 	extendedInitalize();
 	
@@ -311,6 +314,7 @@ function refreshSelected() {
 	}
 
 	html += '</table>';
+	
 	document.getElementById('plane_detail').innerHTML = html;
 }
 
diff --git a/public_html/style.css b/public_html/style.css
index 5692e54..9053a97 100644
--- a/public_html/style.css
+++ b/public_html/style.css
@@ -7,7 +7,10 @@ div#map_canvas        { height: 100%; margin-right: 420px; }
 
 div#sidebar_container { float: left; width: 410px; margin-left: -410px; height: 100%; overflow: auto; }
 
+table#optionsTabs { width: 100%; font-size: small; font-family: monospace; background-color: #ddd; border: 1px; border-color: #000000;}
+
 #tableinfo { font-size: x-small; font-family: monospace; }
+#sudo_buttons { font-size: x-small; font-family: monospace; }
 
 .vPosition  { font-weight: bold; background-color: #f5fff5; }
 .squawk7500 { font-weight: bold; background-color: #ff5555; }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/dump1090.git



More information about the pkg-hamradio-commits mailing list