diff --git a/src/App.vue b/src/App.vue index de09f3a..b37d2a5 100644 --- a/src/App.vue +++ b/src/App.vue @@ -7,6 +7,7 @@ import Button from 'primevue/button' import DataTable from "primevue/datatable" import Column from "primevue/column" import Card from "primevue/card" +import SplitButton from "primevue/splitbutton" const allTables = ref() const activeTables = ref() @@ -35,6 +36,13 @@ function stopTable(tableId: number) { activate.then((resp) => axios.get('http://localhost/api/active_tables')).then((resp) => activeTables.value = resp.data) } +const saveButtonSubmenu = [ + { label: "Restart" }, + { label: "Stop" }, + { separator: true }, + { label: "Delete" } +] + @@ -46,12 +54,25 @@ function stopTable(tableId: number) { padding-left: 15px; } - .ATTables { + .Tables { + padding-left: 50px; + } +} + +.AllTables { + margin: 20px; + + h2 { + padding-left: 15px; + } + + .Tables { padding-left: 50px; } .button-box { - padding: 10px; + padding-top: 25px; + padding-bottom: 10px; } } @@ -63,39 +84,39 @@ function stopTable(tableId: number) { - +