[wiki/macro/Monit] Ajout d'une ancre pour chaque host
This commit is contained in:
parent
eba3a0b563
commit
1d2d462ab7
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue