[wiki/macro/Monit] Ajout d'une ancre pour chaque host

This commit is contained in:
Valentin Samir 2013-05-27 21:36:05 +02:00
parent eba3a0b563
commit 1d2d462ab7

View file

@ -168,6 +168,8 @@ def FormatHost (Host, Data, f) :
result = ''
result += f.div(1,id=Host)
# titre
result += f.heading(1,2)
result += f.text(Host)[0].upper() + f.text(Host)[1:]
@ -186,6 +188,7 @@ def FormatHost (Host, Data, f) :
result += f.table_row(0)
result += f.table(0)
result += f.div(0)
return result