aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/core/hotkeys/hotkeys.component.html
blob: 61f03be33e5ef87fb55403494e97c1512fb9c36f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<div class="cfp-hotkeys-container fade" [ngClass]="{'in': helpVisible}">
  <div class="cfp-hotkeys">
    <h4 class="cfp-hotkeys-title">{{ title }}</h4>
    <div class="cfp-hotkeys-table">
      <table>
        <tbody>
          <tr *ngFor="let hotkey of hotkeys">
            <td class="cfp-hotkeys-keys">
              <span *ngFor="let key of hotkey.formatted" class="cfp-hotkeys-key">{{ key }}</span>
            </td>
            <td class="cfp-hotkeys-text">{{ hotkey.description }}</td>
          </tr>
        </tbody>
      </table>
    </div>
    <div class="cfp-hotkeys-close" (click)="toggleCheatSheet()">&#215;</div>
  </div>
</div>