On met la chambre du gars dans les clients d'une borne pour pouvoir estimer
la porte darcs-hash:20061201115542-c3cc4-c33df704b587a957dc1c2466d9c85c9a189befa4.gz
This commit is contained in:
parent
36301533c3
commit
365f9aa5d4
1 changed files with 2 additions and 1 deletions
|
@ -582,6 +582,7 @@ def machine_details(machine) :
|
|||
authentification = "; IPSec: %s" % OK
|
||||
else:
|
||||
authentification = "; IPSec: %s" % ERREUR
|
||||
client_chbre = " ".join(["%s " % (x.proprietaire().chbre()) for x in res])
|
||||
# On va choisir la bonne couleur pour le RSSI
|
||||
if rssi > -88:
|
||||
coul_rssi = 'vert'
|
||||
|
@ -589,7 +590,7 @@ def machine_details(machine) :
|
|||
coul_rssi = 'jaune'
|
||||
else:
|
||||
coul_rssi = 'rouge'
|
||||
f += u' %s (%s) (RSSI: %s%s)\n' % (client, client_nom,
|
||||
f += u' %s (%s %s) (RSSI: %s%s)\n' % (client, client_nom, client_chbre,
|
||||
coul("%d" % rssi, coul_rssi),
|
||||
authentification)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue