mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2025-01-27 07:46:15 +01:00
refs #55 Prevent submit in login
This commit is contained in:
parent
311e0204ea
commit
0b5559b3bb
@ -24,7 +24,7 @@ export default {
|
||||
<style lang="scss">
|
||||
body { font-family: 'Source Sans Pro', sans-serif; }
|
||||
|
||||
html, body, #app, #login {
|
||||
html, body, #app {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
@ -33,6 +33,7 @@ html, body, #app, #login {
|
||||
background-color: #292f3f;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
min-height: 100%;
|
||||
|
||||
.el-form-item__label {
|
||||
color: #f0f3f9;
|
||||
|
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div id="instance_form">
|
||||
<el-form ref="instanceForm" label-width="120px" label-position="top" class="instance-form">
|
||||
<el-form ref="instanceForm" label-width="120px" label-position="top" class="instance-form" v-on:submit.prevent="search">
|
||||
<el-form-item label="Domain name">
|
||||
<el-input v-model="instanceForm.domain" class="input"></el-input>
|
||||
</el-form-item>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div id="login_form">
|
||||
<el-form ref="loginForm" label-width="120px" label-position="top">
|
||||
<el-form ref="loginForm" label-width="120px" label-position="top" v-on:submit.prevent="login">
|
||||
<el-form-item label="Select instance">
|
||||
<el-radio-group v-model="loginForm.selectInstance" @change="changeInstance" class="instance-group">
|
||||
<el-radio class="instance-list" v-for="instance in instances" v-bind:key="instance.id" :label="instance.name" border></el-radio>
|
||||
@ -80,6 +80,10 @@ export default {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.submit {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.back {
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user