Unverified Commit 187eb600 authored by David Beniamine's avatar David Beniamine
Browse files

Sort by hostname

parent 6293f9f8
......@@ -26,4 +26,4 @@ subnet=$(ip a | awk '/inet.*containers/ {print $2}' | cut -d / -f 1 | cut -d . -
echo "get_registry" | netcat $host $port
stdbuf -i0 $netcat
stdbuf -i0 $netcat | sort -k 3
......@@ -62,15 +62,16 @@ if(!isset($action)){
<h2> Gestion des postes </h2>
<div class="table-responsive">
<table class="table-striped table-bordered table-hover">
<th>Version Debian</th>
<th>Version Primtux</th>
<th>État apt</th>
<th>État git</th>
<th>Nombre de mises à jour en attente</th>
<th>Date dernier contact</th>
......@@ -90,8 +91,8 @@ if(!isset($action)){
if($nb_infos > 4){
echo "<td>".$entry[4]."</td>";
echo "<td>".$entry[5]."</td>";
echo "<td>".$entry[3]." mises à jour en attente</td>";
echo "<td> branch ".$entry[6]." ".$entry[7]." commits en retard</td>";
echo "<td>".$entry[3]."</td>";
echo "<td> branche ".$entry[6].", ".$entry[7]." commits en retard</td>";
echo "<td>NA</td>";
echo "<td>NA</td>";
......@@ -124,10 +125,8 @@ if(!isset($action)){
<?php json_encode($registry); ?>
echo "<h2> Action en cours </h2>";
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment