OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <!-- Copyright 2014 The Swarming Authors. All rights reserved. | 3 <!-- Copyright 2014 The Swarming Authors. All rights reserved. |
4 Use of this source code is governed by the Apache v2.0 license that can be | 4 Use of this source code is governed by the Apache v2.0 license that can be |
5 found in the LICENSE file. --> | 5 found in the LICENSE file. --> |
6 <head> | 6 <head> |
7 <meta http-equiv="Content-type" content="text/html; charset=UTF-8"> | 7 <meta http-equiv="Content-type" content="text/html; charset=UTF-8"> |
8 <meta name="viewport" content="width=device-width, initial-scale=1.0"> | 8 <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
9 <title>{{app_name}} - {{page_title}}</title> | 9 <title>{{app_name}} - {{page_title}}</title> |
10 | 10 |
(...skipping 27 matching lines...) Expand all Loading... |
38 <!-- Template used by common.getAlertBoxHtml(...). --> | 38 <!-- Template used by common.getAlertBoxHtml(...). --> |
39 <script id="alert-box-template" type="text/x-handlebars-template"> | 39 <script id="alert-box-template" type="text/x-handlebars-template"> |
40 <div class="alert {{cls}} alert-dismissable"> | 40 <div class="alert {{cls}} alert-dismissable"> |
41 <button type="button" class="close" | 41 <button type="button" class="close" |
42 data-dismiss="alert" aria-hidden="true">×</button> | 42 data-dismiss="alert" aria-hidden="true">×</button> |
43 <strong>{{title}}</strong> {{message}} | 43 <strong>{{title}}</strong> {{message}} |
44 </div> | 44 </div> |
45 </script> | 45 </script> |
46 {% endraw %} | 46 {% endraw %} |
47 | 47 |
48 {# Used on auth_service if luci-config is managing configs #} | 48 {# Used on auth_service if config_service is managing configs #} |
49 {% macro render_config_locked() -%} | 49 {% macro render_config_locked() -%} |
50 <hr> | 50 <hr> |
51 <p> | 51 <p> |
52 This configuration is distributed by | 52 This configuration is distributed by |
53 <a target="_blank" href="{{auth_service_config_backend}}">luci-config</a> | 53 <a target="_blank" href="{{auth_service_config_backend}}">luci-config</a> |
54 from <a target="_blank" href="{{auth_service_config_url}}">these files</a>. | 54 from <a target="_blank" href="{{auth_service_config_url}}">these files</a>. |
55 Latest known revision is | 55 Latest known revision is |
56 <span style="font-family:monospace;">{{auth_service_config_rev}}</span>. | 56 <span style="font-family:monospace;">{{auth_service_config_rev}}</span>. |
57 </p> | 57 </p> |
58 {%- endmacro %} | 58 {%- endmacro %} |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 if (module.hasOwnProperty('onContentLoaded')) | 138 if (module.hasOwnProperty('onContentLoaded')) |
139 $(function() { module.onContentLoaded(); }); | 139 $(function() { module.onContentLoaded(); }); |
140 })(); | 140 })(); |
141 {% else %} | 141 {% else %} |
142 common.presentContent(); | 142 common.presentContent(); |
143 {% endif %} | 143 {% endif %} |
144 </script> | 144 </script> |
145 </body> | 145 </body> |
146 | 146 |
147 </html> | 147 </html> |
OLD | NEW |