You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2013/07/09 02:43:58 UTC

[04/16] git commit: Reduce standard header size to

.

Reduce standard header size to <h3>.

Lots of <h2> on a single page draws too much attention to the headers.

From: Ross Allen <re...@gmail.com>
Review: https://reviews.apache.org/r/12282


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1afaa7a7
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/1afaa7a7
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/1afaa7a7

Branch: refs/heads/master
Commit: 1afaa7a755155321cc58454cfab380cf61f5af13
Parents: 6b6ce2e
Author: Benjamin Hindman <be...@twitter.com>
Authored: Mon Jul 8 17:40:30 2013 -0700
Committer: Benjamin Hindman <be...@twitter.com>
Committed: Mon Jul 8 17:40:30 2013 -0700

----------------------------------------------------------------------
 src/webui/master/static/framework.html       |  4 ++--
 src/webui/master/static/frameworks.html      |  2 +-
 src/webui/master/static/home.html            | 20 ++++++++++----------
 src/webui/master/static/index.html           |  2 +-
 src/webui/master/static/slave.html           |  8 ++++----
 src/webui/master/static/slave_executor.html  |  8 ++++----
 src/webui/master/static/slave_framework.html |  6 +++---
 src/webui/master/static/slaves.html          |  4 ++--
 8 files changed, 27 insertions(+), 27 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/1afaa7a7/src/webui/master/static/framework.html
----------------------------------------------------------------------
diff --git a/src/webui/master/static/framework.html b/src/webui/master/static/framework.html
index 544ce45..77c6455 100644
--- a/src/webui/master/static/framework.html
+++ b/src/webui/master/static/framework.html
@@ -52,7 +52,7 @@
   </div>
 
   <div class="span9">
-    <h2 id="frameworks">Active Tasks</h2>
+    <h3 id="frameworks">Active Tasks</h3>
     <table class="table table-striped table-bordered table-condensed">
       <thead>
         <tr>
@@ -88,7 +88,7 @@
       </tbody>
     </table>
 
-    <h2 id="frameworks">Completed Tasks</h2>
+    <h3 id="frameworks">Completed Tasks</h3>
     <table class="table table-striped table-bordered table-condensed">
       <thead>
         <tr>

http://git-wip-us.apache.org/repos/asf/mesos/blob/1afaa7a7/src/webui/master/static/frameworks.html
----------------------------------------------------------------------
diff --git a/src/webui/master/static/frameworks.html b/src/webui/master/static/frameworks.html
index 600a4ba..0e2c691 100644
--- a/src/webui/master/static/frameworks.html
+++ b/src/webui/master/static/frameworks.html
@@ -9,7 +9,7 @@
 
 <div class="row">
   <div class="span12">
-    <h2 id="frameworks">Active Frameworks</h2>
+    <h3 id="frameworks">Active Frameworks</h3>
     <table class="table table-striped table-bordered table-condensed">
       <thead>
         <tr>

http://git-wip-us.apache.org/repos/asf/mesos/blob/1afaa7a7/src/webui/master/static/home.html
----------------------------------------------------------------------
diff --git a/src/webui/master/static/home.html b/src/webui/master/static/home.html
index 5876213..3a13525 100644
--- a/src/webui/master/static/home.html
+++ b/src/webui/master/static/home.html
@@ -40,7 +40,7 @@
 
       <p><a href="" ng-click="log($event)">LOG</a></p>
 
-      <h2>Slaves</h2>
+      <h3>Slaves</h3>
       <table class="table table-condensed">
         <tbody>
           <tr>
@@ -54,7 +54,7 @@
         </tbody>
       </table>
 
-      <h2>Tasks</h2>
+      <h3>Tasks</h3>
       <table class="table table-condensed">
 
         <tbody>
@@ -85,7 +85,7 @@
         </tbody>
       </table>
 
-      <h2>Resources</h2>
+      <h3>Resources</h3>
       <table class="table table-condensed">
         <thead>
           <tr>
@@ -122,10 +122,10 @@
   </div>
 
   <div class="span9">
-    <h2>
+    <h3>
       Active Frameworks
       <small>(<a href="#/frameworks">see all</a>)</small>
-    </h2>
+    </h3>
     <table class="table table-striped table-bordered table-condensed">
       <thead>
         <tr>
@@ -194,10 +194,10 @@
       </tbody>
     </table>
 
-    <h2>
+    <h3>
       Active Slaves
       <small>(<a href="#/slaves">see all</a>)</small>
-    </h2>
+    </h3>
     <table class="table table-striped table-bordered table-condensed">
       <thead>
         <tr>
@@ -248,7 +248,7 @@
       </tr>
     </table>
 
-    <h2>Offers</h2>
+    <h3>Offers</h3>
     <table class="table table-striped table-bordered table-condensed">
       <thead>
         <tr>
@@ -291,7 +291,7 @@
       </tbody>
     </table>
 
-    <h2>Terminated Frameworks</h2>
+    <h3>Terminated Frameworks</h3>
     <table class="table table-striped table-bordered table-condensed">
       <thead>
         <tr>
@@ -339,4 +339,4 @@
     </table>
 
   </div>
-</div>
\ No newline at end of file
+</div>

