mirror of
https://github.com/grafana/grafana.git
synced 2025-01-17 12:03:26 -06:00
49 lines
1.5 KiB
HTML
49 lines
1.5 KiB
HTML
<div class="modal-body">
|
|
<div class="modal-header">
|
|
<h2 class="modal-header-title">
|
|
<i class="fa fa-keyboard"></i>
|
|
<span class="p-l-1">Shortcuts</span>
|
|
</h2>
|
|
|
|
<!-- <ul class="gf-tabs"> -->
|
|
<!-- <li class="gf-tabs-item" ng-repeat="tab in ['Shortcuts']"> -->
|
|
<!-- <a class="gf-tabs-link" ng-click="ctrl.tabindex = $index" ng-class="{active: ctrl.tabIndex === $index}"> -->
|
|
<!-- {{::tab}} -->
|
|
<!-- </a> -->
|
|
<!-- </li> -->
|
|
<!-- </ul> -->
|
|
|
|
<a class="modal-header-close" ng-click="ctrl.dismiss();">
|
|
<i class="fa fa-remove"></i>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="modal-content help-modal">
|
|
|
|
<p class="small" style="position: absolute; top: 48px; right: 10px">
|
|
<span class="shortcut-table-key">mod</span> =
|
|
<span class="muted">CTRL on windows or linux and CMD key on Mac</span>
|
|
</p>
|
|
|
|
<div ng-repeat="(category, shortcuts) in ctrl.shortcuts" class="shortcut-category">
|
|
<table class="shortcut-table">
|
|
<tbody>
|
|
<tr>
|
|
<th class="shortcut-table-category-header" colspan="2">{{category}}</th>
|
|
</tr>
|
|
<tr ng-repeat="shortcut in shortcuts">
|
|
<td class="shortcut-table-keys">
|
|
<span class="shortcut-table-key" ng-repeat="key in shortcut.keys track by $index" ng-bind-html="key">
|
|
</span>
|
|
</td>
|
|
<td class="shortcut-table-description">{{shortcut.description}}</td>
|
|
</tr>
|
|
<tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
|
</div>
|
|
|
|
</div>
|