[Cleanup] Standardize to 2-space

pull/47/head
Joseph Foulds 2019-11-21 14:57:12 +00:00
parent 83e6937d77
commit 86f7313d78
2 changed files with 99 additions and 100 deletions

View File

@ -1,45 +1,44 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>galmon.eu geo</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="geo.css">
<script src="../d3.v4.min.js"></script>
<script src="../ext/topojson.v1.min.js"></script>
<script src="../ext/d3-geo-projection.v2.min.js"></script>
<title>galmon.eu geo</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="geo.css">
<script src="../d3.v4.min.js"></script>
<script src="../ext/topojson.v1.min.js"></script>
<script src="../ext/d3-geo-projection.v2.min.js"></script>
</head>
<body>
<div id="galmongeo">
<div id="galmoninfo">
This is a live map from the <a href="/">galmon.eu</a> project. This map can plot if a fix is possible ('Coverage') or if the positioning, horizontal or vertical precision will be bad (<a href="https://en.wikipedia.org/wiki/Dilution_of_precision_(navigation)">PDOP, HDOP, VDOP</a>). Red blocks indicate a problem even in perfect viewing conditions. Orange means a problem if there are obstructions below 10 degrees above of the horizon, yellow for less than 20 degrees ('urban canyon').
<b>These <a href="https://github.com/ahupowerdns/galmon/blob/master/coverage.cc">calculations are very provisional</a> and might be wrong!</b>
<div class="centered">
<p>
<input type="radio" name="kind" id="coverage" onclick="do_timer();" ><label for="coverage">Coverage</label>
<input type="radio" name="kind" id="pdop" onclick="do_timer();" ><label for="pdop">PDOP &gt; 10 or no fix</label>
<input type="radio" name="kind" id="hdop" onclick="do_timer();" checked><label for="hdop">HDOP &gt; 10 or no fix</label>
<input type="radio" name="kind" id="vdop" onclick="do_timer();" ><label for="vdop">VDOP &gt; 10 or no fix</label>
</p>
<hr/>
<p>
<input type="checkbox" id="GalE1" onclick="do_timer();" checked> <label for="GalE1">Galileo E1</label> &nbsp;&nbsp;
<input type="checkbox" id="GPSL1CA" onclick="do_timer();"> <label for="GPSL1CA">GPS L1C/A</label> &nbsp;&nbsp;
<input type="checkbox" id="Beidou" onclick="do_timer();"> <label for="Beidou">Beidou</label> &nbsp;&nbsp;
</p>
</div>
</div>
<div id="combined">
<svg id="svgworld"></svg>
<svg id="svggraticule"></svg>
<svg id="svgobservers"></svg>
<svg id="svgalmanac"></svg>
</div>
<div id="galmongeo">
<div id="galmoninfo">
This is a live map from the <a href="/">galmon.eu</a> project. This map can plot if a fix is possible ('Coverage') or if the positioning, horizontal or vertical precision will be bad (<a href="https://en.wikipedia.org/wiki/Dilution_of_precision_(navigation)">PDOP, HDOP, VDOP</a>). Red blocks indicate a problem even in perfect viewing conditions. Orange means a problem if there are obstructions below 10 degrees above of the horizon, yellow for less than 20 degrees ('urban canyon').
<b>These <a href="https://github.com/ahupowerdns/galmon/blob/master/coverage.cc">calculations are very provisional</a> and might be wrong!</b>
<div class="centered">
<p>
<input type="radio" name="kind" id="coverage" onclick="do_timer();" ><label for="coverage">Coverage</label>
<input type="radio" name="kind" id="pdop" onclick="do_timer();" ><label for="pdop">PDOP &gt; 10 or no fix</label>
<input type="radio" name="kind" id="hdop" onclick="do_timer();" checked><label for="hdop">HDOP &gt; 10 or no fix</label>
<input type="radio" name="kind" id="vdop" onclick="do_timer();" ><label for="vdop">VDOP &gt; 10 or no fix</label>
</p>
<hr/>
<p>
<input type="checkbox" id="GalE1" onclick="do_timer();" checked> <label for="GalE1">Galileo E1</label> &nbsp;&nbsp;
<input type="checkbox" id="GPSL1CA" onclick="do_timer();"> <label for="GPSL1CA">GPS L1C/A</label> &nbsp;&nbsp;
<input type="checkbox" id="Beidou" onclick="do_timer();"> <label for="Beidou">Beidou</label> &nbsp;&nbsp;
</p>
</div>
</div>
<script src="coverage.js"></script>
<div id="combined">
<svg id="svgworld"></svg>
<svg id="svggraticule"></svg>
<svg id="svgobservers"></svg>
<svg id="svgalmanac"></svg>
</div>
</div>
<script src="coverage.js"></script>
</body>
</html>

View File

