HBASE-9077 Make Web ui Fluid width

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1511533 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
eclark 2013-08-07 23:19:08 +00:00
parent d88cfcae75
commit d3ddc7cc0b
6 changed files with 36 additions and 40 deletions

View File

@ -107,7 +107,7 @@ AssignmentManager assignmentManager = master.getAssignmentManager();
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
@ -131,15 +131,15 @@ AssignmentManager assignmentManager = master.getAssignmentManager();
</div>
</div>
<div class="container">
<div class="container-fluid">
<%if master.isActiveMaster() %>
<div class="row inner_header">
<div class="row-fluid inner_header">
<div class="page-header">
<h1>Master <small><% master.getServerName().getHostname() %> </small></h1>
</div>
</div>
<div class="row">
<div class="row-fluid">
<!-- Various warnings that cluster admins should be aware of -->
<%if JvmVersion.isBadJvmVersion() %>
<div class="alert alert-error">

View File

@ -65,7 +65,7 @@ org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad;
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
@ -88,13 +88,13 @@ org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoad;
</div>
</div>
<div class="container">
<div class="row inner_header">
<div class="container-fluid">
<div class="row-fluid inner_header">
<div class="page-header">
<h1>RegionServer <small><% serverName.getHostname() %></small></h1>
</div>
</div>
<div class="row">
<div class="row-fluid">
<section>
<h2>Server Metrics</h2>

View File

@ -82,7 +82,7 @@
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
@ -102,16 +102,14 @@
</div>
</div>
</div>
<div class="container">
<div class="container-fluid">
<div class="container">
<div class="row inner_header">
<div class="row-fluid inner_header">
<div class="page-header">
<h1>Table action request accepted</h1>
</div>
</div>
</div>
<p><hr><p>
<%
if (action.equals("split")) {
@ -157,7 +155,7 @@
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
@ -176,17 +174,16 @@
</div>
</div>
</div>
<div class="container">
<div class="container-fluid">
<div class="container">
<div class="row inner_header">
<div class="page-header">
<h1>Table <small><%= tableName %></small></h1>
</div>
<div class="row-fluid inner_header">
<div class="page-header">
<h1>Table <small><%= tableName %></small></h1>
</div>
</div>
<div class="row">
<div class="row-fluid">
<%
if(tableName.equals(Bytes.toString(HConstants.META_TABLE_NAME))) {
%>
@ -306,11 +303,11 @@ HConnectionManager.deleteConnection(hbadmin.getConfiguration());
<% if (!readOnly) { %>
<p><hr><p>
<p><hr/></p>
Actions:
<p>
<center>
<table class="table" width="90%" >
<table class="table" width="95%" >
<tr>
<form method="get">
<input type="hidden" name="action" value="compact">
@ -341,7 +338,7 @@ Actions:
</tr>
</table>
</center>
<p>
</p>
</div>
</div>
<% } %>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
@ -74,8 +74,8 @@
</div>
</div>
<div class="container">
<div class="row inner_header">
<div class="container-fluid">
<div class="row-fluid inner_header">
<div class="page-header">
<h1>User Tables</h1>
</div>

View File

@ -57,7 +57,7 @@
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
@ -77,13 +77,13 @@
</div>
</div>
<div class="container">
<div class="row inner_header">
<div class="container-fluid">
<div class="row-fluid inner_header">
<div class="page-header">
<h1>Zookeeper Dump</h1>
</div>
</div>
<div class="row">
<div class="row-fluid">
<div class="span12">
<pre><%= ZKUtil.dump(watcher).trim() %></pre>
</div>

View File

@ -56,7 +56,7 @@ String framed = conf.get("hbase.regionserver.thrift.framed", "false");
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
@ -78,13 +78,13 @@ String framed = conf.get("hbase.regionserver.thrift.framed", "false");
</div>
</div>
<div class="container">
<div class="row inner_header">
<div class="container-fluid">
<div class="row-fluid inner_header">
<div class="page-header">
<h1>ThriftServer <small><%= listenPort %></small></h1>
</div>
</div>
<div class="row">
<div class="row-fluid">
<section>
<h2>Software Attributes</h2>
@ -127,11 +127,10 @@ String framed = conf.get("hbase.regionserver.thrift.framed", "false");
</table>
</section>
</div>
<div class="row">
<section>
<a href="http://wiki.apache.org/hadoop/Hbase/ThriftApi">Apache HBase Wiki on Thrift</a>
</section>
<div class="row-fluid">
<section>
<a href="http://wiki.apache.org/hadoop/Hbase/ThriftApi">Apache HBase Wiki on Thrift</a>
</section>
</div>
</div>
<script src="/static/js/jquery.min.js" type="text/javascript"></script>