Refactor styles and update text for better clarity and consistency
This commit is contained in:
@@ -1,15 +1,19 @@
|
||||
<template>
|
||||
|
||||
<div class="flex items-center justify-between p-2">
|
||||
<div class="flex items-center justify-between p-1">
|
||||
<h1>
|
||||
{{ scenario.name }}
|
||||
</h1>
|
||||
|
||||
</h1>
|
||||
</div>
|
||||
<div class="flex items-center justify-between p-1">
|
||||
<h2>
|
||||
{{ scenario.description }}
|
||||
</h2>
|
||||
</div>
|
||||
<div class="flex mt-6">
|
||||
<div class="card flex flex-col gap-4 w-full">
|
||||
<h3>
|
||||
{{ scenario.description }}
|
||||
<h3>
|
||||
{{ scenario.hint }}
|
||||
</h3>
|
||||
<template v-if="scenario.inputs">
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
|
||||
@@ -21,7 +25,7 @@
|
||||
<b>{{ input.label }}</b>
|
||||
<i
|
||||
class="pi pi-info-circle text-violet-600 cursor-pointer"
|
||||
v-tooltip="'Upload one PR document of .docx type. Mandatory if you want to execute scenario.'"
|
||||
v-tooltip="'Upload one document from the suggested types. Mandatory if you want to execute scenario.'"
|
||||
></i>
|
||||
</label>
|
||||
<div>
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user