Skip to content

Commit b8ca1ec

Browse files
committed
Update login page. New private key validation rule
1 parent 09b0588 commit b8ca1ec

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/pages/Login.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
<q-layout>
33
<q-page-container>
44
<q-page class="bg-vblack">
5-
<div class="row">
6-
<div class="col background-gradient q-pa-xl text-center window-height">
5+
<div class="row background-gradient window-height items-center">
6+
<div class="col text-center q-pa-xl">
77
<q-img src="statics/icons/icon-512x512.png" spinner-color="vdark" style="height: 150px; max-width: 150px" />
88
<div class="text-h5 text-vdark"><span class="text-weight-bolder">vDexNode</span> dashboard</div>
99
<div class="text-subtitle1 text-vdark">Rent your computer to earn VTX</div>
1010
</div>
11-
<div class="col bg-white q-pa-xl window-height">
11+
<div class="col q-pa-xl">
1212
<div class="text-h5">Import private key</div>
1313
<div class="text-subtitle2">Please enter your private key below to start working with vDexNode Dashboard. We will never save or transmit your your key.</div>
1414
<q-form @submit="login()">
15-
<q-input dense v-model="privateKey" :type="isPwd ? 'password' : 'text'" counter color="vdark" ref="input" @keyup.enter="login" label="Your private key" :rules="[ val => val && val.length <= 51 || 'Wrong key']">
15+
<q-input dense v-model="privateKey" :type="isPwd ? 'password' : 'text'" counter color="vdark" ref="input" @keyup.enter="login" label="Your private key" :rules="[ val => val.length <= 51 || 'Wrong key']">
1616
<template v-slot:append>
1717
<q-icon :name="isPwd ? 'visibility_off' : 'visibility'" class="cursor-pointer" @click="isPwd = !isPwd" />
1818
</template>

0 commit comments

Comments
 (0)