Removed extraneous container element
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user