mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
add instances hostname + i18n
This commit is contained in:
parent
9cee47392b
commit
64458799f8
3 changed files with 3 additions and 0 deletions
|
|
@ -44,6 +44,7 @@ def instances_builder(instances: List[Instance]) -> str:
|
|||
containerColumns={"pc": 6, "tablet": 6, "mobile": 12},
|
||||
pairs=[
|
||||
{"key": "instances_name", "value": instance.name},
|
||||
{"key": "instances_hostname", "value": instance.hostname},
|
||||
{"key": "instances_type", "value": instance.type},
|
||||
{"key": "instances_method", "value": instance.method},
|
||||
{"key": "instances_creation_date", "value": instance.creation_date.strftime("%d-%m-%Y %H:%M:%S")},
|
||||
|
|
|
|||
|
|
@ -189,6 +189,7 @@
|
|||
"home_plugins": "plugins",
|
||||
"home_no_error": "no error",
|
||||
"home_errors_found": "errors found",
|
||||
"instances_name": "name",
|
||||
"instances_hostname": "hostname",
|
||||
"instances_type": "type",
|
||||
"instances_status": "status",
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ def instances_builder(instances: List[Instance]) -> str:
|
|||
containerColumns={"pc": 6, "tablet": 6, "mobile": 12},
|
||||
pairs=[
|
||||
{"key": "instances_name", "value": instance.name},
|
||||
{"key": "instances_hostname", "value": instance.hostname},
|
||||
{"key": "instances_type", "value": instance.type},
|
||||
{"key": "instances_method", "value": instance.method},
|
||||
{"key": "instances_creation_date", "value": instance.creation_date.strftime("%d-%m-%Y %H:%M:%S")},
|
||||
|
|
|
|||
Loading…
Reference in a new issue