From 1f4160511f4853de614355f45b94152fbd19e29e Mon Sep 17 00:00:00 2001
From: ngharo <nick@ngha.ro>
Date: Wed, 3 Jan 2018 19:47:41 -0600
Subject: -~-~ Under Construction ~-~-~~~~~

---
 www/src/buttonList.vue | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 www/src/buttonList.vue

(limited to 'www/src/buttonList.vue')

diff --git a/www/src/buttonList.vue b/www/src/buttonList.vue
new file mode 100644
index 0000000..80cfea9
--- /dev/null
+++ b/www/src/buttonList.vue
@@ -0,0 +1,19 @@
+<template>
+      <tr v-if="!ready">
+        <td colspan="3"><i class="fa fa-spinner fa-spin"></i>
+      </tr>
+
+      <tr v-for="(button, index) in buttons" v-show="ready">
+        <td>{{ button.id }} <button v-on:click="remove(index)">delete</button></td>
+        <td>
+          <select v-model="button.status" v-on:change="update(index)">
+            <option value="0">Inventory</option>
+            <option value="1">Active</option>
+            <option>2</option>
+            <option>3</option>
+            <option>4</option>
+          </select>
+        </td>
+        <td>{{ button.last_pressed }}</td>
+      </tr>
+</template>
-- 
cgit v1.2.3

