Fix: Tag Interface Delete Button #104256

Manually merged
Sybren A. Stüvel merged 39 commits from Evelinealy/flamenco:tag-interface into main 2023-11-02 16:13:14 +01:00
Showing only changes of commit 30353a76ec - Show all commits

View File

@ -9,15 +9,18 @@
</div> </div>
</div> </div>
<div class="action-buttons"> <div class="action-buttons btn-bar">
<form @submit="createTag"> <form @submit="createTag">
<div class="create-tag-container">
<input <input
type="text" type="text"
name="newtagname" name="newtagname"
v-model="newTagName" v-model="newTagName"
placeholder="New Tag Name" placeholder="New Tag Name"
class="create-tag-input"
/> />
<button type="submit">Create Tag</button> <button id="submit-button" type="submit">Create Tag</button>
</div>
</form> </form>
</div> </div>
@ -26,7 +29,18 @@
<footer class="app-footer"></footer> <footer class="app-footer"></footer>
</template> </template>
<style scoped></style> <style scoped>
.create-tag-container {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
}
.create-tag-input {
flex: 1;
margin-right: 10px;
}
</style>
<script> <script>
import { TabulatorFull as Tabulator } from "tabulator-tables"; import { TabulatorFull as Tabulator } from "tabulator-tables";
@ -56,11 +70,9 @@ export default {
mounted() { mounted() {
this.fetchTags(); this.fetchTags();
const vueComponent = this;
const tag_options = { const tag_options = {
columns: [ columns: [
{ title: "Name", field: "name", sorter: "string" }, { title: "Name", field: "name", sorter: "string", editor: "input" },
{ title: "Description", field: "description", sorter: "string" }, { title: "Description", field: "description", sorter: "string" },
], ],
layout: "fitData", layout: "fitData",