http://git-wip-us.apache.org/repos/asf/mesos/blob/1afaa7a7/src/webui/master/static/index.html
----------------------------------------------------------------------
diff --git a/src/webui/master/static/index.html b/src/webui/master/static/index.html
index e8beb9c..23bb6b0 100644
--- a/src/webui/master/static/index.html
+++ b/src/webui/master/static/index.html
@@ -99,4 +99,4 @@
     <script src="/static/dashboard.js"></script>
     <script src="/static/popovers.js"></script>
   </body>
-</html>
\ No newline at end of file
+</html>

http://git-wip-us.apache.org/repos/asf/mesos/blob/1afaa7a7/src/webui/master/static/slave.html
----------------------------------------------------------------------
diff --git a/src/webui/master/static/slave.html b/src/webui/master/static/slave.html
index 8257e32..fb7d897 100644
--- a/src/webui/master/static/slave.html
+++ b/src/webui/master/static/slave.html
@@ -60,7 +60,7 @@
       </dl>
       <p><a href="" ng-click="log($event)">LOG</a></p>
 
-      <h2>Tasks</h2>
+      <h3>Tasks</h3>
       <table class="table table-condensed">
         <tbody>
           <tr>
@@ -90,7 +90,7 @@
         </tbody>
       </table>
 
-      <h2>Resources</h2>
+      <h3>Resources</h3>
       <table class="table table-condensed">
         <tbody>
           <tr>
@@ -111,7 +111,7 @@
 
   </div>
   <div class="span9">
-    <h2>Frameworks</h2>
+    <h3>Frameworks</h3>
     <table class="table table-striped table-bordered table-condensed">
       <thead>
         <tr>
@@ -161,7 +161,7 @@
       </tbody>
     </table>
 
-    <h2>Completed Frameworks</h2>
+    <h3>Completed Frameworks</h3>
     <table class="table table-striped table-bordered table-condensed">
       <thead>
         <tr>

http://git-wip-us.apache.org/repos/asf/mesos/blob/1afaa7a7/src/webui/master/static/slave_executor.html
----------------------------------------------------------------------
diff --git a/src/webui/master/static/slave_executor.html b/src/webui/master/static/slave_executor.html
index 7326f5f..230d143 100644
--- a/src/webui/master/static/slave_executor.html
+++ b/src/webui/master/static/slave_executor.html
@@ -57,7 +57,7 @@
         <dd>{{executor.tasks.length | number}}</dd>
       </dl>
 
-      <h2>Resources</h2>
+      <h3>Resources</h3>
       <table class="table table-condensed">
         <tbody>
           <th>
@@ -85,7 +85,7 @@
   </div>
 
   <div class="span9">
-    <h2>Queued Tasks</h2>
+    <h3>Queued Tasks</h3>
     <table class="table table-striped table-bordered table-condensed">
       <thead>
         <tr>
@@ -117,7 +117,7 @@
       </tbody>
     </table>
 
-    <h2>Tasks</h2>
+    <h3>Tasks</h3>
     <table class="table table-striped table-bordered table-condensed">
       <thead>
         <tr>
@@ -161,7 +161,7 @@
       </tbody>
     </table>
 
-    <h2>Completed Tasks</h2>
+    <h3>Completed Tasks</h3>
     <table class="table table-striped table-bordered table-condensed">
       <thead>
         <tr>

http://git-wip-us.apache.org/repos/asf/mesos/blob/1afaa7a7/src/webui/master/static/slave_framework.html
----------------------------------------------------------------------
diff --git a/src/webui/master/static/slave_framework.html b/src/webui/master/static/slave_framework.html
index cbad96b..ff3b4f8 100644
--- a/src/webui/master/static/slave_framework.html
+++ b/src/webui/master/static/slave_framework.html
@@ -45,7 +45,7 @@
         <dd>{{framework.num_tasks | number}}</dd>
       </dl>
 
-      <h2>Resources</h2>
+      <h3>Resources</h3>
       <table class="table table-condensed">
         <tbody>
           <th>
@@ -73,7 +73,7 @@
   </div>
 
   <div class="span9">
-    <h2>Executors</h2>
+    <h3>Executors</h3>
     <table class="table table-striped table-bordered table-condensed">
       <thead>
         <tr>
@@ -134,7 +134,7 @@
       </tbody>
     </table>
 
-    <h2>Completed Executors</h2>
+    <h3>Completed Executors</h3>
     <table class="table table-striped table-bordered table-condensed">
       <thead>
         <tr>

http://git-wip-us.apache.org/repos/asf/mesos/blob/1afaa7a7/src/webui/master/static/slaves.html
----------------------------------------------------------------------
diff --git a/src/webui/master/static/slaves.html b/src/webui/master/static/slaves.html
index 563d443..9c73ecf 100644
--- a/src/webui/master/static/slaves.html
+++ b/src/webui/master/static/slaves.html
@@ -7,7 +7,7 @@
   </li>
 </ul>
 
-<h2>Slaves</h2>
+<h3>Slaves</h3>
 <table class="table table-striped table-bordered table-condensed">
   <thead>
     <tr>
@@ -53,4 +53,4 @@
       </a>
     </td>
   </tr>
-</table>
\ No newline at end of file
+</table>