aboutsummaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2016-03-14 15:21:52 +1300
committerDavid Phillips <dbphillipsnz@gmail.com>2016-03-14 15:21:52 +1300
commit00f2fc95a0db4e2f26c5d09ac292d0e682799744 (patch)
tree736b157886a34138a9d7e454c2539eb33429f47b /index.html
parentb4607e0d51a1982272460e0ab9af359d92876f3f (diff)
parentb0911b7b5556bfe621b6d42b51533c2264bae0f8 (diff)
downloadpetrichor-00f2fc95a0db4e2f26c5d09ac292d0e682799744.tar.xz
Merge branch 'power-options' into develop
Diffstat (limited to 'index.html')
-rw-r--r--index.html25
1 files changed, 24 insertions, 1 deletions
diff --git a/index.html b/index.html
index 5fa7934..e063587 100644
--- a/index.html
+++ b/index.html
@@ -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>