-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathindex.html
71 lines (61 loc) · 2.43 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!-- index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Eclipse and IntelliJ Shortcuts</title>
<!-- CSS -->
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootswatch/3.2.0/sandstone/bootstrap.min.css">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css">
<link rel="stylesheet" href="app.css">
<style>
body { padding-top:50px; }
</style>
<!-- JS -->
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js"></script>
<script src="//code.angularjs.org/1.3.10/angular-sanitize.js"></script>
<script src="//cdn.jsdelivr.net/ngstorage/0.3.6/ngStorage.min.js"></script>
<script src="app.js"></script>
</head>
<body>
<div class="container" ng-app="ideShortcuts" ng-controller="mainController">
<div class="toc">
<ul ng-repeat="table in shortcutTables">
<li><a href="#{{ table.shortcutScope }}">{{ table.shortcutScope }}</a></li>
</ul>
</div>
<div class="form-group">
<div class="input-group">
<div class="input-group-addon"><i class="fa fa-search" ng-hide="search"></i><i class="fa fa-times ng-cloak" ng-show="search" ng-click="search=''"></i></div>
<input name="searchField" autofocus type="text" class="form-control" placeholder="Text or Shortcut"
ng-model="search" ng-keydown="onKeyDown($event)">
</div>
</div>
<!--<button ng-click="reset()">reset</button>-->
<!--<button ng-click="clear()">clear</button>-->
<table class="table table-bordered table-striped">
<thead>
<tr>
<td>
Eclipse
</td>
<td>
IntelliJ
</td>
<td>
Description
</td>
</tr>
</thead>
<tbody ng-repeat="table in shortcutTables">
<tr id="{{table.shortcutScope}}"><td><strong>{{ table.shortcutScope }}</strong></td><td></td><td></td></tr>
<tr ng-repeat="shortcut in table.shortcuts | filter:search">
<td><span ng-bind-html="shortcut.eclipse | highlight:search"></span></td>
<td><span ng-bind-html="shortcut.intellij | highlight:search"></span></td>
<td><span ng-bind-html="shortcut.description | highlight:search"></span></td>
</tr>
</tbody>
</table>
</div>
</body>
</html>