Removed extraneous container element

This commit is contained in:
2020-04-13 23:03:12 +00:00
parent 8dfd5e213a
commit b25af47cdd
11 changed files with 879 additions and 1114 deletions

View File

@@ -1,44 +1,39 @@
<template>
<v-container fluid>
<v-row v-if="formState.ready">
<v-col>
<v-form ref="form">
<v-row>
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
<v-col cols="12" sm="6" lg="4" xl="3">
<v-radio-group
v-model="obj.serverState"
:mandatory="true"
:readonly="formState.readOnly"
>
<v-radio
:label="$ay.t('ServerStateOpen')"
value="Open"
></v-radio>
<v-radio
:label="$ay.t('ServerStateOps')"
value="OpsOnly"
></v-radio>
</v-radio-group>
</v-col>
<v-col cols="12">
<v-textarea
v-model="obj.reason"
:readonly="formState.readOnly"
:label="$ay.t('ServerStateReason')"
:error-messages="form().serverErrors(this, 'reason')"
ref="reason"
:data-cy="!!$ay.dev ? 'reason' : false"
@input="fieldValueChanged('reason')"
auto-grow
clearable
></v-textarea>
</v-col>
</v-row>
</v-form>
</v-col>
</v-row>
</v-container>
<v-row v-if="formState.ready">
<v-col>
<v-form ref="form">
<v-row>
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
<v-col cols="12" sm="6" lg="4" xl="3">
<v-radio-group
v-model="obj.serverState"
:mandatory="true"
:readonly="formState.readOnly"
>
<v-radio :label="$ay.t('ServerStateOpen')" value="Open"></v-radio>
<v-radio
:label="$ay.t('ServerStateOps')"
value="OpsOnly"
></v-radio>
</v-radio-group>
</v-col>
<v-col cols="12">
<v-textarea
v-model="obj.reason"
:readonly="formState.readOnly"
:label="$ay.t('ServerStateReason')"
:error-messages="form().serverErrors(this, 'reason')"
ref="reason"
:data-cy="!!$ay.dev ? 'reason' : false"
@input="fieldValueChanged('reason')"
auto-grow
clearable
></v-textarea>
</v-col>
</v-row>
</v-form>
</v-col>
</v-row>
</template>
<script>