mirror of
https://github.com/VueTubeApp/VueTube
synced 2024-11-25 20:55:17 +00:00
fix: update page bugs, make buttons even prettier
This commit is contained in:
parent
3830193df3
commit
e5c449d28f
1 changed files with 21 additions and 6 deletions
|
@ -7,8 +7,10 @@
|
|||
<div v-if="status == 'checking'">
|
||||
<h1>{{ lang.checking }}</h1>
|
||||
<div>
|
||||
{{ lang.installed }}: {{ version.substring(0, 7) || "Unknown" }}
|
||||
{{ release }}
|
||||
{{ lang.installed }}:
|
||||
{{ installedVersion.substring(0, 7) || "Unknown" }}
|
||||
<!-- (release) -->
|
||||
({{ latestVersion.tag_name }})
|
||||
</div>
|
||||
<center>
|
||||
<v-progress-circular
|
||||
|
@ -35,8 +37,10 @@
|
|||
<h1 v-if="!downloading">{{ lang.available }}</h1>
|
||||
<h1 v-if="downloading">{{ lang.updating }}</h1>
|
||||
<div>
|
||||
{{ lang.installed }}: {{ version.substring(0, 7) || "Unknown" }}
|
||||
{{ release }}
|
||||
{{ lang.installed }}:
|
||||
{{ installedVersion.substring(0, 7) || "Unknown" }}
|
||||
<!-- (release) -->
|
||||
({{ latestVersion.tag_name }})
|
||||
</div>
|
||||
<div>{{ lang.latest }}: {{ latestVersion.tag_name }}</div>
|
||||
|
||||
|
@ -65,11 +69,22 @@
|
|||
/>
|
||||
|
||||
<div v-if="!downloading" class="bottom">
|
||||
<v-btn rounded @click="$router.go(-1)">{{ lang.later }}</v-btn>
|
||||
<v-btn
|
||||
rounded
|
||||
depressed
|
||||
:class="
|
||||
$vuetify.theme.dark ? 'background lighten-1' : 'background darken-1'
|
||||
"
|
||||
@click="$router.go(-1)"
|
||||
>
|
||||
{{ lang.later }}
|
||||
</v-btn>
|
||||
<v-btn
|
||||
rounded
|
||||
depressed
|
||||
class="ml-2"
|
||||
color="primary"
|
||||
:dark="!$vuetify.theme.dark"
|
||||
:class="$vuetify.theme.dark ? 'background--text' : 'white--text'"
|
||||
@click="install()"
|
||||
>
|
||||
{{ lang.update }}
|
||||
|
|
Loading…
Reference in a new issue