summaryrefslogtreecommitdiffstats
path: root/afm-client/app/Frontend/pages/Home/Dashboard.html
diff options
context:
space:
mode:
Diffstat (limited to 'afm-client/app/Frontend/pages/Home/Dashboard.html')
-rw-r--r--afm-client/app/Frontend/pages/Home/Dashboard.html40
1 files changed, 40 insertions, 0 deletions
diff --git a/afm-client/app/Frontend/pages/Home/Dashboard.html b/afm-client/app/Frontend/pages/Home/Dashboard.html
new file mode 100644
index 0000000..036148a
--- /dev/null
+++ b/afm-client/app/Frontend/pages/Home/Dashboard.html
@@ -0,0 +1,40 @@
+<!-- Foundation Annotations generate tmp/route.js -->
+---
+name: dashboard
+url: /dashboard
+controller: DashboardController as ctrl
+animationIn: slideInRight
+---
+
+<h3>
+<img class="logo" src="images/logo/triskel_iot_bzhx250.png" alt="IoT.bzh Logo" style="height:150px;">
+ Application Framework Manager Simple Client
+</h3>
+
+
+
+<div class="button-box box-content ">
+ <appli-button ng-repeat="appliID in ctrl.appliIDs" store="ctrl.appliStore" handle={{appliID}} callback="ctrl.AppliCB"> </appli-button>
+ <upload-appli class="ibz-right" label="Upload" icon="fi-upload" posturl="/api/post/upload-appli" callback="ctrl.FileUploaded" title="Upload AGL App"></upload-appli>
+</div>
+
+
+<div class="button-box box-content ">
+
+ <submit-button class="session-button {{ctrl.APIcheck}}" icon="fi-play-circle" label="Start" clicked="ctrl.StartApp" ></submit-button>
+ <submit-button class="session-button {{ctrl.APIrefresh}}" icon="fi-x-circle" label="Stop" clicked="ctrl.StopApp" ></submit-button>
+ <submit-button class="session-button {{ctrl.APIreset}}" icon="fi-x" label="Remove" clicked="ctrl.RemoveApp" ></submit-button>
+
+</div>
+<div class="message-box box-content vertical grid-frame">
+ <div class="response">
+ <span class="grid-content noscroll req {{ctrl.status}} ">req= {{ctrl.request}}</span>
+ <span class="grid-content noscroll res {{ctrl.status}} ">res= {{ctrl.response}}</span>
+ <span class="grid-content noscroll status {{ctrl.status}}">status= {{ctrl.errcode}}</span>
+ </div>
+</div>
+
+
+<link-button href="sample" icon="fi-home" label="sample"></link-button>
+<token-refresh autolog="true" callback="ctrl.AutoStart"></token-refresh>
+