Files
impala/www/metrics.tmpl
Tim Armstrong b14848151b IMPALA-8879: upgrade bootstrap for debug page to 4.3.1
Also upgrade DataTables to 1.10.18 at the same time..

They were obtained from https://datatables.net/download/
and https://getbootstrap.com/docs/4.3/getting-started/download/.

Included the version number in the css and js filenames to
avoid potential issues with stale versions being cached
(I got tripped up by this).

I had to do some additional work to get the UI to look right
after the upgrade:
* added additional style classes to HTML elements for nav and
  breadcrumb styles - these are required in bootstrap 4.
* added styling for plan visualisation graph for it to
  appear similar to the old graph.
* Added styling for <pre> to get box around text.

Testing:
Manually clicked through the web UI to see if anything looked
wrong or didn't function correctly.

Change-Id: Ib58f407574f590825d208424a8c0fd101b0a19a7
Reviewed-on: http://gerrit.cloudera.org:8080/14119
Reviewed-by: Tim Armstrong <tarmstrong@cloudera.com>
Reviewed-by: Quanlong Huang <huangquanlong@gmail.com>
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
2019-08-31 21:58:31 +00:00

37 lines
1.1 KiB
Cheetah

<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
{{>www/common-header.tmpl}}
{{^error}}
<h2>Metrics</h2>
{{#metric_group}}
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="#{{name}}">{{name}}</a></li>
{{#child_groups}} {{>www/all_child_groups.tmpl}} {{/child_groups}}
</ol>
{{/metric_group}}
{{#metric_group}}
{{>www/metric_group.tmpl}}
{{/metric_group}}
{{/error}}
{{>www/common-footer.tmpl}}