Skip to content
Snippets Groups Projects
Commit ed100744 authored by jkerdreu's avatar jkerdreu
Browse files

Added position (even if schema doesn't support this right now but lost too...

Added position (even if schema doesn't support this right now but lost too much time digging in backups)





git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@2864 b32b6428-25c9-4566-ad07-03861ab6144f
parent 2c32d715
Branches
Tags
No related merge requests found
<shutter>
<div class="shutter padded">
Open : <span class="position">{ value } %</span>
<button class="button ripple full-width" name="btn_up" onclick={ btn }>UP</button>
<button class="button ripple full-width" name="btn_stop" onclick={ btn }>STOP</button>
<button class="button ripple full-width" name="btn_down" onclick={ btn }>DOWN</button>
......@@ -8,8 +10,10 @@
<script>
this.addr = opts.xaal_addr
this.value = null
receive(data) {
this.value = data['attributes']['position']
this.update()
}
btn(e) {
......@@ -32,5 +36,10 @@
padding:0.7em;
}
.position {
font-weight: bold;
color : var(--color1);
}
</style>
</shutter>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment