Refactor styles and update text for better clarity and consistency

This commit is contained in:
2025-02-24 17:20:51 +01:00
parent ec58d91a33
commit 5f4045b4fb
7 changed files with 67 additions and 53 deletions

View File

@@ -16,7 +16,7 @@
</div> -->
<h2 class="text-xl font-bold mt-6">Executions List</h2>
<DataTable v-model:filters="filters" :value="scenario_execution_store.scenariosExecution" scrollable scrollHeight="420px"
<!-- <DataTable v-model:filters="filters" :value="scenario_execution_store.scenariosExecution" scrollable scrollHeight="420px"
:loading="loading_data"
class="mt-0"
:rows="10"
@@ -25,7 +25,18 @@
:totalRecords="scenario_execution_store.scenariosExecution.length"
:first="first"
filterDisplay="menu"
@page="onPage" :globalFilterFields="['id', 'scenario.name', 'execSharedMap.user_input.selected_project', 'execSharedMap.user_input.selected_application']">
@page="onPage" :globalFilterFields="['id', 'scenario.name', 'execSharedMap.user_input.selected_project', 'execSharedMap.user_input.selected_application']"> -->
<DataTable v-model:filters="filters" v-model:expandedRows="expandedRows" @rowExpand="onRowExpand"
@rowCollapse="onRowCollapse" :value="scenario_execution_store.scenariosExecution"
:loading="loading_data"
:paginator="true" :rows="10"
paginatorTemplate="FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown"
currentPageReportTemplate="Showing {first} to {last} of {totalRecords} records"
:rowsPerPageOptions="[10, 15, 20, 50, 100]" dataKey="id" :rowHover="true" rowGroupMode="subheader"
:sortOrder="1" filterDisplay="menu"
:globalFilterFields="['id', 'scenario.name', 'execSharedMap.user_input.selected_project', 'execSharedMap.user_input.selected_application']"
tableStyle="min-width: 70rem" removableSort>
<template #header>
<div class="flex justify-end">