Improved styling and synchronisation
This commit is contained in:
parent
53644a691b
commit
46444770f3
3 changed files with 41 additions and 9 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div id="log-container" ref="logContainer">
|
||||
<div class="log-container" ref="logContainer">
|
||||
<div v-if="log">
|
||||
<div v-for="(item, index) in log" :key="`log_entry_${index}`">
|
||||
{{ item.message }}
|
||||
|
|
@ -44,9 +44,8 @@ export default {
|
|||
</script>
|
||||
|
||||
<style scoped>
|
||||
#log-container {
|
||||
.log-container {
|
||||
position: relative;
|
||||
height: 6em;
|
||||
overflow-y: scroll;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
class=""
|
||||
uk-modal="bg-close: false; esc-close: false; stack: true;"
|
||||
>
|
||||
<div class="uk-modal-dialog uk-modal-body uk-margin-auto-vertical">
|
||||
<div class="uk-modal-dialog uk-modal-body uk-margin-auto-vertical" id="status-modal">
|
||||
<h2>{{ submitLabel }}</h2>
|
||||
<action-log-display :log="log" :task-status="taskStatus" />
|
||||
<div id="progress-and-cancel-row">
|
||||
|
|
@ -308,6 +308,7 @@ export default {
|
|||
},
|
||||
|
||||
terminateTask: function() {
|
||||
console.log(`deleting task at ${this.taskUrl}`);
|
||||
axios.delete(this.taskUrl);
|
||||
}
|
||||
}
|
||||
|
|
@ -336,4 +337,8 @@ export default {
|
|||
margin-left: 5px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
#status-modal .log-container {
|
||||
height:10em;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue