summaryrefslogtreecommitdiffstats
path: root/templates/html5/app/Frontend/pages/SampleHome/SampleHome.html
blob: 9c13ea95e9aa59bf66dd6f54a277fb26963460fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!-- Foundation Annotations generate tmp/route.js -->
---
name: SampleHome
url:  /sample-home
controller:   SampleHomeController as ctrl
animationIn: slideInRight
---

<h3> 
<img class="logo" src="images/logo/triskel_iot_bzhx250.png" alt="IoT.bzh Logo" style="height:150px;">
  App Framework - HTML5 Client
</h3>

<token-refresh autolog="true" callback="ctrl.Initialised"></token-refresh>


<div class="button-box box-content ">
      
    <submit-button class="session-button {{ctrl.class.connect}}" icon="fi-unlock" label="Connect" clicked="ctrl.ConnectClient" ></submit-button>
    <submit-button class="session-button {{ctrl.class.check}}" icon="fi-checkbox" label="Check" clicked="ctrl.CheckSession" ></submit-button>
    <submit-button class="session-button {{ctrl.class.refresh}}"  icon="fi-arrows-compress" label="Refresh"   clicked="ctrl.RefreshSession" ></submit-button>
    <submit-button class="session-button {{ctrl.class.logout}}" icon="fi-lock" label="Logout" clicked="ctrl.LogoutClient" ></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>