aboutsummaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2016-03-14 16:25:32 +1300
committerDavid Phillips <dbphillipsnz@gmail.com>2016-03-14 16:25:32 +1300
commitd6bb5c09203ec2b2e2add38c11aab22fcbe3581c (patch)
tree5199710acc34975ebf97ae0f75e28cf86b2d4d3c /index.html
parentb4607e0d51a1982272460e0ab9af359d92876f3f (diff)
parent6bd10915ee2fdaac0fa41199dd095c3f6c02c027 (diff)
downloadpetrichor-d6bb5c09203ec2b2e2add38c11aab22fcbe3581c.tar.xz
Merge branch 'release'1.0
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..6b1b34d 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="image/iec5009.svg" onclick="show_element('power-confirm');show_element('mask');" />
</body>
</html>