diff options
author | Loïc Collignon <loic.collignon@iot.bzh> | 2018-01-26 09:34:28 +0100 |
---|---|---|
committer | Loïc Collignon <loic.collignon@iot.bzh> | 2018-01-26 09:34:58 +0100 |
commit | 0ee62da86da6b65d3639532462b39394a3321413 (patch) | |
tree | 72fef1ce4f45bd65a456c2a162052b8597c2fcd9 /ll-database-binding/htdocs/persistence/index.html | |
parent | 5dfef8a03edaa1cd27d4b77a08c0f5381a642bcd (diff) |
add debugging html ui.
Change-Id: I4e84bec38d9a2483ad6dbe0e393cde62e8c2a862
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'll-database-binding/htdocs/persistence/index.html')
-rw-r--r-- | ll-database-binding/htdocs/persistence/index.html | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/ll-database-binding/htdocs/persistence/index.html b/ll-database-binding/htdocs/persistence/index.html new file mode 100644 index 0000000..50999d9 --- /dev/null +++ b/ll-database-binding/htdocs/persistence/index.html @@ -0,0 +1,41 @@ +<!doctype html> +<html> + <head> + <title>agl-service-data-persistence</title> + <meta charset="UTF-8"> + <script type="text/javascript" src="AFB-websock.js"></script> + <script type="text/javascript" src="persistence-binding.js"></script> + <link rel="stylesheet" type="text/css" href="binding-debug.css" /> + </head> + <body onload="init();" id="app-body"> + <div id="debug-panel-container"></div> + <h1>agl-service-identity</h1> + <h2>Raw data access</h2> + <p> + <ul> + <li><input type="text" name="read-key" id="read-key" /> <button onclick="readData();">Read Data</button> <button onclick="deleteData();">Delete Data</button></li> + <li> + <p><label>Key: </label><input type="text" name="write-key" id="write-key"/></p> + <p><label>Data:</label></p> + <p><textarea id="write-data"></textarea></p> + <p><button onclick="writeData();">Write Data</button></p> + </li> + </ul> + </p> + <h2>User Profile (VIN: <input type="text" name="profile-vin" id="profile-vin" value="WVGGF7BP7HD005986" />)</h2> + <ul> + <li><input type="text" name="get-profile-key" id="get-profile-key" /> <button onclick="readProfile();">Get Profile</button> <button onclick="deleteProfile();">Delete Profile</button></li> + <li> + <h3>Update user profile</h3> + <ul> + <li><p><label>Key Token:</label> <input type="text" name="set-profile-key" id="set-profile-key"/></p></li> + <li><p><label>Login:</label> <input type="text" name="set-profile-login" id="set-profile-login"/></p></li> + <li><p><label>First Name:</label> <input type="text" name="set-profile-first-name" id="set-profile-first-name"/></p></li> + <li><p><label>Last Name:</label> <input type="text" name="set-profile-last-name" id="set-profile-last-name"/></p></li> + <li><p><label>Language:</label> <input type="text" name="set-profile-language" id="set-profile-language"/></p></li> + <button onclick="writeProfile();">Save</button> + </ul> + </li> + </ul> + </body> +</html> |