Commit 1847d59a authored by Robert's avatar Robert 👽

UPD: Transaction error actions are highlighted

parent a58e4734
Pipeline #88746 passed with stages
in 7 minutes and 38 seconds
......@@ -28,6 +28,7 @@
<div class="handle">
{{index + 1}}
</div>
<!-- TODO: Mouse feedback on click -->
<font-awesome-icon class="move-icon"
:icon="['fas','caret-up']"
@click="$store.state.ta_list.move(index, index - 1)"/>
......@@ -41,6 +42,11 @@
<b-row>
<b-col>
{{function2text(element.object_function)}} in {{element.object_fq_name}}
<div class="error-warning"
v-if="$store.state.transaction_error && $store.state.transaction_error.uuid === element.uuid">
<font-awesome-icon :icon="['fas','exclamation-triangle']"/>
Etwas ist schiefgelaufen.
</div>
</b-col>
<b-col cols="3" class="mb-0">
<b-button :disabled="should_edit" block variant="outline-primary"
......@@ -69,21 +75,19 @@
</b-card>
</Draggable>
<hr/>
<div>
<b-button-toolbar justify>
<b-button-group class="mx-auto">
<b-button @click="$store.commit('emptyTransactionList')" variant="outline-danger">
<font-awesome-icon :icon="['far', 'trash-alt']"></font-awesome-icon>
Liste löschen
</b-button>
<b-button variant="outline-primary" @click="$store.commit('testTransaction')">Testen</b-button>
<b-button variant="outline-success" @click="$store.commit('executeTransaction')">
<font-awesome-icon :icon="['far', 'paper-plane']"></font-awesome-icon>
Anwenden
</b-button>
</b-button-group>
</b-button-toolbar>
</div>
<b-button-toolbar justify>
<b-button-group class="mx-auto">
<b-button @click="$store.commit('emptyTransactionList')" variant="outline-danger">
<font-awesome-icon :icon="['far', 'trash-alt']"></font-awesome-icon>
Liste löschen
</b-button>
<b-button variant="outline-primary" @click="$store.commit('testTransaction')">Testen</b-button>
<b-button variant="outline-success" @click="$store.commit('executeTransaction')">
<font-awesome-icon :icon="['far', 'paper-plane']"></font-awesome-icon>
Anwenden
</b-button>
</b-button-group>
</b-button-toolbar>
<DBEditor modal_id="ta-edit"
:object_fq_name="edit_elem.object_fq_name"
:object_function="edit_elem.object_function"
......@@ -166,4 +170,10 @@
width: 30px;
user-select: none;
}
.error-warning {
position: absolute;
bottom: 0;
color: red;
}
</style>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment