HBASE-21280 Add anchors for each heading in UI

Signed-off-by: Ted Yu <tedyu@apache.org>
This commit is contained in:
Michael Stack 2018-10-09 06:06:26 -07:00
parent c9213f752e
commit 7c755bf06e
3 changed files with 7 additions and 7 deletions

View File

@ -30,7 +30,7 @@ String format = "html";
<%if format.equals("json")%>
<& renderTasks; filter=filter &>
<%else>
<h2>Tasks</h2>
<h2><a name="tasks">Tasks</a></h2>
<div class="tabbable">
<ul class="nav nav-pills">

View File

@ -49,7 +49,7 @@ int ritsPerPage = Math.min(5, numOfRITs);
int numOfPages = (int) Math.ceil(numOfRITs * 1.0 / ritsPerPage);
</%java>
<section>
<h2>Regions in Transition</h2>
<h2><a name="rit">Regions in Transition</a></h2>
<p><% numOfRITs %> region(s) in transition.
<%if ritStat.hasRegionsTwiceOverThreshold() %>
<span class="label label-danger" style="font-size:100%;font-weight:normal">

View File

@ -217,12 +217,12 @@ AssignmentManager assignmentManager = master.getAssignmentManager();
</%if>
<%if master.getMasterCoprocessorHost().findCoprocessor("RSGroupAdminEndpoint") != null %>
<section>
<h2>RSGroup</h2>
<h2><a name="rsgroup">RSGroup</a></h2>
<& RSGroupListTmpl; master= master; serverManager= serverManager&>
</section>
</%if>
<section>
<h2>Region Servers</h2>
<h2><a name="regionservers">Region Servers</a></h2>
<& RegionServerListTmpl; master= master; servers = servers &>
<%if (deadServers != null) %>
@ -233,7 +233,7 @@ AssignmentManager assignmentManager = master.getAssignmentManager();
<& BackupMasterStatusTmpl; master = master &>
</section>
<section>
<h2>Tables</h2>
<h2><a name="tables">Tables</a></h2>
<div class="tabbable">
<ul class="nav nav-pills">
<li class="active">
@ -264,7 +264,7 @@ AssignmentManager assignmentManager = master.getAssignmentManager();
</div>
</section>
<section>
<h2>Peers</h2>
<h2><a name="peers">Peers</a></h2>
<& peerConfigs &>
</section>
<%if master.getAssignmentManager() != null %>
@ -282,7 +282,7 @@ AssignmentManager assignmentManager = master.getAssignmentManager();
</section>
<section>
<h2>Software Attributes</h2>
<h2><a name="attributes">Software Attributes</a></h2>
<table id="attributes_table" class="table table-striped">
<tr>
<th>Attribute Name</th>