Narrower scan tabs

This commit is contained in:
jaknapper 2025-05-14 11:17:44 +01:00
parent a5d85a7d9e
commit 747bc3d79a
2 changed files with 3 additions and 3 deletions

View file

@ -208,7 +208,7 @@ h4, .uk-h4 {
.uk-card-body { .uk-card-body {
padding: 20px 16px 8px 16px; padding: 20px 16px 8px 16px;
width: 260px; width: 240px;
} }
.uk-card-media-top img { .uk-card-media-top img {

View file

@ -85,18 +85,18 @@
submit-label="Stitch Images" submit-label="Stitch Images"
thing="smart_scan" thing="smart_scan"
action="stitch_scan" action="stitch_scan"
v-if="item.can_stitch"
:can-terminate="false" :can-terminate="false"
:submit-data="{ scan_name: item.name }" :submit-data="{ scan_name: item.name }"
:button-primary="false" :button-primary="false"
:modal-progress="true" :modal-progress="true"
v-if="item.can_stitch"
@error="modalError" @error="modalError"
/> />
<ul> <ul>
<li>{{ item.number_of_images }} images</li> <li>{{ item.number_of_images }} images</li>
<li>created: {{ formatDate(item.created) }}</li> <li>created: {{ formatDate(item.created) }}</li>
<li>modified: {{ formatDate(item.modified) }}</li> <li>modified: {{ formatDate(item.modified) }}</li>
<li v-if="item.number_of_images<3" style="color:red; font-weight: bold;">Not enough images<br />to stitch</li> <li v-if="item.number_of_images<3" style="color:red; font-weight: bold;">Not enough images to stitch</li>
<li v-else-if=!item.stitch_available style="color:red; font-weight: bold;">Scan not stitched</li> <li v-else-if=!item.stitch_available style="color:red; font-weight: bold;">Scan not stitched</li>
</ul> </ul>
</div> </div>