Skip to content

Commit

Permalink
Update WelcomeDialog.vue
Browse files Browse the repository at this point in the history
* Better visual arrangement for mobile responsive view
  • Loading branch information
moonsettler committed Apr 25, 2023
1 parent 31de56c commit 1d10e3e
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions src/components/WelcomeDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,18 @@
will lose your tokens. Press the Backup button to download a copy of
your tokens.
</p>
<p>
<strong class="text-green-13">RESTORE WALLET BACKUP</strong> by dragging and dropping the backup file here!
<div class="row q-mt-lg">
<q-btn
outline
rectangle
color="warning"
icon="upload_for_offline"
@click="browseBackupFile"
>Restore wallet backup<q-tooltip>Upload wallet backup</q-tooltip></q-btn
>
</div>
<p class="text-muted">
You can drag &amp; drop the wallet backup file here!
</p>
<div class="row q-mt-lg">
<input type="file" id="fileUpload" ref="fileUpload" v-on:change="onChangeFileUpload()"/>
Expand All @@ -56,15 +66,7 @@
<q-btn outline color="grey" class="q-mx-sm" @click="copyText(baseURL)"
>Copy URL</q-btn
>
<q-btn
class="q-ml-auto"
outline
rectangle
color="warning"
icon="upload_for_offline"
@click="browseBackupFile"
>Restore Wallet<q-tooltip>Upload wallet backup</q-tooltip></q-btn
>

<q-btn
v-close-popup
flat
Expand All @@ -79,7 +81,7 @@
</q-dialog>
</template>
<style scoped>
#fileUpload { display:none }
#fileUpload { display:none };
</style>
<script>
import { defineComponent } from "vue";
Expand Down

0 comments on commit 1d10e3e

Please sign in to comment.