Message::Info("Listing servers which match name: \"" . $_POST['sf_name'] . "\"");
?>
- <table class="container-xxl table table-responsive caption-top table-striped">
+ <table class="container-xxl table table-sm table-responsive caption-top table-striped">
<thead>
<th scope="col"><h5>Filter:</h5></th>
<form action="" method="post">
<th scope="col" colspan="2">Name<input name="sf_name" type="text" class="form-control short-form-control">
- <th scope="col"> <input class="btn btn-primary" type="submit" value="Search"></th></form>
+ <th scope="col"> <input class="btn btn-primary btn-sm" type="submit" value="Search"></th></form>
</thead></table>
- <table class="container-xxl table table-responsive caption-top table-striped">
+ <table class="container-xxl table table-sm table-responsive caption-top table-striped">
<thead class="table-primary">
<th scope="col"><input type="checkbox" label='selectall' onClick="toggle_server(this)" /></th>
<th scope="col">Name</th>
echo "<th scope=\"row\"><input type=\"checkbox\" value='" . base64_encode($server->id)."' name=\"serverch[]\"></th>";
echo "<td><a href=\"details.php?server=".$server->id."\">$server->name</a></td>";
echo "<td>".$server->server->num_users."</td>";
- if (isset($server->server->features->software))
- {
- $s = $server->server->features->software;
- if ($server->server->ulined == true)
- $s .= " <span class=\"badge-pill badge-warning\">Services</span>";
- echo "<td>$s</td>";
- } else {
- echo "<td></td>";
- }
+
+ $s = sinfo_conv_version_string($server);
+
+ echo "<td>$s</td>";
echo "<td>".$server->hostname." (".$server->ip.")</td>";
if (isset($server->server->uplink))
echo "<td>".$server->server->uplink."</td>";