Skip to content

Commit

Permalink
HBASE-26943 HMaster page style display confusion (#4369)
Browse files Browse the repository at this point in the history
Signed-off-by: Yu Li <liyu@apache.org>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
  • Loading branch information
2005hithlj authored and carp84 committed Apr 29, 2022
1 parent 3090848 commit e9c9418
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ private void sendError(HttpServletResponse response, int code, String message)
}

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>"
+ "<center>\n" + "<table class='table' style='border: 0;' width='95%' >\n" + "<tr>\n"
+ "<form>\n" + "<td class='centered'>\n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ AssignmentManager assignmentManager = master.getAssignmentManager();

<div class="container-fluid content">
<%if master.isActiveMaster() %>
<div class="row inner_header">
<div class="row inner_header top_header">
<div class="page-header">
<h1>Master <small><% master.getServerName().getHostname() %></small></h1>
</div>
Expand Down
4 changes: 2 additions & 2 deletions hbase-server/src/main/resources/hbase-webapps/master/hbck.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@

<div class="container-fluid content">
<% if (!master.isInitialized()) { %>
<div class="row">
<div class="row top_header">
<div class="page-header">
<h1>Master is not initialized</h1>
</div>
</div>
<jsp:include page="redirect.jsp" />
<% } else { %>

<div class="row">
<div class="row top_header">
<div class="page-header">
<p><span>This page displays two reports: the <em>HBCK Chore Report</em> and
the <em>CatalogJanitor Consistency Issues</em> report. Only report titles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@


<div class="container-fluid content">
<div class="row">
<div class="row top_header">
<div class="page-header">
<h2>Operations Details</h2>
<p>HBase uses some fixed-size ring buffers to maintain rolling window history of specific server-side operation details.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
</jsp:include>

<div class="container-fluid content">
<div class="row">
<div class="row top_header">
<div class="page-header">
<h1>Procedure Time Statistics</h1>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pageContext.setAttribute("pageTitle", "Process info for PID: " + JSONMetricUtil.
</jsp:include>

<div class="container-fluid content">
<div class="row">
<div class="row top_header">
<div class="page-header">
<h1><%= JSONMetricUtil.getCommmand().split(" ")[0] %></h1>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</jsp:include>

<div class="container-fluid content">
<div class="row inner_header">
<div class="row inner_header top_header">
<div class="page-header">
<h1>User Tables</h1>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ table#userTables td:nth-child(-n+11) {
overflow-wrap: normal;
}

.top_header { margin-top: 1.5em; }

/* Region Server page styling */

/* striped tables styling */
Expand Down

0 comments on commit e9c9418

Please sign in to comment.