ui: better ordering
This commit is contained in:
parent
c338522b33
commit
25c2d20c19
@ -69,6 +69,11 @@
|
|||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<div id="store-infos">
|
<div id="store-infos">
|
||||||
|
<h2>Config</h2>
|
||||||
|
<form @submit="uploadConfig">
|
||||||
|
<input type="file" ref="configUpload" required />
|
||||||
|
<input type="submit" value="upload config" />
|
||||||
|
</form>
|
||||||
<h2>Store</h2>
|
<h2>Store</h2>
|
||||||
<a :href="'/public/store.tar?token='+state.Store.DownloadToken" target="_blank">download</a>
|
<a :href="'/public/store.tar?token='+state.Store.DownloadToken" target="_blank">download</a>
|
||||||
<form @submit="storeAddKey" action="/store/add-key">
|
<form @submit="storeAddKey" action="/store/add-key">
|
||||||
@ -76,10 +81,6 @@
|
|||||||
<input type="password" v-model="forms.store.pass2" autocomplete="new-password" required />
|
<input type="password" v-model="forms.store.pass2" autocomplete="new-password" required />
|
||||||
<input type="submit" value="add unlock phrase" :disabled="!forms.store.pass1 || forms.store.pass1 != forms.store.pass2" />
|
<input type="submit" value="add unlock phrase" :disabled="!forms.store.pass1 || forms.store.pass1 != forms.store.pass2" />
|
||||||
</form>
|
</form>
|
||||||
<form @submit="uploadConfig">
|
|
||||||
<input type="file" ref="configUpload" required />
|
|
||||||
<input type="submit" value="upload config" />
|
|
||||||
</form>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="state.Clusters" id="clusters">
|
<div v-if="state.Clusters" id="clusters">
|
||||||
|
Loading…
Reference in New Issue
Block a user