036148a8211f110900cb02cbe07cca1934261d15
[src/app-framework-demo.git] / afm-client / app / Frontend / pages / Home / Dashboard.html
1 <!-- Foundation Annotations generate tmp/route.js -->
2 ---
3 name: dashboard
4 url:  /dashboard
5 controller:   DashboardController as ctrl
6 animationIn: slideInRight
7 ---
8
9 <h3> 
10 <img class="logo" src="images/logo/triskel_iot_bzhx250.png" alt="IoT.bzh Logo" style="height:150px;">
11   Application Framework Manager Simple Client
12 </h3>
13
14
15
16 <div class="button-box box-content ">
17     <appli-button  ng-repeat="appliID in ctrl.appliIDs" store="ctrl.appliStore" handle={{appliID}} callback="ctrl.AppliCB"> </appli-button>
18     <upload-appli  class="ibz-right" label="Upload" icon="fi-upload" posturl="/api/post/upload-appli" callback="ctrl.FileUploaded" title="Upload AGL App"></upload-appli>
19 </div>
20
21
22 <div class="button-box box-content ">
23       
24     <submit-button class="session-button {{ctrl.APIcheck}}" icon="fi-play-circle" label="Start" clicked="ctrl.StartApp" ></submit-button>
25     <submit-button class="session-button {{ctrl.APIrefresh}}"  icon="fi-x-circle" label="Stop"   clicked="ctrl.StopApp" ></submit-button>
26     <submit-button class="session-button {{ctrl.APIreset}}" icon="fi-x" label="Remove" clicked="ctrl.RemoveApp" ></submit-button>
27     
28 </div>
29 <div class="message-box box-content vertical grid-frame">
30     <div class="response">
31         <span class="grid-content noscroll req {{ctrl.status}} ">req= {{ctrl.request}}</span>
32         <span class="grid-content noscroll res {{ctrl.status}} ">res= {{ctrl.response}}</span>
33         <span class="grid-content noscroll status {{ctrl.status}}">status= {{ctrl.errcode}}</span>
34     </div>
35 </div>
36
37
38 <link-button href="sample" icon="fi-home" label="sample"></link-button>
39 <token-refresh autolog="true" callback="ctrl.AutoStart"></token-refresh>
40