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")%> <%if format.equals("json")%>
<& renderTasks; filter=filter &> <& renderTasks; filter=filter &>
<%else> <%else>
<h2>Tasks</h2> <h2><a name="tasks">Tasks</a></h2>
<div class="tabbable"> <div class="tabbable">
<ul class="nav nav-pills"> <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); int numOfPages = (int) Math.ceil(numOfRITs * 1.0 / ritsPerPage);
</%java> </%java>
<section> <section>
<h2>Regions in Transition</h2> <h2><a name="rit">Regions in Transition</a></h2>
<p><% numOfRITs %> region(s) in transition. <p><% numOfRITs %> region(s) in transition.
<%if ritStat.hasRegionsTwiceOverThreshold() %> <%if ritStat.hasRegionsTwiceOverThreshold() %>
<span class="label label-danger" style="font-size:100%;font-weight:normal"> <span class="label label-danger" style="font-size:100%;font-weight:normal">

View File

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