From 536674308f1ebe0c19017fc809592da817fd0dbb Mon Sep 17 00:00:00 2001 From: 1ambda <1amb4a@gmail.com> Date: Fri, 10 Mar 2017 16:24:12 +0900 Subject: [PATCH] fix: Use uppercase for shortcut desc --- .../notebook/paragraph/paragraph-control.html | 30 ++++++------- .../modal-shortcut/modal-shortcut.html | 42 +++++++++---------- 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/zeppelin-web/src/app/notebook/paragraph/paragraph-control.html b/zeppelin-web/src/app/notebook/paragraph/paragraph-control.html index 3f75a16f9e..396eb96306 100644 --- a/zeppelin-web/src/app/notebook/paragraph/paragraph-control.html +++ b/zeppelin-web/src/app/notebook/paragraph/paragraph-control.html @@ -48,7 +48,7 @@ limitations under the License. ng-click="runParagraphFromButton(getEditorValue())" ng-show="paragraph.status!='RUNNING' && paragraph.status!='PENDING' && paragraph.config.enabled"> @@ -66,10 +66,10 @@ limitations under the License.
  • Move up - Ctrl+{{ isMac ? 'Option' : 'Alt'}}+k + Ctrl+{{ isMac ? 'Option' : 'Alt'}}+K
  • Move down - Ctrl+{{ isMac ? 'Option' : 'Alt'}}+j + Ctrl+{{ isMac ? 'Option' : 'Alt'}}+J
  • Insert new - Ctrl+{{ isMac ? 'Option' : 'Alt'}}+b + Ctrl+{{ isMac ? 'Option' : 'Alt'}}+B
  • Clone paragraph - Ctrl+Shift+c + Ctrl+Shift+C
  • Hide title - Ctrl+{{ isMac ? 'Option' : 'Alt'}}+t + Ctrl+ {{ isMac ? 'Option' : 'Alt'}} +T Show title - Ctrl+{{ isMac ? 'Option' : 'Alt'}}+t + Ctrl+{{ isMac ? 'Option' : 'Alt'}}+T
  • Hide line numbers - Ctrl+{{ isMac ? 'Option' : 'Alt'}}+m + Ctrl+{{ isMac ? 'Option' : 'Alt'}}+M Show line numbers - Ctrl+{{ isMac ? 'Option' : 'Alt'}}+m + Ctrl+{{ isMac ? 'Option' : 'Alt'}}+M
  • {{paragraph.config.enabled ? "Disable" : "Enable"}} run - Ctrl+{{ isMac ? 'Option' : 'Alt'}}+r + Ctrl+ {{ isMac ? 'Option' : 'Alt'}}+R
  • Link this paragraph - Ctrl+{{ isMac ? 'Option' : 'Alt'}}+w + Ctrl+{{ isMac ? 'Option' : 'Alt'}}+W
  • Clear output - Ctrl+{{ isMac ? 'Option' : 'Alt'}}+l + Ctrl+{{ isMac ? 'Option' : 'Alt'}}+L
  • Remove - Ctrl+{{ isMac ? 'Option' : 'Alt'}}+d + Ctrl+{{ isMac ? 'Option' : 'Alt'}}+D
  • diff --git a/zeppelin-web/src/components/modal-shortcut/modal-shortcut.html b/zeppelin-web/src/components/modal-shortcut/modal-shortcut.html index bc64906524..209a2e0552 100644 --- a/zeppelin-web/src/components/modal-shortcut/modal-shortcut.html +++ b/zeppelin-web/src/components/modal-shortcut/modal-shortcut.html @@ -37,7 +37,7 @@ limitations under the License.
    - Ctrl + {{ isMac ? 'Option' : 'Alt'}} + c + Ctrl + {{ isMac ? 'Option' : 'Alt'}} + C
    @@ -48,7 +48,7 @@ limitations under the License.
    - Ctrl + p + Ctrl + P
    @@ -59,7 +59,7 @@ limitations under the License.
    - Ctrl + n + Ctrl + N
    @@ -70,7 +70,7 @@ limitations under the License.
    - Ctrl + {{ isMac ? 'Option' : 'Alt'}} + d + Ctrl + {{ isMac ? 'Option' : 'Alt'}} + D
    @@ -81,7 +81,7 @@ limitations under the License.
    - Ctrl + {{ isMac ? 'Option' : 'Alt'}} + a + Ctrl + {{ isMac ? 'Option' : 'Alt'}} + A
    @@ -92,7 +92,7 @@ limitations under the License.
    - Ctrl + {{ isMac ? 'Option' : 'Alt'}} + b + Ctrl + {{ isMac ? 'Option' : 'Alt'}} + B
    @@ -103,7 +103,7 @@ limitations under the License.
    - Ctrl + Shift + c + Ctrl + Shift + C
    @@ -114,7 +114,7 @@ limitations under the License.
    - Ctrl + {{ isMac ? 'Option' : 'Alt'}} + k + Ctrl + {{ isMac ? 'Option' : 'Alt'}} + K
    @@ -125,7 +125,7 @@ limitations under the License.
    - Ctrl + {{ isMac ? 'Option' : 'Alt'}} + j + Ctrl + {{ isMac ? 'Option' : 'Alt'}} + J
    @@ -136,7 +136,7 @@ limitations under the License.
    - Ctrl + {{ isMac ? 'Option' : 'Alt' }} + r + Ctrl + {{ isMac ? 'Option' : 'Alt' }} + R
    @@ -147,7 +147,7 @@ limitations under the License.
    - Ctrl + {{ isMac ? 'Option' : 'Alt'}} + o + Ctrl + {{ isMac ? 'Option' : 'Alt'}} + O
    @@ -158,7 +158,7 @@ limitations under the License.
    - Ctrl + {{ isMac ? 'Option' : 'Alt'}} + e + Ctrl + {{ isMac ? 'Option' : 'Alt'}} + E
    @@ -169,7 +169,7 @@ limitations under the License.
    - Ctrl + {{ isMac ? 'Option' : 'Alt'}} + m + Ctrl + {{ isMac ? 'Option' : 'Alt'}} + M
    @@ -180,7 +180,7 @@ limitations under the License.
    - Ctrl + {{ isMac ? 'Option' : 'Alt'}} + t + Ctrl + {{ isMac ? 'Option' : 'Alt'}} + T
    @@ -191,7 +191,7 @@ limitations under the License.
    - Ctrl + {{ isMac ? 'Option' : 'Alt'}} + l + Ctrl + {{ isMac ? 'Option' : 'Alt'}} + L
    @@ -202,7 +202,7 @@ limitations under the License.
    - Ctrl + {{ isMac ? 'Option' : 'Alt'}} + w + Ctrl + {{ isMac ? 'Option' : 'Alt'}} + W
    @@ -250,7 +250,7 @@ limitations under the License.
    - Ctrl + k + Ctrl + K
    @@ -261,7 +261,7 @@ limitations under the License.
    - Ctrl + y + Ctrl + Y
    @@ -272,7 +272,7 @@ limitations under the License.
    - Ctrl + s + Ctrl + S
    @@ -283,7 +283,7 @@ limitations under the License.
    - Ctrl + a + Ctrl + A
    @@ -294,7 +294,7 @@ limitations under the License.
    - Ctrl + e + Ctrl + E