Add restore route in provision model
This commit is contained in:
@@ -208,7 +208,7 @@ onMounted(async () => {
|
||||
You can follow the logs on the server at <code class="clipboard hand" data-clipboard-text="/home/yellowtent/platformdata/logs/box.log" uib-tooltip="{{ clipboardDone ? 'Copied' : 'Click to copy' }}" tooltip-placement="right">/home/yellowtent/platformdata/logs/box.log</code>
|
||||
<br/>
|
||||
<br/>
|
||||
<span v-show="taskMinutesActive >= 4">If setup appears stuck, it can be restarted by running <code>systemctl restart box</code> and reloading this page.</span>
|
||||
<span v-show="taskMinutesActive >= 4">If restore appears stuck, it can be restarted by running <code>systemctl restart box</code> and reloading this page.</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -216,11 +216,11 @@ onMounted(async () => {
|
||||
<h1>Cloudron Restore</h1>
|
||||
<p>Provide the backup to restore from</p>
|
||||
|
||||
<div class="error-label" v-if="formError.generic">{{ formError.generic }}</div>
|
||||
|
||||
<input type="file" ref="backupConfigFileInput" @change="onBackupConfigChanged" accept="application/json, text/json" style="display:none"/>
|
||||
<Button @click="onUploadBackupConfig()">Upload Backup Config</button>
|
||||
|
||||
<div class="error-label" v-if="formError.generic">{{ formError.generic }}</div>
|
||||
|
||||
<form ref="form" @submit.prevent="onSubmit()" @input="checkValidity()">
|
||||
<fieldset :disabled="busy">
|
||||
<input type="submit" style="display: none;"/>
|
||||
|
||||
Reference in New Issue
Block a user