summaryrefslogtreecommitdiffstats
path: root/examples/html5/app/Frontend/pages/SampleHome/SampleHome.html
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-02 19:47:36 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-10-15 18:21:42 +0200
commitb067c5854c76a96b949ff0c092f74649fbda44fc (patch)
tree3330910c57aaba13de322e6257739669c2174872 /examples/html5/app/Frontend/pages/SampleHome/SampleHome.html
parent44109a1ad1d92b0da2c88782217bbb8a1d1ff4aa (diff)
Initial commit
Change-Id: I536251add63ef100b42a67e39a02fef117f2b414 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'examples/html5/app/Frontend/pages/SampleHome/SampleHome.html')
-rw-r--r--examples/html5/app/Frontend/pages/SampleHome/SampleHome.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/examples/html5/app/Frontend/pages/SampleHome/SampleHome.html b/examples/html5/app/Frontend/pages/SampleHome/SampleHome.html
new file mode 100644
index 0000000..9c13ea9
--- /dev/null
+++ b/examples/html5/app/Frontend/pages/SampleHome/SampleHome.html
@@ -0,0 +1,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>
+
+
+