Fix button colors and alignment in About and

Settings modals
This commit is contained in:
Gabriel Pastori 2023-11-19 01:40:19 -03:00
parent 11b67cb36a
commit 11b8bcd8cb
2 changed files with 38 additions and 31 deletions

View File

@ -27,12 +27,12 @@
<v-btn <v-btn
href="https://github.com/gabrielpastori1/evolution-manager" href="https://github.com/gabrielpastori1/evolution-manager"
target="_blank" target="_blank"
color="grey darken-3" color="grey-darken-3"
> >
<v-icon start>mdi-github</v-icon> <v-icon start>mdi-github</v-icon>
Repositório no GitHub Repositório no GitHub
</v-btn> </v-btn>
<v-btn @click="contribute" color="grey darken-3"> <v-btn @click="contribute" color="light-blue">
<v-icon start>mdi-hand-coin</v-icon> <v-icon start>mdi-hand-coin</v-icon>
Contribua com o projeto Contribua com o projeto
</v-btn> </v-btn>

View File

@ -31,35 +31,42 @@
</v-alert> </v-alert>
</v-card-text> </v-card-text>
<v-card-actions> <v-card-actions>
<v-btn size="small" text @click="showAbout"> Sobre esse Manager </v-btn> <div class="d-flex flex-wrap justify-space-between w-100 align-center">
<v-btn size="small" text @click="showAbout">
<v-spacer></v-spacer> Sobre esse Manager
<v-btn </v-btn>
v-if="!!AppStore.connection.host" <div class="d-flex justify-end flex-grow-1 gap-1">
icon <v-btn
size="small" v-if="!!AppStore.connection.host"
@click="logout" icon
:disabled="loading" class="ml-0"
> size="small"
<v-icon>mdi-logout</v-icon> @click="logout"
</v-btn> :disabled="loading"
<v-btn >
v-if="AppStore.validConnection" <v-icon>mdi-logout</v-icon>
text </v-btn>
@click="dialog = false" <v-btn
:disabled="loading" v-if="AppStore.validConnection"
> class="ml-0"
Cancel text
</v-btn> @click="dialog = false"
<v-btn :disabled="loading"
color="success" >
variant="tonal" Cancel
@click="save()" </v-btn>
:disabled="!valid" <v-btn
:loading="loading" color="success"
> class="ml-0"
Conectar variant="tonal"
</v-btn> @click="save()"
:disabled="!valid"
:loading="loading"
>
Conectar
</v-btn>
</div>
</div>
</v-card-actions> </v-card-actions>
</v-card> </v-card>