kopia lustrzana https://github.com/jprochazka/adsb-receiver
Merge remote-tracking branch 'refs/remotes/origin/master' into upgrade
commit
c0e66d0ebb
|
@ -57,7 +57,7 @@
|
|||
|
||||
// Check dump1090-mutability's aircraft JSON output to see if the flight is visible.
|
||||
$visibleFlights = array();
|
||||
$url = $common->getBaseUrl()."/dump1090/data/aircraft.json";
|
||||
$url = "http://localhost/dump1090/data/aircraft.json";
|
||||
$json = file_get_contents($url);
|
||||
$data = json_decode($json, true);
|
||||
foreach ($data['aircraft'] as $aircraft) {
|
||||
|
|
|
@ -58,12 +58,18 @@
|
|||
</div>
|
||||
</nav>
|
||||
{if setting:enableFlightNotifications eq TRUE}
|
||||
<div id="flight-notifications" class="container">
|
||||
<div class="alert alert-success" role="alert">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<strong>Flight Spotted!</strong>
|
||||
<p>This receiver is currently receiving data from the following flight number(s).</p>
|
||||
<ul></ul>
|
||||
<div id="flight-notifications" class="modal fade in" role="dialog">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title">Flight Spotted</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>This receiver is currently receiving data from the following flight number(s).</p>
|
||||
<ul></ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
|
Ładowanie…
Reference in New Issue