1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 05:55:55 +00:00

update hotkey help dialog a bit

This commit is contained in:
Andrew Dolgov
2018-12-10 08:37:24 +03:00
parent ad6ae725d8
commit 96fccefa62
6 changed files with 38 additions and 49 deletions

View File

@@ -31,12 +31,13 @@ class Backend extends Handler {
__("Other interface tips are available in the Tiny Tiny RSS wiki.") .
"</a>");
print "<ul class='helpKbList' id='helpKbList'>";
print "<ul class='panel panel-scrollable hotkeys-help' style='height : 300px'>";
print "<h2>" . __("Keyboard Shortcuts") . "</h2>";
foreach ($info as $section => $hotkeys) {
print "<li><hr></li>";
print "<li><h3>" . $section . "</h3></li>";
foreach ($hotkeys as $action => $description) {
@@ -72,8 +73,8 @@ class Backend extends Handler {
}
print "<li>";
print "<span class='hksequence'>$sequence</span>";
print $description;
print "<div class='hk'><code>$sequence</code></div>";
print "<div class='desc'>$description</div>";
print "</li>";
}
}