|
15 | 15 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
16 | 16 | <meta name="robots" content="noindex, nofollow, noarchive"> |
17 | 17 |
|
18 | | -{% if nobootstrap is not defined %} |
| 18 | +{% if not (disable_bootstrap | default(false)) %} |
19 | 19 | <link rel="stylesheet" href="{{ internalstatic('vendor/bootstrap/bootstrap.min.css') }}"> |
20 | 20 | <script src="{{ internalstatic('vendor/bootstrap/bootstrap.bundle.min.js') }}"></script> |
21 | 21 | {% endif %} |
22 | 22 |
|
23 | 23 | <link rel="stylesheet" href="{{ internalstatic('style.css') }}"> |
24 | 24 |
|
25 | | -{% if nowebfonts is not defined %} |
| 25 | +{% if not (disable_uproot_fonts | default(false)) %} |
26 | 26 | <link rel="stylesheet" href="{{ internalstatic('webfonts.css') }}"> |
27 | | -{% if normalnums is not defined %} |
| 27 | +{% if not (disable_tabular_numbers | default(false)) %} |
28 | 28 | <link rel="stylesheet" href="{{ internalstatic('inter-tnum.css') }}"> |
29 | 29 | {% endif %} |
30 | 30 | {% endif %} |
31 | 31 |
|
32 | 32 | <script src="{{ internalstatic('uproot.js') }}"></script> |
33 | | -{% if noterms is not defined %} |
| 33 | +{% if not (disable_terms | default(false)) %} |
34 | 34 | <script src="{{ uproot_terms_url }}"></script> |
35 | 35 | {% endif %} |
36 | 36 | <script> |
37 | 37 | uproot.vars = {{ _uproot_js | tojson | safe }}; |
38 | 38 | window.C = uproot.vars._uproot_internal?.C; |
39 | 39 |
|
40 | | - {% if noautostart is not defined %} |
| 40 | + {% if not (disable_auto_start | default(false)) %} |
41 | 41 | uproot.onStart(() => { |
42 | | - {% if noconnectionlostmodal is not defined %} |
| 42 | + {% if not (disable_connection_lost_modal | default(false)) %} |
43 | 43 | // Enable Connection lost modal monitoring first (includes startup failsafe) |
44 | 44 | uproot.enableConnectionLostModal(); |
45 | 45 | {% endif %} |
@@ -138,7 +138,7 @@ <h5 class="modal-title"> |
138 | 138 | </div> |
139 | 139 | </div> |
140 | 140 |
|
141 | | -{% if noconnectionlostmodal is not defined %} |
| 141 | +{% if not (disable_connection_lost_modal | default(false)) %} |
142 | 142 | <div class="modal fade" id="connection-timeout-modal" tabindex="-1" aria-hidden="true" data-bs-backdrop="static" data-bs-keyboard="false" aria-modal="true" role="alertdialog"> |
143 | 143 | <div class="modal-dialog"> |
144 | 144 | <div class="modal-content"> |
|
0 commit comments