add sysinfos

This commit is contained in:
jr-k 2024-05-27 01:50:53 +02:00
parent 20f81e7f01
commit 86711161f8
3 changed files with 3 additions and 3 deletions

View File

@ -139,7 +139,7 @@
"sysinfo_panel_th_attribute": "Attribute",
"sysinfo_panel_th_value": "Value",
"sysinfo_panel_td_ipaddr": "IP Address",
"sysinfo_panel_last_logs": "Logs",
"sysinfo_panel_last_logs": "Logs (100 last lines)",
"js_sysinfo_restart_confirmation": "Are you sure?",
"js_sysinfo_restart_loading": "Restarting, please wait...",

View File

@ -139,7 +139,7 @@
"sysinfo_panel_th_attribute": "Attribut",
"sysinfo_panel_th_value": "Valeur",
"sysinfo_panel_td_ipaddr": "Adresse IP",
"sysinfo_panel_last_logs": "Journaux",
"sysinfo_panel_last_logs": "Journaux (100 dernières lignes)",
"js_sysinfo_restart_confirmation": "Êtes-vous sûr ?",
"js_sysinfo_restart_loading": "Redémarrage en cours, veuillez patienter...",

View File

@ -26,7 +26,7 @@ class SysinfoController(ObController):
return render_template(
'sysinfo/list.jinja.html',
sysinfos=get_all_sysinfos(),
last_logs=self._model_store.logging().get_last_lines_of_stdout(20),
last_logs=self._model_store.logging().get_last_lines_of_stdout(100),
ro_variables=self._model_store.variable().get_readonly_variables(),
env_variables=self._model_store.config().map()
)