HBASE-26943 HMaster page style display confusion (#4369)

Signed-off-by: Yu Li <liyu@apache.org>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
This commit is contained in:
LiangJun He 2022-04-25 19:18:04 +08:00 committed by Yu Li
parent 23971b2861
commit 7d5bf1c4f2
8 changed files with 10 additions and 8 deletions

View File

@ -396,7 +396,7 @@ public final class LogLevel {
} }
static final String FORMS = "<div class='container-fluid content'>\n" static final String FORMS = "<div class='container-fluid content'>\n"
+ "<div class='row inner_header'>\n" + "<div class='page-header'>\n" + "<div class='row inner_header top_header'>\n" + "<div class='page-header'>\n"
+ "<h1>Get/Set Log Level</h1>\n" + "</div>\n" + "</div>\n" + "Actions:" + "<p>" + "<h1>Get/Set Log Level</h1>\n" + "</div>\n" + "</div>\n" + "Actions:" + "<p>"
+ "<center>\n" + "<table class='table' style='border: 0;' width='95%' >\n" + "<tr>\n" + "<center>\n" + "<table class='table' style='border: 0;' width='95%' >\n" + "<tr>\n"
+ "<form>\n" + "<td class='centered'>\n" + "<form>\n" + "<td class='centered'>\n"

View File

@ -174,7 +174,7 @@ AssignmentManager assignmentManager = master.getAssignmentManager();
<div class="container-fluid content"> <div class="container-fluid content">
<%if master.isActiveMaster() %> <%if master.isActiveMaster() %>
<div class="row inner_header"> <div class="row inner_header top_header">
<div class="page-header"> <div class="page-header">
<h1>Master <small><% master.getServerName().getHostname() %></small></h1> <h1>Master <small><% master.getServerName().getHostname() %></small></h1>
</div> </div>

View File

@ -83,7 +83,7 @@
<div class="container-fluid content"> <div class="container-fluid content">
<% if (!master.isInitialized()) { %> <% if (!master.isInitialized()) { %>
<div class="row"> <div class="row top_header">
<div class="page-header"> <div class="page-header">
<h1>Master is not initialized</h1> <h1>Master is not initialized</h1>
</div> </div>
@ -91,7 +91,7 @@
<jsp:include page="redirect.jsp" /> <jsp:include page="redirect.jsp" />
<% } else { %> <% } else { %>
<div class="row"> <div class="row top_header">
<div class="page-header"> <div class="page-header">
<p><span>This page displays two reports: the <em>HBCK Chore Report</em> and <p><span>This page displays two reports: the <em>HBCK Chore Report</em> and
the <em>CatalogJanitor Consistency Issues</em> report. Only report titles the <em>CatalogJanitor Consistency Issues</em> report. Only report titles

View File

@ -49,7 +49,7 @@
<div class="container-fluid content"> <div class="container-fluid content">
<div class="row"> <div class="row top_header">
<div class="page-header"> <div class="page-header">
<h2>Operations Details</h2> <h2>Operations Details</h2>
<p>HBase uses some fixed-size ring buffers to maintain rolling window history of specific server-side operation details. <p>HBase uses some fixed-size ring buffers to maintain rolling window history of specific server-side operation details.

View File

@ -68,7 +68,7 @@
</jsp:include> </jsp:include>
<div class="container-fluid content"> <div class="container-fluid content">
<div class="row"> <div class="row top_header">
<div class="page-header"> <div class="page-header">
<h1>Procedure Time Statistics</h1> <h1>Procedure Time Statistics</h1>
</div> </div>

View File

@ -49,7 +49,7 @@ pageContext.setAttribute("pageTitle", "Process info for PID: " + JSONMetricUtil.
</jsp:include> </jsp:include>
<div class="container-fluid content"> <div class="container-fluid content">
<div class="row"> <div class="row top_header">
<div class="page-header"> <div class="page-header">
<h1><%= JSONMetricUtil.getCommmand().split(" ")[0] %></h1> <h1><%= JSONMetricUtil.getCommmand().split(" ")[0] %></h1>
</div> </div>

View File

@ -36,7 +36,7 @@
</jsp:include> </jsp:include>
<div class="container-fluid content"> <div class="container-fluid content">
<div class="row inner_header"> <div class="row inner_header top_header">
<div class="page-header"> <div class="page-header">
<h1>User Tables</h1> <h1>User Tables</h1>
</div> </div>

View File

@ -49,6 +49,8 @@ table#userTables td:nth-child(-n+11) {
overflow-wrap: normal; overflow-wrap: normal;
} }
.top_header { margin-top: 1.5em; }
/* Region Server page styling */ /* Region Server page styling */
/* striped tables styling */ /* striped tables styling */