CLEANUP remove extraneous containers and rows and columns

This commit is contained in:
2021-01-02 18:34:49 +00:00
parent bfafba6c69
commit ee4fb103de
13 changed files with 65 additions and 110 deletions

View File

@@ -22,7 +22,7 @@ todo: Notification at server has NotifyDeliveryLog object unused and no UI at fr
and no ui to view them?!
figure it out
todo: do not compare null in queries so double check and instead make sure it's using "Is not null" or "is null" instead as results are non determinant otherwise
todo: figure out the grid view form slowness, maybe there are extraneous elements or something, it's important because it's oft-used
todo: unitmodel, maybe can make a combo unique constraint for the model number or name by combining with the vendorID
it's doubtful two models from the same vendor would have the same model number so this covers that case or am I wrong on that?

View File

@@ -18,14 +18,6 @@
deletable-chips
cache-items
>
<!-- <template v-slot:no-data>
<v-list-item>
<v-list-item-title>
Search for your favorite
<strong>TAG</strong>
</v-list-item-title>
</v-list-item>
</template> -->
<template slot="no-data" v-if="tagSearchEntry">
<v-container fluid>
<v-row>
@@ -47,7 +39,7 @@
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
/* eslint-disable */
////////////////////////////////////////////////////////////////////////////////////////////////////////////
//NOTE: I had some concerns about how the selection is made, but leving it for now
//NOTE: I had some concerns about how the selection is made, but leaving it for now
//basically the typed text stays after you select from dropdown, however, it clears as soon as you tab off
//and in theory it could help if picking more than one tag that have similar selection criteria
export default {

View File

@@ -9,25 +9,17 @@
<span class="headline">{{ $ay.t("FindAndReplace") }}</span>
</v-card-title>
<v-card-text>
<v-container>
<v-row>
<v-col cols="12">
<v-text-field
v-model="find"
:label="$ay.t('Find')"
required
></v-text-field>
</v-col>
<v-text-field
v-model="find"
:label="$ay.t('Find')"
required
></v-text-field>
<v-col cols="12">
<v-text-field
v-model="replace"
:label="$ay.t('Replace')"
required
></v-text-field>
</v-col>
</v-row>
</v-container>
<v-text-field
v-model="replace"
:label="$ay.t('Replace')"
required
></v-text-field>
</v-card-text>
<v-card-actions>
<v-spacer></v-spacer>

View File

@@ -1,5 +1,5 @@
<template>
<div>
<div>
<gz-report-selector ref="reportSelector"></gz-report-selector>
<div v-if="formState.ready">

View File

@@ -4,60 +4,37 @@
<v-dialog v-model="seedDialog" persistent max-width="600px">
<v-card>
<v-card-title>
<span class="headline">{{ $ay.t("GenerateSampleData") }}</span>
<span class="headline mb-2">{{
$ay.t("GenerateSampleData")
}}</span>
</v-card-title>
<v-card-text>
<v-container>
<v-row>
<v-col cols="12">
<!-- <div class="text-h5 mt-8 mb-2">
{{ $ay.t("GenerateSampleData") }}
</div> -->
<v-col cols="12" v-if="formState.readOnly">
<div class="text-h6 mt-8 warning--text">
{{ $ay.t("ErrorSecurityAdministratorOnlyMessage") }}
</div>
</v-col>
<v-col cols="12">
<v-select
v-model="obj.seedLevel"
:items="selectLists.seedLevels"
:rules="[form().required(this, 'seedLevel')]"
@input="fieldValueChanged('seedLevel')"
ref="seedLevel"
item-text="name"
item-value="id"
:readonly="formState.readOnly"
:label="$ay.t('SeedLevel')"
></v-select>
</v-col>
<v-col cols="12">
<v-text-field
v-model="obj.timeZoneOffset"
:readonly="formState.readOnly"
:rules="[
form().decimalValid(this, 'timeZoneOffset'),
form().required(this, 'timeZoneOffset')
]"
:label="$ay.t('UserTimeZoneOffset')"
type="number"
ref="timeZoneOffset"
@input="fieldValueChanged('timeZoneOffset')"
></v-text-field>
</v-col>
<!-- <v-col cols="12">
<v-btn
:loading="seedingJobActive"
@click="generate()"
class="my-8 mr-4"
>{{ $ay.t("StartJob") }}</v-btn
>
</v-col> -->
</v-col>
</v-row>
</v-container>
<div v-if="formState.readOnly" class="text-h6 mt-8 warning--text">
{{ $ay.t("ErrorSecurityAdministratorOnlyMessage") }}
</div>
<v-select
v-model="obj.seedLevel"
:items="selectLists.seedLevels"
:rules="[form().required(this, 'seedLevel')]"
@input="fieldValueChanged('seedLevel')"
ref="seedLevel"
item-text="name"
item-value="id"
:readonly="formState.readOnly"
:label="$ay.t('SeedLevel')"
></v-select>
<v-text-field
v-model="obj.timeZoneOffset"
:readonly="formState.readOnly"
:rules="[
form().decimalValid(this, 'timeZoneOffset'),
form().required(this, 'timeZoneOffset')
]"
:label="$ay.t('UserTimeZoneOffset')"
type="number"
ref="timeZoneOffset"
@input="fieldValueChanged('timeZoneOffset')"
></v-text-field>
</v-card-text>
<v-card-actions>
<v-spacer></v-spacer>

