diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2018-10-14 12:41:37 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2018-10-14 12:43:39 +0200 |
commit | 958563a3602780b48599c27acf212139c2e6904d (patch) | |
tree | bc3b3e1209691c320122b4586972e275563cc867 /contrib/dashboard.html | |
parent | 07994fb6b72b0c84d2ee2c69e5afdb204d33d5e6 (diff) | |
download | crocoite-958563a3602780b48599c27acf212139c2e6904d.tar.gz crocoite-958563a3602780b48599c27acf212139c2e6904d.tar.bz2 crocoite-958563a3602780b48599c27acf212139c2e6904d.zip |
irc: Add PoC dashboard
Using websockets, vue and bulma.
Diffstat (limited to 'contrib/dashboard.html')
-rw-r--r-- | contrib/dashboard.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/dashboard.html b/contrib/dashboard.html new file mode 100644 index 0000000..cc09d50 --- /dev/null +++ b/contrib/dashboard.html @@ -0,0 +1,22 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> + <title>chromebot dashboard</title> + <!--<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>--> + <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.min.js"></script> + <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.7/css/bulma.min.css"> + <link rel="stylesheet" href="dashboard.css"> + </head> + <body> + <noscript>Please enable JavaScript.</noscript> + <section id="app" class="section"> + <h1 class="title">chromebot dashboard</h1> + <div class="jobs"> + <job-item v-for="j in jobs" v-bind:job="j" v-bind:jobs="jobs" v-bind:ignored="ignored" v-bind:key="j.id"></job-item> + </div> + </section> + <script src="dashboard.js"></script> + </body> +</html> |