Remove options / extension support (no plans to work on those in the current form).

This commit is contained in:
Oliver Jowett 2015-01-07 17:37:34 +00:00
parent 139ed5cb36
commit e6a70345b5
4 changed files with 1 additions and 47 deletions

View file

@ -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
}

View file

@ -8,8 +8,6 @@
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false&amp;libraries=geometry"></script>
<script type="text/javascript" src="config.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="coolclock/excanvas.js"></script>
<script type="text/javascript" src="coolclock/coolclock.js"></script>
@ -44,7 +42,7 @@
</td>
<td>&nbsp;</td>
<td width="150" style="text-align: center;" id="setings_button" class="pointer">
[ <span onclick="optionsModal();">Settings</span> ]
&nbsp;
</td>
</tr></table>
</div>
@ -125,7 +123,6 @@
</tr>
</table>
</div>
<div id="options"></div>
<div id="planes_table">
<table id="tableinfo" width="100%">
<thead style="background-color: #BBBBBB; cursor: pointer;">
@ -154,7 +151,6 @@
</tbody>
</table>
</div>
<div id="plane_extension"></div>
</div>
</div>
<div id="SpecialSquawkWarning" class="hidden">

View file

@ -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");
}

View file

@ -247,12 +247,6 @@ function initialize_after_config() {
$('#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.
window.setInterval(fetchData, RefreshInterval);
window.setInterval(reaper, 60000);