View File

@@ -1,5 +1,5 @@
<template>
<v-container fluid>
<div>
<v-row v-if="formState.ready">
<v-col>
<v-form ref="form">
@@ -132,7 +132,7 @@
:size="60"
></v-progress-circular>
</template>
</v-container>
</div>
</template>
<script>

View File

@@ -1,5 +1,5 @@
<template>
<v-container fluid>
<div>
<gz-report-selector ref="reportSelector"></gz-report-selector>
<div v-if="formState.ready">
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
@@ -131,7 +131,7 @@
:size="60"
></v-progress-circular>
</template>
</v-container>
</div>
</template>
<script>

View File

@@ -1,5 +1,5 @@
<template>
<v-container fluid>
<div>
<gz-report-selector ref="reportSelector"></gz-report-selector>
<div v-if="formState.ready">
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
@@ -167,7 +167,7 @@
:size="60"
></v-progress-circular>
</template>
</v-container>
</div>
</template>
<script>

View File

@@ -1,5 +1,5 @@
<template>
<v-container fluid>
<div>
<v-row justify="center">
<v-dialog v-model="testDialog" persistent max-width="600px">
<v-card>
@@ -7,18 +7,12 @@
<span class="headline">{{ $ay.t("TestSMTPSettings") }}</span>
</v-card-title>
<v-card-text>
<v-container>
<v-row>
<v-col cols="12">
<v-text-field
v-model="testAddress"
:label="$ay.t('TestToAddress')"
required
hint="test_send_to@example.com"
></v-text-field>
</v-col>
</v-row>
</v-container>
<v-text-field
v-model="testAddress"
:label="$ay.t('TestToAddress')"
required
hint="test_send_to@example.com"
></v-text-field>
</v-card-text>
<v-card-actions>
<v-spacer></v-spacer>
@@ -159,7 +153,7 @@
</v-form>
</v-col>
</v-row>
</v-container>
</div>
</template>
<script>

View File

@@ -1,5 +1,5 @@
<template>
<v-container fluid>
<div>
<gz-report-selector ref="reportSelector"></gz-report-selector>
<div v-if="formState.ready">
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
@@ -179,7 +179,7 @@
:size="60"
></v-progress-circular>
</template>
</v-container>
</div>
</template>
<script>

View File

@@ -1,5 +1,5 @@
<template>
<v-container fluid>
<div>
<gz-report-selector ref="reportSelector"></gz-report-selector>
<div v-if="formState.ready">
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
@@ -258,7 +258,7 @@
:size="60"
></v-progress-circular>
</template>
</v-container>
</div>
</template>
<script>

View File

@@ -1,5 +1,5 @@
<template>
<v-container fluid>
<div>
<gz-report-selector ref="reportSelector"></gz-report-selector>
<div v-if="formState.ready">
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
@@ -583,7 +583,7 @@
:size="60"
></v-progress-circular>
</template>
</v-container>
</div>
</template>
<script>

View File

@@ -1,7 +1,7 @@
<template>
<v-container fluid>
<div>
<gz-report-selector ref="reportSelector"></gz-report-selector>
<!-- {{ formState }} -->
<v-row v-if="formState.ready">
<v-col>
<v-form ref="form">
@@ -232,7 +232,7 @@
:size="60"
></v-progress-circular>
</template>
</v-container>
</div>
</template>
<script>