mirror of
https://github.com/apache/impala.git
synced 2025-12-19 09:58:28 -05:00
After upgrading Bootstrap to 4.3.1 in the previous patch, the query page no longer highlights which tab is being used. This is due to the removal of ".nav-tabs > li.active > a" in bootstrap.css. So li elements in "active" class no longer has additional styles. Instead, the styles of "active" class is moved into to "nav-link" class in Bootstrap 4. We should add the "active" class in the "nav-link" elements instead. Tests: - Manually click throught all tabs to check the active state Change-Id: I5c746bc4f49b30df54bd3c73ac6f1cf838260c65 Reviewed-on: http://gerrit.cloudera.org:8080/14582 Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
32 lines
1.1 KiB
Cheetah
32 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.
|
|
-->
|
|
|
|
<h2>Threads</h2>
|
|
|
|
<ul class="nav nav-tabs">
|
|
<li class="navbar-item" role="presentation">
|
|
<a class="nav-link" id="overview-tab" href="{{ __common__.host-url }}/threadz">Overview</a>
|
|
</li>
|
|
{{?jvm-threads}}
|
|
<li class="navbar-item" role="presentation">
|
|
<a class="nav-link" id="jvm-tab" href="{{ __common__.host-url }}/jvm-threadz">JVM</a>
|
|
</li>
|
|
{{/jvm-threads}}
|
|
</ul>
|