File tree Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ coverage.index_ready = function ($) {
95
95
} ) ;
96
96
97
97
coverage . assign_shortkeys ( ) ;
98
+ coverage . wire_up_help_panel ( ) ;
98
99
99
100
// Watch for page unload events so we can save the final sort settings:
100
101
$ ( window ) . unload ( function ( ) {
Original file line number Diff line number Diff line change 19
19
< h1 > Coverage report:
20
20
< span class ='pc_cov '> {{totals.pc_covered_str}}%</ span >
21
21
</ h1 >
22
+ < img id ='keyboard_icon ' src ='keybd_closed.png '>
23
+ </ div >
24
+ </ div >
25
+
26
+ < div class ='help_panel '>
27
+ < img id ='panel_icon ' src ='keybd_open.png '>
28
+ < p class ='legend '> Hot-keys on this page</ p >
29
+ < div >
30
+ < p class ='keyhelp '>
31
+ < span class ='key '> n</ span >
32
+ < span class ='key '> s</ span >
33
+ < span class ='key '> m</ span >
34
+ < span class ='key '> x</ span >
35
+ {% if arcs %}
36
+ < span class ='key '> b</ span >
37
+ < span class ='key '> p</ span >
38
+ {% endif %}
39
+ < span class ='key '> c</ span > change column sorting
40
+ </ p >
22
41
</ div >
23
42
</ div >
24
43
Original file line number Diff line number Diff line change @@ -114,6 +114,13 @@ h2.stats {
114
114
padding : .5em ;
115
115
border : 1px solid # 883 ;
116
116
display : none;
117
+ }
118
+
119
+ # indexfile .help_panel {
120
+ width : 20em ; height : 4em ;
121
+ }
122
+
123
+ # pyfile .help_panel {
117
124
width : 16em ; height : 8em ;
118
125
}
119
126
You can’t perform that action at this time.
0 commit comments