Tweak button size at the end of the scan
This commit is contained in:
parent
bad736cc46
commit
a5f95d24c7
2 changed files with 41 additions and 33 deletions
|
|
@ -8,27 +8,31 @@
|
||||||
<h2 v-if="taskInfoTitle" style="text-align: center">{{ taskInfoTitle }}</h2>
|
<h2 v-if="taskInfoTitle" style="text-align: center">{{ taskInfoTitle }}</h2>
|
||||||
<mini-stream-display v-if="taskInfoStream" />
|
<mini-stream-display v-if="taskInfoStream" />
|
||||||
<action-log-display id="log-display" :log="log" :task-status="taskStatus" />
|
<action-log-display id="log-display" :log="log" :task-status="taskStatus" />
|
||||||
<action-button
|
<div class="uk-width-1-1 uk-flex uk-flex-center">
|
||||||
v-if="taskRunning"
|
<div class="uk-width-2-3">
|
||||||
:thing="thing"
|
<action-button
|
||||||
:action="action"
|
v-if="taskRunning"
|
||||||
:force-id="taskId"
|
:thing="thing"
|
||||||
:force-url="taskUrl"
|
:action="action"
|
||||||
submit-label=""
|
:force-id="taskId"
|
||||||
:can-terminate="true"
|
:force-url="taskUrl"
|
||||||
@completed="$emit('completed')"
|
submit-label=""
|
||||||
@update:task-status="taskStatus = $event"
|
:can-terminate="true"
|
||||||
@update:progress="progress = $event"
|
@completed="$emit('completed')"
|
||||||
@update:log="log = $event"
|
@update:task-status="taskStatus = $event"
|
||||||
/>
|
@update:progress="progress = $event"
|
||||||
<button
|
@update:log="log = $event"
|
||||||
v-if="!taskRunning"
|
/>
|
||||||
type="button"
|
<button
|
||||||
class="uk-button uk-width-1-1 uk-position-relative"
|
v-if="!taskRunning"
|
||||||
@click="closeTask"
|
type="button"
|
||||||
>
|
class="uk-button uk-width-1-1 uk-position-relative"
|
||||||
Close
|
@click="closeTask"
|
||||||
</button>
|
>
|
||||||
|
Close
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<slot name="task-info"></slot>
|
<slot name="task-info"></slot>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -36,18 +36,22 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template #task-info>
|
<template #task-info>
|
||||||
<action-button
|
<div class="uk-width-1-1 uk-flex uk-flex-center">
|
||||||
v-if="scanComplete"
|
<div class="uk-width-2-3">
|
||||||
thing="smart_scan"
|
<action-button
|
||||||
action="download_zip"
|
v-if="scanComplete"
|
||||||
submit-label="Download ZIP"
|
thing="smart_scan"
|
||||||
:can-terminate="false"
|
action="download_zip"
|
||||||
:submit-data="{ scan_name: lastScanName }"
|
submit-label="Download ZIP"
|
||||||
:button-primary="true"
|
:can-terminate="false"
|
||||||
@response="downloadZipFile"
|
:submit-data="{ scan_name: lastScanName }"
|
||||||
@error="modalError"
|
:button-primary="true"
|
||||||
/>
|
@response="downloadZipFile"
|
||||||
<h3 v-if="scanning">Scan ID: {{ lastScanName }}</h3>
|
@error="modalError"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h3 v-if="scanning" class="uk-margin-left">Scan ID: {{ lastScanName }}</h3>
|
||||||
</template>
|
</template>
|
||||||
</actionTab>
|
</actionTab>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue