-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
304 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
kind: Added | ||
body: Points page in admin interface | ||
time: 2025-01-14T22:19:30.61112+03:00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
kind: Fixed | ||
body: MissioChange for resources | ||
time: 2025-01-14T22:19:52.861533+03:00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,111 +1,20 @@ | ||
<div class="row"> | ||
<div class="col"> | ||
<div class="overflow-auto"> | ||
<div class="alert alert-secondary info" role="alert" v-if="alert"> | ||
{{ alert }} | ||
</div> | ||
<div class="card mb-2"> | ||
<div class="card-header">Connections <span | ||
class="badge rounded-pill bg-success">{{ connections.size }}</span></div> | ||
<div class="card-body"> | ||
<table class="table table-hover table-sm units"> | ||
<tr> | ||
<th>addr</th> | ||
<th>UIDS</th> | ||
<th>user</th> | ||
<th>scope</th> | ||
<th>ver</th> | ||
<th>last seen</th> | ||
</tr> | ||
<tr v-for="c in all_conns"> | ||
<td>{{ c.addr }}</td> | ||
<td> | ||
<span v-for="(k, v) in c.uids">{{ k }}: {{ v }}</span> | ||
</td> | ||
<td>{{ c.user }}</td> | ||
<td>{{ c.scope }}</td> | ||
<td>{{ c.ver }}</td> | ||
<td>{{ dt(c.last_seen) }}</td> | ||
</tr> | ||
</table> | ||
</div> | ||
</div> | ||
<div class="card mb-2"> | ||
<div class="card-header">Contacts <span class="badge rounded-pill bg-success">{{ contactsNum() }}</span> | ||
</div> | ||
<div class="card-body"> | ||
<table class="table table-hover table-sm units"> | ||
<tr> | ||
<th></th> | ||
<th>callsign</th> | ||
<th>scope</th> | ||
<th>status</th> | ||
<th>coords</th> | ||
<th>TAK ver.</th> | ||
</tr> | ||
<tr v-for="u in byCategory('contact')"> | ||
<td><img :src="getImg(u, 18)"/></td> | ||
<td>{{ u.callsign }}</td> | ||
<td>{{ u.scope }}</td> | ||
<td><span class="badge" | ||
:class="u.status=='Online' ? 'text-bg-success' : 'text-bg-secondary'"> | ||
{{ u.status }}</span> | ||
</td> | ||
<td>{{ printCoords(u.lat, u.lon) }}</td> | ||
<td>{{ u.tak_version }}</td> | ||
</tr> | ||
</table> | ||
</div> | ||
</div> | ||
</div> | ||
<table class="table table-hover table-sm"> | ||
<tr> | ||
<th>Scope</th> | ||
<th>UID</th> | ||
<th>Callsign</th> | ||
<th>Type</th> | ||
<th>Coords</th> | ||
</tr> | ||
<tr v-for="p in all" @click="current = p"> | ||
<td>{{ p.Scope }}</td> | ||
<td>{{ p.UID }}</td> | ||
<td>{{ p.Callsign }}</td> | ||
<td>{{ p.Type }}</td> | ||
<td>{{ p.Lat }},{{ p.Lon }}</td> | ||
</tr> | ||
</table> | ||
</div> | ||
<div class="col"> | ||
<div class="card mb-2"> | ||
<div class="card-header">Units</div> | ||
<div class="card-body"> | ||
<table class="table table-hover table-sm units"> | ||
<tr> | ||
<th></th> | ||
<th>type</th> | ||
<th>callsign</th> | ||
<th>coords</th> | ||
<th>scope</th> | ||
<th>stale time</th> | ||
</tr> | ||
<tr v-for="u in byCategory('unit')"> | ||
<td><img :src="getImg(u, 18)"/> | ||
</td> | ||
<td>{{ u.type }}</td> | ||
<td>{{ u.callsign }}</td> | ||
<td>{{ printCoords(u.lat, u.lon) }}</td> | ||
<td>{{ u.scope }}</td> | ||
<td>{{ dt(u.stale_time) }}</td> | ||
</tr> | ||
</table> | ||
</div> | ||
</div> | ||
<div class="card mb-2"> | ||
<div class="card-header">Points</div> | ||
<div class="card-body"> | ||
<table class="table table-hover table-sm units"> | ||
<tr> | ||
<th></th> | ||
<th>type</th> | ||
<th>callsign</th> | ||
<th>coords</th> | ||
<th>scope</th> | ||
<th>stale time</th> | ||
</tr> | ||
<tr v-for="u in byCategory('point')"> | ||
<td><img :src="getImg(u, 18)"/></td> | ||
<td>{{ u.type }}</td> | ||
<td>{{ u.callsign }}</td> | ||
<td>{{ printCoords(u.lat, u.lon) }}</td> | ||
<td>{{ u.scope }}</td> | ||
<td>{{ dt(u.stale_time) }}</td> | ||
</tr> | ||
</table> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
Oops, something went wrong.