@ -1,76 +1,76 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="utf-8">
<title>galmon.eu geo</title>
<link rel="stylesheet" type="text/css" href="geo.css">
<meta charset="utf-8">
<title>galmon.eu geo</title>
<link rel="stylesheet" type="text/css" href="geo.css">
<script src='../ext/jquery.min.js'></script>
<script src='../ext/jquery.min.js'></script>
<script src="../d3.v4.min.js"></script>
<script src="../ext/topojson.v1.min.js"></script>
<script src="../ext/d3-geo-projection.v2.min.js"></script>
<script src="../d3.v4.min.js"></script>
<script src="../ext/topojson.v1.min.js"></script>
<script src="../ext/d3-geo-projection.v2.min.js"></script>
</head>
<body>
<div id="galmongeo">
<h1>galmon.eu geo</h1>
<div id="galmoninfo">
<span id="galmontext">
This is a live map from the <a href="/">galmon.eu</a> project
</span>
<span id="galmonchoice">
<label id="observer_map" class="mybutton">Observer<input type="checkbox" checked="checked" ><span class="checkmark"></span></label>
&nbsp;|&nbsp;
<label id="coverage_map" class="mybutton">Coverage<input type="checkbox" checked="checked" ><span class="checkmark"></span></label>
&nbsp;|&nbsp;
<label id="constilation1" class="mybutton">GPS <input type="checkbox" checked="checked" ><span class="checkmark"></span></label>
<label id="constilation2" class="mybutton">Galileo <input type="checkbox" checked="checked" ><span class="checkmark"></span></label>
<label id="constilation3" class="mybutton">BeiDou <input type="checkbox" checked="checked" ><span class="checkmark"></span></label>
<!--
<label id="constilation4" class="mybutton">IMES <input type="checkbox" disabled="disabled"><span class="checkmark"></span></label>
<label id="constilation5" class="mybutton">QZSS <input type="checkbox" disabled="disabled"><span class="checkmark"></span></label>
-->
<label id="constilation6" class="mybutton">GLONASS <input type="checkbox" checked="checked" ><span class="checkmark"></span></label>
</span>
</div>
<div id="combined">
<svg id="svgworld"></svg>
<svg id="svggraticule"></svg>
<svg id="svgobservers"></svg>
<svg id="svgalmanac"></svg>
<span id="controls">
<label id="display_all" class="mybutton">Display All<input type="checkbox"><span class="checkmark"></span></label>
<br />
<!--
<label id="show_history" class="mybutton">History<input type="checkbox"><span class="checkmark"></span></label>
</p>
<label id="show_animate" class="mybutton">Animate<input type="checkbox"><span class="checkmark"></span></label>
</p>
-->
<label id="update_projection" class="mybutton">Projection<span class="checkmark"></span></label>
</span>
<div id="rotation">
<table class="rotatetable">
<tr>
<td></td>
<td><span id="rotate_north" class="myrotate">&#8679;</span></td>
<td></td>
</tr>
<tr>
<td><span id="rotate_west" class="myrotate">&#8678;</span></td>
<td><span id="rotate_center" class="myrotate">&#9711;</span></td>
<td><span id="rotate_east" class="myrotate">&#8680;</span></td>
</tr>
<tr>
<td></td>
<td><span id="rotate_south" class="myrotate">&#8681;</span></td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<div id="galmongeo">
<h1>galmon.eu geo</h1>
<div id="galmoninfo">
<span id="galmontext">
This is a live map from the <a href="/">galmon.eu</a> project
</span>
<span id="galmonchoice">
<label id="observer_map" class="mybutton">Observer<input type="checkbox" checked="checked" ><span class="checkmark"></span></label>
&nbsp;|&nbsp;
<label id="coverage_map" class="mybutton">Coverage<input type="checkbox" checked="checked" ><span class="checkmark"></span></label>
&nbsp;|&nbsp;
<label id="constilation1" class="mybutton">GPS <input type="checkbox" checked="checked" ><span class="checkmark"></span></label>
<label id="constilation2" class="mybutton">Galileo <input type="checkbox" checked="checked" ><span class="checkmark"></span></label>
<label id="constilation3" class="mybutton">BeiDou <input type="checkbox" checked="checked" ><span class="checkmark"></span></label>
<!--
<label id="constilation4" class="mybutton">IMES <input type="checkbox" disabled="disabled"><span class="checkmark"></span></label>
<label id="constilation5" class="mybutton">QZSS <input type="checkbox" disabled="disabled"><span class="checkmark"></span></label>
-->
<label id="constilation6" class="mybutton">GLONASS <input type="checkbox" checked="checked" ><span class="checkmark"></span></label>
</span>
</div>
<div id="combined">
<svg id="svgworld"></svg>
<svg id="svggraticule"></svg>
<svg id="svgobservers"></svg>
<svg id="svgalmanac"></svg>
<span id="controls">
<label id="display_all" class="mybutton">Display All<input type="checkbox"><span class="checkmark"></span></label>
<br />
<!--
<label id="show_history" class="mybutton">History<input type="checkbox"><span class="checkmark"></span></label>
</p>
<label id="show_animate" class="mybutton">Animate<input type="checkbox"><span class="checkmark"></span></label>
</p>
-->
<label id="update_projection" class="mybutton">Projection<span class="checkmark"></span></label>
</span>
<div id="rotation">
<table class="rotatetable">
<tr>
<td></td>
<td><span id="rotate_north" class="myrotate">&#8679;</span></td>
<td></td>
</tr>
<tr>
<td><span id="rotate_west" class="myrotate">&#8678;</span></td>
<td><span id="rotate_center" class="myrotate">&#9711;</span></td>
<td><span id="rotate_east" class="myrotate">&#8680;</span></td>
</tr>
<tr>
<td></td>
<td><span id="rotate_south" class="myrotate">&#8681;</span></td>
<td></td>
</tr>
</table>
</div>
</div>
</div>
<script src="geo.js"></script>
<script src="geo.js"></script>
</body>
</html>