mirror of
https://github.com/Dahlgren/arma-server-web-admin.git
synced 2024-08-30 17:22:10 +00:00
Show server status in list
This commit is contained in:
parent
38c93ae806
commit
570a012a21
@ -1,7 +1,8 @@
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Server</th>
|
||||
<th>Status</th>
|
||||
<th>Name</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
@ -1,3 +1,10 @@
|
||||
<td>
|
||||
<% if (typeof(pid) != "undefined" && pid) { %>
|
||||
<span class="label label-success">Online</span>
|
||||
<% } else { %>
|
||||
<span class="label label-default">Offline</span>
|
||||
<% } %>
|
||||
</td>
|
||||
<td style="width: 100%;">
|
||||
<a href='#servers/<%-id%>'><%-title%></a>
|
||||
</td>
|
||||
|
Loading…
Reference in New Issue
Block a user