From 6cdd068c5554e70fb954ef167fe41aeb18cba479 Mon Sep 17 00:00:00 2001 From: Jack Pearkes Date: Fri, 6 Jun 2014 15:11:26 -0400 Subject: [PATCH] ui: list sessions on the nodes and allow invalidation --- ui/index.html | 24 ++++++++++++++++++++--- ui/javascripts/app/controllers.js | 32 ++++++++++++++++++++++++++++++- ui/javascripts/app/routes.js | 10 ++++++++++ ui/styles/_buttons.scss | 7 +++++++ ui/styles/_lists.scss | 4 ++-- ui/styles/base.scss | 2 ++ 6 files changed, 73 insertions(+), 6 deletions(-) diff --git a/ui/index.html b/ui/index.html index be9bf4acf..b645c30e2 100644 --- a/ui/index.html +++ b/ui/index.html @@ -327,7 +327,7 @@
-
+
{{outlet}}
@@ -429,7 +429,7 @@ -
+
{{outlet}}
@@ -445,7 +445,6 @@

{{ model.Node }} {{ model.Address }}


- {{foobar}}
Service Tags
{{#if model.nodeTags}} @@ -492,6 +491,25 @@
{{/each}} + +
Lock Sessions
+ + {{#if sessions }} + {{errorMessage}} + + {{#each session in sessions }} +
+
+
+ {{session.ID}} + +
+
+ {{/each}} + + {{else}} +

No sessions

+ {{/if}}