Remove options / extension support (no plans to work on those in the current form).
This commit is contained in:
parent
139ed5cb36
commit
e6a70345b5
|
@ -1,19 +0,0 @@
|
||||||
// -----------------------------------------------------
|
|
||||||
//
|
|
||||||
// This file is so users can modify how the page acts
|
|
||||||
// without diving to deep in the code. This way we can
|
|
||||||
// also try out or hold custom code for ourselves and
|
|
||||||
// not check it into the repo.
|
|
||||||
//
|
|
||||||
// There is a div id'ed as plane_extension for use with
|
|
||||||
// this javascript file.
|
|
||||||
// -----------------------------------------------------
|
|
||||||
|
|
||||||
function extendedInitalize() {
|
|
||||||
// Write your initalization here
|
|
||||||
// Gets called just before the 1-sec function call loop is setup
|
|
||||||
}
|
|
||||||
|
|
||||||
function extendedPulse() {
|
|
||||||
// This will get called every second after all the main functions
|
|
||||||
}
|
|
|
@ -8,8 +8,6 @@
|
||||||
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false&libraries=geometry"></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="config.js"></script>
|
||||||
<script type="text/javascript" src="planeObject.js"></script>
|
<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="script.js"></script>
|
||||||
<script type="text/javascript" src="coolclock/excanvas.js"></script>
|
<script type="text/javascript" src="coolclock/excanvas.js"></script>
|
||||||
<script type="text/javascript" src="coolclock/coolclock.js"></script>
|
<script type="text/javascript" src="coolclock/coolclock.js"></script>
|
||||||
|
@ -44,7 +42,7 @@
|
||||||
</td>
|
</td>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
<td width="150" style="text-align: center;" id="setings_button" class="pointer">
|
<td width="150" style="text-align: center;" id="setings_button" class="pointer">
|
||||||
[ <span onclick="optionsModal();">Settings</span> ]
|
|
||||||
</td>
|
</td>
|
||||||
</tr></table>
|
</tr></table>
|
||||||
</div>
|
</div>
|
||||||
|
@ -125,7 +123,6 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div id="options"></div>
|
|
||||||
<div id="planes_table">
|
<div id="planes_table">
|
||||||
<table id="tableinfo" width="100%">
|
<table id="tableinfo" width="100%">
|
||||||
<thead style="background-color: #BBBBBB; cursor: pointer;">
|
<thead style="background-color: #BBBBBB; cursor: pointer;">
|
||||||
|
@ -154,7 +151,6 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div id="plane_extension"></div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="SpecialSquawkWarning" class="hidden">
|
<div id="SpecialSquawkWarning" class="hidden">
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
var listKMLType = ['Approch', 'Departure', 'Transit', 'Custom1', 'Custom2'];
|
|
||||||
var listKMLs = localStorage['listKMLs'] || [];
|
|
||||||
|
|
||||||
function optionsInitalize() {
|
|
||||||
// Write your initalization here
|
|
||||||
// Gets called just before the 1-sec function call loop is setup
|
|
||||||
$( "#dialog-modal" ).dialog({
|
|
||||||
height: 140,
|
|
||||||
modal: true,
|
|
||||||
autoOpen: false,
|
|
||||||
closeOnEscape: false
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
function optionsModal() {
|
|
||||||
$( "#dialog-modal" ).dialog( "open");
|
|
||||||
}
|
|
|
@ -247,12 +247,6 @@ function initialize_after_config() {
|
||||||
$('#dialog-modal').css('display', 'inline'); // Show hidden settings-windows content
|
$('#dialog-modal').css('display', 'inline'); // Show hidden settings-windows content
|
||||||
});
|
});
|
||||||
|
|
||||||
// Load up our options page
|
|
||||||
optionsInitalize();
|
|
||||||
|
|
||||||
// Did our crafty user need some setup?
|
|
||||||
extendedInitalize();
|
|
||||||
|
|
||||||
// Setup our timer to poll from the server.
|
// Setup our timer to poll from the server.
|
||||||
window.setInterval(fetchData, RefreshInterval);
|
window.setInterval(fetchData, RefreshInterval);
|
||||||
window.setInterval(reaper, 60000);
|
window.setInterval(reaper, 60000);
|
||||||
|
|
Loading…
Reference in a new issue