summaryrefslogtreecommitdiffstats
path: root/client/components/main/keyboardShortcuts.jade
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-12-08 16:05:59 -0500
committerMaxime Quandalle <maxime@quandalle.com>2015-12-09 19:10:26 -0500
commit71b9a42f00d8871bb09944ec80979c61ad84e655 (patch)
tree4ede6eaaea591a0b1c797498a6a8daaaa6cac489 /client/components/main/keyboardShortcuts.jade
parent3b2eb0ffa12a0b3cc2eaa0a1e26ed6532e3f5d93 (diff)
downloadwekan-71b9a42f00d8871bb09944ec80979c61ad84e655.tar.gz
wekan-71b9a42f00d8871bb09944ec80979c61ad84e655.tar.bz2
wekan-71b9a42f00d8871bb09944ec80979c61ad84e655.zip
Allow the header bar customization
This commit also provide a way to escape the Shorcuts page on Sandstorm.
Diffstat (limited to 'client/components/main/keyboardShortcuts.jade')
-rw-r--r--client/components/main/keyboardShortcuts.jade19
1 files changed, 19 insertions, 0 deletions
diff --git a/client/components/main/keyboardShortcuts.jade b/client/components/main/keyboardShortcuts.jade
new file mode 100644
index 00000000..bde40819
--- /dev/null
+++ b/client/components/main/keyboardShortcuts.jade
@@ -0,0 +1,19 @@
+template(name="shortcutsHeaderBar")
+ h1
+ a.back-btn(href="{{pathFor 'home'}}")
+ i.fa.fa-chevron-left
+ | {{_ 'keyboard-shortcuts'}}
+
+template(name="shortcutsModalTitle")
+ h2
+ i.fa.fa-keyboard-o
+ | {{_ 'keyboard-shortcuts'}}
+
+template(name="keyboardShortcuts")
+ .wrapper.shortcuts-list
+ each mapping
+ .shortcuts-list-item
+ .shortcuts-list-item-keys
+ each keys
+ kbd= this
+ .shortcuts-list-item-action {{_ action}}