From 5d220b3cbfe76f27553c5c7cd49813efc59e6be3 Mon Sep 17 00:00:00 2001 From: Hirad Date: Sun, 1 Dec 2024 14:46:08 +0330 Subject: [PATCH] add info labels --- gui/portainer_ui.py | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/gui/portainer_ui.py b/gui/portainer_ui.py index eec5fa8..abe76eb 100644 --- a/gui/portainer_ui.py +++ b/gui/portainer_ui.py @@ -21,7 +21,13 @@ class PortainerUi: self.stacks_list = QListWidget() - self.stack_title = QLabel() + self.stack_name_label = QLabel() + self.endpoint_label = QLabel() + self.created_by_label = QLabel() + self.creation_date_label = QLabel() + self.updated_by_label = QLabel() + self.update_date_label = QLabel() + self.containers_table = QTableWidget() self.containers_table.setColumnCount(3) self.containers_table.setHorizontalHeaderLabels(["ID", "Name", "Status"]) @@ -38,7 +44,12 @@ class PortainerUi: buttons_layout.addWidget(self.update) info_layout = QVBoxLayout() - info_layout.addWidget(self.stack_title) + info_layout.addWidget(self.stack_name_label) + info_layout.addWidget(self.endpoint_label) + info_layout.addWidget(self.created_by_label) + info_layout.addWidget(self.creation_date_label) + info_layout.addWidget(self.updated_by_label) + info_layout.addWidget(self.update_date_label) info_layout.addLayout(buttons_layout) info_layout.addWidget(self.containers_table)