Browse Source

refactor(gui): add class for elements

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/510/head
Pranav C 3 years ago
parent
commit
78a1d46f4b
  1. 7
      packages/nc-gui/components/utils/dlgTableCreate.vue
  2. 1
      packages/nc-gui/pages/index.vue
  3. 4
      packages/nc-gui/pages/projects/index.vue

7
packages/nc-gui/components/utils/dlgTableCreate.vue

@ -6,7 +6,7 @@
@keydown.esc="dialogShow = false" @keydown.esc="dialogShow = false"
@keydown.enter="$emit('create', table)" @keydown.enter="$emit('create', table)"
> >
<v-card class="elevation-1 backgroundColor"> <v-card class="elevation-1 backgroundColor nc-create-table-card">
<v-card-title class="primary subheading white--text py-2"> <v-card-title class="primary subheading white--text py-2">
Create A New Table Create A New Table
</v-card-title> </v-card-title>
@ -21,7 +21,7 @@
dense dense
hide-details1 hide-details1
hint="Enter table name" hint="Enter table name"
class="mt-4 caption" class="mt-4 caption nc-table-name"
/> />
<v-text-field <v-text-field
@ -32,7 +32,7 @@
dense dense
persistent-hint persistent-hint
hint="Table name as saved in database" hint="Table name as saved in database"
class="mt-4 caption" class="mt-4 caption nc-table-name-alias"
/> />
<div class=" mt-5"> <div class=" mt-5">
@ -106,6 +106,7 @@
<v-btn <v-btn
:disabled="!(table.name && table.name.length) || !(table.alias && table.alias.length)" :disabled="!(table.name && table.name.length) || !(table.alias && table.alias.length)"
color="primary" color="primary"
class="nc-create-table-submit"
@click="$emit('create',table)" @click="$emit('create',table)"
> >
Submit Submit

1
packages/nc-gui/pages/index.vue

@ -1,5 +1,6 @@
<template> <template>
<v-row <v-row
class="welcome-page"
style="min-height: 100vh" style="min-height: 100vh"
align="center" align="center"
justify="center" justify="center"

4
packages/nc-gui/pages/projects/index.vue

@ -219,11 +219,11 @@
:footer-props="{ :footer-props="{
'items-per-page-options': [20, -1], 'items-per-page-options': [20, -1],
}" }"
class="pa-4 text-left mx-auto" class="pa-4 text-left mx-auto "
style="cursor: pointer" style="cursor: pointer"
> >
<template #item="props"> <template #item="props">
<tr @click="projectRouteHandler(props.item)"> <tr class="project-row" @click="projectRouteHandler(props.item)">
<td data-v-step="2"> <td data-v-step="2">
<v-icon <v-icon
x-small x-small

Loading…
Cancel
Save