Help popup added

New help popup screen, accessed by clicking ICEcoder logo
Shows shortcut keys for now
This commit is contained in:
Matt Pass
2012-05-09 17:08:14 +01:00
parent 1577118643
commit 57e820501a
2 changed files with 68 additions and 0 deletions

30
lib/help.css Normal file
View File

@@ -0,0 +1,30 @@
/* First, reset everything to a standard */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
border: 0px;
margin: 0px;
padding: 0px;
outline: 0px;
font-size: 12px;
vertical-align: top;
}
body {overflow: hidden;
-webkit-user-select: none;
-moz-user-select: none;
-o-user-select:none;
user-select: none;
}
h1 {font-size: 36px; font-weight: normal; color: #888888; margin-bottom: 20px}
.help {font-family: arial, verdana, helvetica, sans-serif; background-color: #1c1c19; color: #ffffff; padding: 20px}
.help .key {display: inline-block; width: 175px; text-align: right; margin-right: 5px; float: left}
.help .shortcut {display: inline-block; width: 175px; color: #888888; margin-left: 5px; float: left}

38
lib/help.php Normal file
View File

@@ -0,0 +1,38 @@
<?php include("settings.php");?>
<!DOCTYPE html>
<html>
<head>
<title>ICE Coder - <?php echo $versionNo;?> :: Help & Shortcuts</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="help.css">
</head>
<body class="help">
<h1 id="title">help</h1>
<h2>In file manager</h2>
<span class="key">Delete</span> <span class="shortcut">Delete file</span><br><br>
<h2>Within document</h2>
<span class="key">CTRL+I</span> <span class="shortcut">Search selected text</span><br>
<span class="key">Esc</span> <span class="shortcut">Comment/uncomment text</span><br>
<span class="key">Tab</span> <span class="shortcut">Insert tab/indent selected text</span><br><br>
<h2>Anywhere</h2>
<span class="key">CTRL+F</span> <span class="shortcut">Find</span><br>
<span class="key">CTRL+G</span> <span class="shortcut">Go to line</span><br>
<span class="key">CTRL+S</span> <span class="shortcut">Save</span><br>
<span class="key">CTRL+Shift+S</span> <span class="shortcut">Save as...</span><br>
<span class="key">CTRL+Enter</span> <span class="shortcut">View webpage</span><br>
<span class="key">CTRL+S+Enter</span> <span class="shortcut">Save & create sticky tab</span><br>
<span class="key">Esc</span> <span class="shortcut">Cancel tasks</span><br><br>
<h2>Clicking logo</h2>
<span class="key">Left click</span> <span class="shortcut">Help</span><br>
<span class="key">Right click</span> <span class="shortcut">Settings</span><br>
</body>
</html>