enhance logs page style

This commit is contained in:
Jordan Blasenhauer 2024-08-09 11:04:47 +02:00
parent 61bbcac724
commit 506a9bd955
5 changed files with 22 additions and 7 deletions

View file

@ -24,11 +24,11 @@ def logs_builder(files: list[str] = [], current_file: str = "", raw_data: str =
"data": {
"setting": {
"id": "logs-select-file",
"label": "logs_select_file",
"label": "logs_log_file",
"inpType": "select",
"name": "logs-select-file",
"onlyDown": True,
"value": current_file,
"value": current_file or "Select a file",
"values": files,
"columns": {
"pc": 4,
@ -74,6 +74,7 @@ def logs_builder(files: list[str] = [], current_file: str = "", raw_data: str =
"tablet": 12,
"mobile": 12,
},
"editorClass" : "min-h-[500px]",
}
},
}

View file

@ -309,8 +309,9 @@
"logs_title": "Logs",
"logs_not_found": "No logs found",
"logs_no_files_found": "No log files found",
"logs_select_file": "Select a log file",
"logs_select_file": "Select a file",
"logs_select_file_info": "Log files are retrieve using syslog under the hood.",
"logs_log_file": "Log files",
"logs_not_selected_or_not_found": "No log file selected or content not found",
"logs_file_content": "Log content"
}

File diff suppressed because one or more lines are too long

View file

@ -200,6 +200,18 @@ export default {
"sm:min-h-96",
"md:min-h-96",
"lg:min-h-96",
"min-h-[500px]",
"sm:min-h-[500px]",
"md:min-h-[500px]",
"lg:min-h-[500px]",
"min-h-[600px]",
"sm:min-h-[600px]",
"md:min-h-[600px]",
"lg:min-h-[600px]",
"min-h-[700px]",
"sm:min-h-[700px]",
"md:min-h-[700px]",
"lg:min-h-[700px]",
"w-full",
"sm:w-full",
"md:w-full",

View file

@ -17,11 +17,11 @@ def logs_builder(files: list[str] = [], current_file: str = "", raw_data: str =
"data": {
"setting": {
"id": "logs-select-file",
"label": "logs_select_file",
"label": "logs_log_file",
"inpType": "select",
"name": "logs-select-file",
"onlyDown": True,
"value": current_file,
"value": current_file or "Select a file",
"values": files,
"columns": {
"pc": 4,
@ -67,6 +67,7 @@ def logs_builder(files: list[str] = [], current_file: str = "", raw_data: str =
"tablet": 12,
"mobile": 12,
},
"editorClass" : "min-h-[500px]",
}
},
}