Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1from deform.widget import ResourceRegistry 

2 

3 

4class CamcopsResourceRegistry(ResourceRegistry): 

5 def __init__(self, *args, **kwargs): 

6 super().__init__(*args, **kwargs) 

7 

8 self.set_js_resources( 

9 "jsoneditor", None, 

10 "camcops_server.static:jsoneditor/jsoneditor.min.js" 

11 ) 

12 

13 self.set_css_resources( 

14 "jsoneditor", 

15 None, 

16 "camcops_server.static:jsoneditor/jsoneditor.min.css", 

17 "camcops_server.static:jsoneditor/jsonwidget.css" 

18 )