From c21bedd554d70a0047acb4ef92a4f72a70eeb2bb Mon Sep 17 00:00:00 2001 From: Edoardo Zoni Date: Fri, 8 May 2026 13:22:04 -0700 Subject: [PATCH] Improve style of parameters card --- dashboard/parameters_manager.py | 41 ++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/dashboard/parameters_manager.py b/dashboard/parameters_manager.py index 9cfc5a57..7fe3e394 100644 --- a/dashboard/parameters_manager.py +++ b/dashboard/parameters_manager.py @@ -227,27 +227,30 @@ def panel(self): change="flushState('parameters_show_all')", label="Show all", ) - with vuetify.VRow(align="center"): - with vuetify.VCol(cols=6): - with vuetify.VRow(): - with vuetify.VCol(): - vuetify.VBtn( - "Reset", - click=self.reset, - style="text-transform: none", - ) - with vuetify.VCol(): - vuetify.VBtn( - "Simulate", - click=self.simulation_trigger, - disabled=( - "simulation_running || perlmutter_status != 'active' || !simulatable", - ), - style="text-transform: none;", - ) - with vuetify.VCol(cols=6): + with vuetify.VRow(): + with vuetify.VCol(): vuetify.VTextField( v_model_number=("simulation_running_status",), label="Simulation status", readonly=True, + dense=True, + hide_details=True, + ) + with vuetify.VRow(): + with vuetify.VCol(cols=6): + vuetify.VBtn( + "Reset", + click=self.reset, + block=True, + style="text-transform: none", + ) + with vuetify.VCol(cols=6): + vuetify.VBtn( + "Simulate", + click=self.simulation_trigger, + disabled=( + "simulation_running || perlmutter_status != 'active' || !simulatable", + ), + block=True, + style="text-transform: none", )