diff options
author | David Phillips <dbphillipsnz@gmail.com> | 2016-03-14 15:21:52 +1300 |
---|---|---|
committer | David Phillips <dbphillipsnz@gmail.com> | 2016-03-14 15:21:52 +1300 |
commit | 00f2fc95a0db4e2f26c5d09ac292d0e682799744 (patch) | |
tree | 736b157886a34138a9d7e454c2539eb33429f47b /index.html | |
parent | b4607e0d51a1982272460e0ab9af359d92876f3f (diff) | |
parent | b0911b7b5556bfe621b6d42b51533c2264bae0f8 (diff) | |
download | petrichor-00f2fc95a0db4e2f26c5d09ac292d0e682799744.tar.xz |
Merge branch 'power-options' into develop
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 25 |
1 files changed, 24 insertions, 1 deletions
@@ -20,7 +20,30 @@ <div id="message-container"> <span id="message-label"></span> </div> + <a id="mask" href="#" onclick="hide_element('power-confirm');hide_element('mask');"></a> + <div id="power-confirm" onclick="document.getElementById('mask').click();"> + <ul> + <li> + <a class="button" href="#" onclick="lightdm.shutdown();"> + <div class="icon" id="icon-shutdown"></div> + <span>Power off</span> + </a> + </li> + <li> + <a class="button" href="#" onclick="lightdm.restart();"> + <div class="icon" id="icon-reboot"></div> + <span>Restart</span> + </a> + </li> + <li> + <a class="button" href="#" onclick="hide_element('power-confirm');hide_element('mask');"> + <div class="icon" id="icon-cancel"></div> + <span>Cancel</span> + </a> + </li> + </ul> + </div> <select id="session-list" class="ease-opacity"></select> - <img id="shutdown" class="ease-opacity" src="iec5009.svg" onclick="lightdm.shutdown();" /> + <img id="shutdown" class="ease-opacity" src="iec5009.svg" onclick="show_element('power-confirm');show_element('mask');" /> </body> </html> |