Mercurial > code > home > repos > homeauto
comparison service/wifi/index.html @ 1461:517cbb905d4c
remote suspend, wifi group arg
Ignore-this: 76cd196b934298df35125bd180ede9c6
darcs-hash:1893e27489c5537950d377dfde761497f906df6c
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sat, 23 Nov 2019 12:02:32 -0800 |
parents | 4afb1830bb5e |
children | 32d134dbfb1e |
comparison
equal
deleted
inserted
replaced
1459:6c6b14c39cd2 | 1461:517cbb905d4c |
---|---|
15 </head> | 15 </head> |
16 | 16 |
17 <body class="rdfBrowsePage"> | 17 <body class="rdfBrowsePage"> |
18 <template id="t" is="dom-bind"> | 18 <template id="t" is="dom-bind"> |
19 <style> | 19 <style> |
20 body { | 20 |
21 background: black; | |
22 color: white; | |
23 } | |
24 a { | |
25 color: #b1b1fd; | |
26 text-shadow: 1px 1px 0px #0400ff94; | |
27 text-decoration-color: #00007714; | |
28 } | |
29 #subjectRequest { | 21 #subjectRequest { |
30 width: 50em; | 22 width: 50em; |
31 } | 23 } |
32 </style> | 24 </style> |
33 | 25 |
51 | 43 |
52 const repaint = () => { | 44 const repaint = () => { |
53 if (!dirty) { | 45 if (!dirty) { |
54 return; | 46 return; |
55 } | 47 } |
56 render(graphView(sg.graph.graph), out); | 48 render(graphView(sg.graph.graph, /*showGroups=*/false), out); |
57 dirty = false; | 49 dirty = false; |
58 }; | 50 }; |
59 | 51 |
60 sg.addEventListener('graph-changed', (ev) => { | 52 sg.addEventListener('graph-changed', (ev) => { |
61 dirty = true; | 53 dirty = true; |
67 </script> | 59 </script> |
68 </template> | 60 </template> |
69 <script> | 61 <script> |
70 | 62 |
71 </script> | 63 </script> |
64 | |
65 <form method="POST" action="remoteSuspend"><button>Suspend windows/VR machine</button></form> | |
66 <!-- also put wakeonlan actions down here --> | |
67 | |
72 </body> | 68 </body> |
73 | 69 |
74 </html> | 70 </html> |