Browse Source

fix(gui): app install ui correction

Signed-off-by: Pranav C <61551451+pranavxc@users.noreply.github.com>
pull/341/head
Pranav C 3 years ago
parent
commit
79bbbb4376
  1. 10
      packages/nc-gui/components/project/appStore/appInstall.vue
  2. 1
      packages/nc-gui/components/project/appStore/inputs/longTextField.vue
  3. 1
      packages/nc-gui/components/project/appStore/inputs/passwordField.vue
  4. 1
      packages/nc-gui/components/project/appStore/inputs/textField.vue

10
packages/nc-gui/components/project/appStore/appInstall.vue

@ -19,7 +19,7 @@
<v-divider class="mb-7"></v-divider> <v-divider class="mb-7"></v-divider>
<div v-if="formDetails.array"> <div v-if="formDetails.array">
<table class="form-table mx-auto" > <table class="form-table mx-auto">
<thead> <thead>
<tr> <tr>
<th v-for="(item,i) in formDetails.items" :key="i"> <th v-for="(item,i) in formDetails.items" :key="i">
@ -50,8 +50,8 @@
</div> </div>
<div v-else class="d-flex justify-center">
<div class="form-grid" v-else> <div class="form-grid">
<template v-for="(item,i) in formDetails.items"> <template v-for="(item,i) in formDetails.items">
<div :key="i" class="text-right form-input-label"> <div :key="i" class="text-right form-input-label">
<label class="caption ">{{ item.label }} <span v-if="item.required" class="red--text">*</span></label> <label class="caption ">{{ item.label }} <span v-if="item.required" class="red--text">*</span></label>
@ -62,7 +62,7 @@
</template> </template>
</div> </div>
</div>
<div class="d-flex mb-4 mt-7 justify-center"> <div class="d-flex mb-4 mt-7 justify-center">
<v-btn small <v-btn small
:outlined="action.key !== 'save'" :outlined="action.key !== 'save'"
@ -246,7 +246,7 @@ tbody tr:nth-of-type(odd) {
background-color: transparent; background-color: transparent;
} }
.form-input-label{ .form-input-label {
padding-bottom: 16px; padding-bottom: 16px;
} }
</style> </style>

1
packages/nc-gui/components/project/appStore/inputs/longTextField.vue

@ -5,6 +5,7 @@
:rules="[v => !!v || !inputDetails.required || 'Required']" :rules="[v => !!v || !inputDetails.required || 'Required']"
:name="inputDetails.key" :name="inputDetails.key"
:placeholder="inputDetails.placeholder || ''" :placeholder="inputDetails.placeholder || ''"
hide-details="auto"
v-on="parentListeners" v-model="localState" class="caption" rows="3" v-on="parentListeners" v-model="localState" class="caption" rows="3"
:required="inputDetails.valid" :required="inputDetails.valid"
></v-textarea> ></v-textarea>

1
packages/nc-gui/components/project/appStore/inputs/passwordField.vue

@ -6,6 +6,7 @@
:rules="[v => !!v || !inputDetails.required || 'Required']" :rules="[v => !!v || !inputDetails.required || 'Required']"
:name="inputDetails.key" :name="inputDetails.key"
:required="inputDetails.valid" :required="inputDetails.valid"
hide-details="auto"
:placeholder="inputDetails.placeholder || ''" :placeholder="inputDetails.placeholder || ''"
v-on="parentListeners" v-model="localState" class="caption"> v-on="parentListeners" v-model="localState" class="caption">
<template v-slot:append> <template v-slot:append>

1
packages/nc-gui/components/project/appStore/inputs/textField.vue

@ -6,6 +6,7 @@
:name="inputDetails.key" :name="inputDetails.key"
:required="inputDetails.valid" :required="inputDetails.valid"
:placeholder="inputDetails.placeholder || ''" :placeholder="inputDetails.placeholder || ''"
hide-details="auto"
v-on="parentListeners" v-model="localState" class="caption"/> v-on="parentListeners" v-model="localState" class="caption"/>
</template> </template>

Loading…
Cancel
Save