kopia lustrzana https://github.com/cyoung/stratux
enable tower page and added tower help
rodzic
3289772485
commit
1465ba1a37
|
@ -58,9 +58,7 @@
|
|||
<script src="plates/js/logs.js"></script>
|
||||
<script src="plates/js/settings.js"></script>
|
||||
<script src="plates/js/status.js"></script>
|
||||
<!--
|
||||
<script src="plates/js/towers.js"></script>
|
||||
-->
|
||||
<script src="plates/js/traffic.js"></script>
|
||||
<script src="plates/js/weather.js"></script>
|
||||
<script src="js/j3di-all.min.js"></script>
|
||||
|
@ -81,9 +79,7 @@
|
|||
<a class="list-group-item" href="#/weather"><i class="fa fa-cloud"></i> Weather <i class="fa fa-chevron-right pull-right"></i></a>
|
||||
<a class="list-group-item" href="#/traffic"><i class="fa fa-plane"></i> Traffic <i class="fa fa-chevron-right pull-right"></i></a>
|
||||
<a class="list-group-item" href="#/gps"><i class="fa fa-globe"></i> GPS/AHRS <i class="fa fa-chevron-right pull-right"></i></a>
|
||||
<!--
|
||||
<a class="list-group-item" href="#/towers"><i class="fa fa-signal"></i> Towers <i class="fa fa-chevron-right pull-right"></i></a>
|
||||
-->
|
||||
<a class="list-group-item" href="#/logs"><i class="fa fa-file-text-o"></i> Logs <i class="fa fa-chevron-right pull-right"></i></a>
|
||||
<a class="list-group-item" href="#/settings"><i class="fa fa-gear"></i> Settings <i class="fa fa-chevron-right pull-right"></i></a>
|
||||
</div>
|
||||
|
|
|
@ -23,12 +23,12 @@ app.config(function ($stateProvider, $urlRouterProvider) {
|
|||
controller: 'StatusCtrl',
|
||||
reloadOnSearch: false
|
||||
})
|
||||
// .state('towers', {
|
||||
// url: '/towers',
|
||||
// templateUrl: 'plates/towers.html',
|
||||
// controller: 'TowersCtrl',
|
||||
// reloadOnSearch: false
|
||||
// })
|
||||
.state('towers', {
|
||||
url: '/towers',
|
||||
templateUrl: 'plates/towers.html',
|
||||
controller: 'TowersCtrl',
|
||||
reloadOnSearch: false
|
||||
})
|
||||
.state('weather', {
|
||||
url: '/weather',
|
||||
templateUrl: 'plates/weather.html',
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
<span class="col-xs-3 text-center">{{ahrs_heading}}°</span>
|
||||
<span class="col-xs-3 text-center">{{ahrs_pitch}}°</span>
|
||||
<span class="col-xs-3 text-center">{{ahrs_roll}}°</span>
|
||||
<span class="col-xs-3 text-center">{{ahrs_alt}}'</span>
|
||||
<span class="col-xs-3 text-center">{{ahrs_alt}} ft</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
<div class="section text-left help-page">
|
||||
<p>The <strong>Towers</strong> page provides a list of recent towers which have been received. Each time a new tower is received, it is added to the list. Each time new messages are received from an existing tower, the list is updated. If no messages are received from a tower for 5 minutes, the tower is removed from the list.</p>
|
||||
<p>more details will be added here eventually :-)</p>
|
||||
<p>The <strong>Towers</strong> page provides a list of the towers from which UAT message have been received within the last minute.</p>
|
||||
<p>For each tower, the list includes the following details:</p>
|
||||
<ul class="list-simple">
|
||||
<li><strong>Location</strong> - the latitude and longitude of the tower</li>
|
||||
<li><strong>Signal</strong> - teh signal strength reported by the tower</li>
|
||||
<li><strong>Msgs</strong> - the number of messages (traffic or weather) received from teh tower in the last minute</li>
|
||||
</ul>
|
||||
</div>
|
|
@ -7,7 +7,7 @@
|
|||
</div>
|
||||
<div class="panel-body towers-page">
|
||||
<div class="row">
|
||||
<span class="col-xs-6"><strong>Tower</strong></span>
|
||||
<span class="col-xs-6"><strong>Location</strong></span>
|
||||
<span class="col-xs-3 text-right">Signal</span>
|
||||
<span class="col-xs-3 text-right">Msgs</span>
|
||||
</div>
|
||||
|
|
Ładowanie…
Reference in New Issue