webapp: optimize look of firmware update cards
This commit is contained in:
parent
13c1893e9e
commit
a397989433
@ -17,16 +17,15 @@
|
|||||||
<p class="h1 mb-2">
|
<p class="h1 mb-2">
|
||||||
<BIconExclamationCircleFill />
|
<BIconExclamationCircleFill />
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<span style="vertical-align: middle" class="ml-2">
|
|
||||||
{{ OTAError }}
|
{{ OTAError }}
|
||||||
</span>
|
<div class="mt-3 d-flex gap-3 justify-content-center">
|
||||||
<br />
|
<button class="btn btn-light" @click="clear">
|
||||||
<br />
|
<BIconArrowLeft /> {{ $t('firmwareupgrade.Back') }}
|
||||||
<button class="btn btn-light" @click="clear"><BIconArrowLeft /> {{ $t('firmwareupgrade.Back') }}</button>
|
</button>
|
||||||
<button class="btn btn-primary" @click="retryOTA">
|
<button class="btn btn-primary" @click="retryOTA">
|
||||||
<BIconArrowRepeat /> {{ $t('firmwareupgrade.Retry') }}
|
<BIconArrowRepeat /> {{ $t('firmwareupgrade.Retry') }}
|
||||||
</button>
|
</button>
|
||||||
|
</div>
|
||||||
</CardElement>
|
</CardElement>
|
||||||
|
|
||||||
<CardElement
|
<CardElement
|
||||||
@ -35,13 +34,8 @@
|
|||||||
center-content
|
center-content
|
||||||
v-else-if="!loading && !uploading && OTASuccess"
|
v-else-if="!loading && !uploading && OTASuccess"
|
||||||
>
|
>
|
||||||
<span class="h1 mb-2">
|
<BIconCheckCircle class="fs-1" /> {{ $t('firmwareupgrade.OtaSuccess') }}
|
||||||
<BIconCheckCircle />
|
<div>
|
||||||
</span>
|
|
||||||
<span> {{ $t('firmwareupgrade.OtaSuccess') }} </span>
|
|
||||||
<br />
|
|
||||||
<br />
|
|
||||||
<div class="text-center">
|
|
||||||
<div class="spinner-border" role="status">
|
<div class="spinner-border" role="status">
|
||||||
<span class="visually-hidden"></span>
|
<span class="visually-hidden"></span>
|
||||||
</div>
|
</div>
|
||||||
@ -54,7 +48,7 @@
|
|||||||
center-content
|
center-content
|
||||||
v-else-if="!loading && !uploading"
|
v-else-if="!loading && !uploading"
|
||||||
>
|
>
|
||||||
<div class="form-group pt-2 mt-3">
|
<div class="form-group">
|
||||||
<input class="form-control" type="file" ref="file" accept=".bin,.bin.gz" @change="uploadOTA" />
|
<input class="form-control" type="file" ref="file" accept=".bin,.bin.gz" @change="uploadOTA" />
|
||||||
</div>
|
</div>
|
||||||
</CardElement>
|
</CardElement>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user