accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [01/32] accumulo git commit: ACCUMULO-4313 - Made several improvements to website:
Date Thu, 26 May 2016 23:04:36 GMT
Repository: accumulo
Updated Branches:
  refs/heads/asf-site cf9348459 -> b1bf6c22e
  refs/heads/gh-pages 65eeb3830 -> 43f42b95c


ACCUMULO-4313 - Made several improvements to website:

 * Put website in container
 * Moved Accumulo logo to navbar
 * Organized navbar
 * Moved all ASF links to their own dropdown on right
 * Added logo to home page and simplified text
 * Reduced text in footer
 * Put new window icons after links
 * Renamed 'GitHub Issues' link in navbar to 'Pull Requests'
 * Pages have a default font size of 14px rather 16px
 * Sidebar with social links only visible on home page so
   documentation fills page which improves readability
 * Removed download link from sidebar and added to navbar
 * Created 'legal_notice' front matter variable
 * Increased navbar collapse width

Signed-off-by: Christopher Tubbs <ctubbsii@apache.org>
This closes #101


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

Branch: refs/heads/gh-pages
Commit: fa4655d7356191d8b3c1c41592383536dc899881
Parents: 65eeb38
Author: Mike Walch <mwalch@gmail.com>
Authored: Mon May 23 12:16:49 2016 -0400
Committer: Christopher Tubbs <ctubbsii@apache.org>
Committed: Thu May 26 17:14:44 2016 -0400

----------------------------------------------------------------------
 _includes/footer.md    |  8 ++---
 _includes/nav.html     | 88 ++++++++++++++++++---------------------------
 _layouts/skeleton.html | 48 +++++++++----------------
 css/accumulo.css       | 70 ++++++++++++++++++++++++++++++++++--
 downloads/index.md     |  1 -
 index.md               | 46 +++++++++++-------------
 6 files changed, 142 insertions(+), 119 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/fa4655d7/_includes/footer.md
----------------------------------------------------------------------
diff --git a/_includes/footer.md b/_includes/footer.md
index fe76263..f653a9d 100644
--- a/_includes/footer.md
+++ b/_includes/footer.md
@@ -3,11 +3,9 @@
 
 [![Apache Software Foundation][ASF_IMG]{: #asf-logo height="100"}][ASF]
 
-Copyright &copy; 2011-{{ site.time | date: '%Y' }} The Apache Software
-Foundation, Licensed under the [Apache License, Version 2.0][AL2]. Apache
-Accumulo, Accumulo, Apache Hadoop, Apache HBase, Apache Cassandra,
-Apache Thrift, Apache, the Apache feather logo, and the Apache Accumulo project
-logo are trademarks of the [Apache Software Foundation][ASF].
+Copyright &copy; 2011-{{ site.time | date: '%Y' }} The Apache Software Foundation. Licensed
under the [Apache&nbsp;License,&nbsp;Version&nbsp;2.0][AL2].
+
+{{ page.legal_notice }}
 
 Site created with [Bootstrap][BOOTSTRAP] including icons from
 [GLYPHICONS][GLYPHICONS] and [Font Awesome][FONTAWE].

http://git-wip-us.apache.org/repos/asf/accumulo/blob/fa4655d7/_includes/nav.html
----------------------------------------------------------------------
diff --git a/_includes/nav.html b/_includes/nav.html
index 9bf9437..084618a 100644
--- a/_includes/nav.html
+++ b/_includes/nav.html
@@ -7,17 +7,32 @@
         <span class="icon-bar"></span>
         <span class="icon-bar"></span>
       </button>
-      <a class="navbar-brand" href="{{ site.baseurl }}/">Accumulo</a>
+      <a href="{{ site.baseurl }}/"><img id="nav-logo" alt="Apache Accumulo" class="img-responsive"
src="{{ site.baseurl }}/images/accumulo-logo.png" width="200"/></a>
     </div>
     <div class="collapse navbar-collapse" id="navbar-items">
       <ul class="nav navbar-nav">
+        <li class="nav-link"><a href="{{ site.baseurl }}/downloads">Download</a></li>
         <li class="dropdown">
-        <a class="dropdown-toggle" data-toggle="dropdown" href="#">Project<span
class="caret"></span></a>
+        <a class="dropdown-toggle" data-toggle="dropdown" href="#">Documentation<span
class="caret"></span></a>
         <ul class="dropdown-menu">
-          <li id="nav_index"><a href="{{ site.baseurl }}/">Home</a></li>
-          <li id="nav_downloads"><a href="{{ site.baseurl }}/downloads">Downloads</a></li>
+          <li class="dropdown-header">1.7.1 Release (Latest)</li>
+          <li id="nav_rn_171"><a href="{{ site.baseurl }}/release_notes/1.7.1">Release
Notes</a></li>
+          <li><a href="{{ site.baseurl }}/1.7/accumulo_user_manual">User Manual</a></li>
+          <li><a href="{{ site.baseurl }}/1.7/apidocs">Javadoc</a></li>
+          <li id="nav_examples_17"><a href="{{ site.baseurl }}/1.7/examples">Examples</a></li>
+          <li class="divider"></li>
+          <li class="dropdown-header">1.6.5 Release</li>
+          <li id="nav_rn_165"><a href="{{ site.baseurl }}/release_notes/1.6.5">Release
Notes</a></li>
+          <li><a href="{{ site.baseurl }}/1.6/accumulo_user_manual">User Manual</a></li>
+          <li><a href="{{ site.baseurl }}/1.6/apidocs">Javadoc</a></li>
+          <li id="nav_examples_16"><a href="{{ site.baseurl }}/1.6/examples">Examples</a></li>
+          <li class="divider"></li>
           <li id="nav_features"><a href="{{ site.baseurl }}/notable_features">Features</a></li>
-          <li><a href="https://www.apache.org/licenses/LICENSE-2.0"><i class="fa
fa-external-link"></i> License</a></li>
+          <li id="nav_rn"><a href="{{ site.baseurl }}/release_notes">Release
Notes Archive</a></li>
+          <li id="old_documentation"><a href="{{ site.baseurl }}/old_documentation">Documentation
Archive</a></li>
+          <li id="nav_screenshots"><a href="{{ site.baseurl }}/screenshots">Screenshots</a></li>
+          <li id="nav_papers"><a href="{{ site.baseurl }}/papers">Papers &amp;
Presentations</a></li>
+          <li id="nav_glossary"><a href="{{ site.baseurl }}/glossary">Glossary</a></li>
         </ul>
         </li>
         <li class="dropdown">
@@ -26,7 +41,7 @@
           <li id="nav_getinvolved"><a href="{{ site.baseurl }}/get_involved">Get
Involved</a></li>
           <li id="nav_mailinglists"><a href="{{ site.baseurl }}/mailing_list">Mailing
Lists</a></li>
           <li id="nav_people"><a href="{{ site.baseurl }}/people">People</a></li>
-          <li id="nav_blog"><a href="https://blogs.apache.org/accumulo"><i
class="fa fa-external-link"></i> Blog</a></li>
+          <li id="nav_blog"><a href="https://blogs.apache.org/accumulo">Blog
<i class="fa fa-external-link"></i></a></li>
           <li id="nav_projects"><a href="{{ site.baseurl }}/projects">Community
Projects</a></li>
           <li class="divider"></li>
           <li class="dropdown-header">Governance</li>
@@ -40,6 +55,11 @@
         <li class="dropdown">
         <a class="dropdown-toggle" data-toggle="dropdown" href="#">Development<span
class="caret"></span></a>
         <ul class="dropdown-menu">
+          <li><a href="https://issues.apache.org/jira/browse/ACCUMULO">Issue
Tracker <i class="fa fa-external-link"></i></a></li>
+          <li><a href="https://github.com/apache/accumulo/pulls">Pull Requests
<i class="fa fa-external-link"></i></a></li>
+          <li><a href="https://builds.apache.org/view/A/view/Accumulo">Jenkins
Builds <i class="fa fa-external-link"></i></a></li>
+          <li><a href="https://travis-ci.org/apache/accumulo">TravisCI Builds
<i class="fa fa-external-link"></i></a></li>
+          <li class="divider"></li>
           <li class="dropdown-header">Guides</li>
           <li id="nav_source"><a href="{{ site.baseurl }}/source">Source &amp;
Guide</a></li>
           <li id="nav_git"><a href="{{ site.baseurl }}/git">Git Workflow</a></li>
@@ -48,60 +68,22 @@
           <li id="nav_rb"><a href="{{ site.baseurl }}/rb">Review Board</a></li>
           <li id="nav_releasing"><a href="{{ site.baseurl }}/releasing">Making
Releases</a></li>
           <li id="nav_verify_release"><a href="{{ site.baseurl }}/verifying_releases">Verifying
Releases</a></li>
-          <li class="divider"></li>
-          <li class="dropdown-header">Issues</li>
-          <li><a href="https://issues.apache.org/jira/browse/ACCUMULO"><i
class="fa fa-external-link"></i> JIRA</a></li>
-          <li><a href="https://github.com/apache/accumulo/issues"><i class="fa
fa-external-link"></i> GitHub</a></li>
-          <li class="divider"></li>
-          <li class="dropdown-header">Builds</li>
-          <li><a href="https://builds.apache.org/view/A/view/Accumulo"><i
class="fa fa-external-link"></i> Jenkins</a></li>
-          <li><a href="https://travis-ci.org/apache/accumulo"><i class="fa
fa-external-link"></i> Travis CI</a></li>
-        </ul>
-        </li>
-        <li class="dropdown">
-        <a class="dropdown-toggle" data-toggle="dropdown" href="#">Documentation<span
class="caret"></span></a>
-        <ul class="dropdown-menu">
-          <li class="dropdown-header">Release Notes</li>
-          <li id="nav_rn_171"><a href="{{ site.baseurl }}/release_notes/1.7.1">1.7.1</a></li>
-          <li id="nav_rn_165"><a href="{{ site.baseurl }}/release_notes/1.6.5">1.6.5</a></li>
-          <li class="divider"></li>
-          <li class="dropdown-header">Manual</li>
-          <li><a href="{{ site.baseurl }}/1.7/accumulo_user_manual">1.7</a></li>
-          <li><a href="{{ site.baseurl }}/1.6/accumulo_user_manual">1.6</a></li>
-          <li class="divider"></li>
-          <li class="dropdown-header">Javadoc</li>
-          <li><a href="{{ site.baseurl }}/1.7/apidocs">1.7</a></li>
-          <li><a href="{{ site.baseurl }}/1.6/apidocs">1.6</a></li>
-          <li class="divider"></li>
-          <li class="dropdown-header">Examples</li>
-          <li id="nav_examples_17"><a href="{{ site.baseurl }}/1.7/examples">1.7</a></li>
-          <li id="nav_examples_16"><a href="{{ site.baseurl }}/1.6/examples">1.6</a></li>
-          <li class="divider"></li>
-          <li id="nav_rn"><a href="{{ site.baseurl }}/release_notes">Release
Notes Archive</a></li>
-          <li id="old_documentation"><a href="{{ site.baseurl }}/old_documentation">Docs
for Older Verisons</a></li>
-          <li id="nav_screenshots"><a href="{{ site.baseurl }}/screenshots">Screenshots</a></li>
-          <li id="nav_papers"><a href="{{ site.baseurl }}/papers">Papers &amp;
Presentations</a></li>
-          <li id="nav_glossary"><a href="{{ site.baseurl }}/glossary">Glossary</a></li>
         </ul>
         </li>
+      </ul>
+      <ul class="nav navbar-nav navbar-right">
         <li class="dropdown">
-        <a class="dropdown-toggle" data-toggle="dropdown" href="#">ASF Links<span
class="caret"></span></a>
+        <a class="dropdown-toggle" data-toggle="dropdown" href="#">Apache Software
Foundation<span class="caret"></span></a>
         <ul class="dropdown-menu">
-          <li><a href="https://www.apache.org"><i class="fa fa-external-link"></i>
Apache Software Foundation</a></li>
-          <li><a href="https://www.apache.org/foundation/sponsorship"><i class="fa
fa-external-link"></i> Sponsorship</a></li>
-          <li><a href="https://www.apache.org/security"><i class="fa fa-external-link"></i>
Security</a></li>
-          <li><a href="https://www.apache.org/foundation/thanks"><i class="fa
fa-external-link"></i> Thanks</a></li>
-          <li><a href="https://www.apache.org/foundation/policies/conduct"><i
class="fa fa-external-link"></i> Code of Conduct</a></li>
+          <li><a href="https://www.apache.org">Apache Homepage <i class="fa
fa-external-link"></i></a></li>
+          <li><a href="https://www.apache.org/licenses/LICENSE-2.0">License <i
class="fa fa-external-link"></i></a></li>
+          <li><a href="https://www.apache.org/foundation/sponsorship">Sponsorship
<i class="fa fa-external-link"></i></a></li>
+          <li><a href="https://www.apache.org/security">Security <i class="fa
fa-external-link"></i></a></li>
+          <li><a href="https://www.apache.org/foundation/thanks">Thanks <i
class="fa fa-external-link"></i></a></li>
+          <li><a href="https://www.apache.org/foundation/policies/conduct">Code
of Conduct <i class="fa fa-external-link"></i></a></li>
         </ul>
         </li>
       </ul>
-      <form method="GET" action="http://search-hadoop.com" class="navbar-form navbar-right"
role="search">
-        <div class="form-group">
-          <input type="text" name="q" class="form-control" placeholder="Search"/>
-          <input type="hidden" name="fc_project" value="Accumulo"/>
-        </div>
-        <button type="submit" class="btn btn-default"><span class="glyphicon glyphicon-search"></span></button>
-      </form>
     </div>
   </div>
 </nav>

http://git-wip-us.apache.org/repos/asf/accumulo/blob/fa4655d7/_layouts/skeleton.html
----------------------------------------------------------------------
diff --git a/_layouts/skeleton.html b/_layouts/skeleton.html
index 5ad05dc..93e6193 100644
--- a/_layouts/skeleton.html
+++ b/_layouts/skeleton.html
@@ -73,43 +73,27 @@
   }
 </script>
 </head>
-<body>
-{% include nav.html %}
+<body style="padding-top: 100px">
 
-<div class="container-fluid">
-  <div class="row">
-    <div class="col-md-2" id="sidebar">
-      <div style="text-align: center">
-        <a href="{{ site.baseurl }}/"><img id="logo" alt="Apache Accumulo &trade;"
class="img-responsive" src="{{ site.baseurl }}/images/accumulo-logo.png"/></a>
-        <br />
-        Latest 1.7 release: <strong>1.7.1</strong><br />
-        Latest 1.6 release: <strong>1.6.5</strong><br />
-        <br>
-        <a id="download-button-sidebar" class="btn btn-success btn-block" href="{{ site.baseurl
}}/downloads/" role="button">Download</a>
-      </div>
-      <hr>
-      {% capture social-include %}{% include social.md %}{% endcapture %}{{ social-include
| markdownify }}
+  {% include nav.html %}
 
-      <hr>
-      <a id="accumulo-summit-logo" href="http://accumulosummit.com/"><img alt="Accumulo
Summit" class="img-responsive" src="{{ site.baseurl }}/images/accumulo-summit.png"></a>
-    </div>
-    <div class="col-md-8 col-md-offset-1">
+  <div class="container">
+    <div class="row">
+      <div class="col-md-12">
 
-      <div id="non-canonical" style="display: none; background-color: #F0E68C; padding-left:
1em;">
-        Visit the official site at: <a href="https://accumulo.apache.org">https://accumulo.apache.org</a>
-      </div>
-      <div id="content">
-        {% unless page.skiph1fortitle %}
-        <h1 class="title">{% if page.title %}{{ page.title | escape }}{% else %}{{
site.title | escape }}{% endif %}</h1>
-        {% endunless %}
-        {{ content }}
-      </div>
+        <div id="non-canonical" style="display: none; background-color: #F0E68C; padding-left:
1em;">
+          Visit the official site at: <a href="https://accumulo.apache.org">https://accumulo.apache.org</a>
+        </div>
+        <div id="content">
+          {% unless page.skiph1fortitle %}
+          <h1 class="title">{% if page.title %}{{ page.title | escape }}{% else %}{{
site.title | escape }}{% endif %}</h1>
+          {% endunless %}
+          {{ content }}
+        </div>
 
-      {% capture footer-include %}{% include footer.md %}{% endcapture %}{{ footer-include
| markdownify }}
+        {% capture footer-include %}{% include footer.md %}{% endcapture %}{{ footer-include
| markdownify }}
+      </div>
     </div>
-
   </div>
-</div>
-
 </body>
 </html>

http://git-wip-us.apache.org/repos/asf/accumulo/blob/fa4655d7/css/accumulo.css
----------------------------------------------------------------------
diff --git a/css/accumulo.css b/css/accumulo.css
index 9b44f56..75f985e 100644
--- a/css/accumulo.css
+++ b/css/accumulo.css
@@ -14,11 +14,28 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
+
+#nav-logo {
+    padding-top: 10px;
+    padding-bottom: 10px;
+}
+
 body {
     /* for fixed top navbar */
     padding-top: 70px;
+    font-size: 14px;
+}
+
+.nav-link {
+    padding-top: 20px;
     font-size: 16px;
 }
+
+.nav-link, li.dropdown {
+    padding-top: 10px;
+    font-size: 16px;
+}
+
 ul.nav li.dropdown:hover > ul.dropdown-menu {
     /* so nav submenus open on hover */
     display: block;
@@ -26,23 +43,33 @@ ul.nav li.dropdown:hover > ul.dropdown-menu {
 #sidebar {
     font-size: 14px;
 }
+
+#home-description {
+    font-size: 16px;
+}
+
 #sociallinks td {
     /* no lines in the link table */
     border-top: none;
 }
+
 #bannertext {
     margin-top: 10px;
     text-align: left;
 }
+
 .clear {
     clear: both;
 }
+
 #content {
     padding: 0 8px 40px;
 }
+
 #content h1 {
     margin-bottom: 0.5em;
 }
+
 #content h2 {
     margin-bottom: 0.5em;
     border-bottom: 1px solid #CCCCCC;
@@ -120,8 +147,47 @@ h6:hover .header-link {
 h1[id]::before, h2[id]::before, h3[id]::before, h4[id]::before, h5[id]::before, h6[id]::before
{
   display: block;
   content: " ";
-  margin-top: -55px;
-  height: 55px;
+  margin-top: -80px;
+  height: 80px;
   visibility: hidden;
 }
 
+/* Makes navbar collapse at larger width (917px) */
+@media (max-width: 971px) {
+    .navbar-header {
+        float: none;
+    }
+    .navbar-toggle {
+        display: block;
+    }
+    .navbar-collapse {
+        border-top: 1px solid transparent;
+        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
+    }
+    .navbar-collapse.collapse {
+        display: none!important;
+    }
+    .navbar-nav {
+        float: none!important;
+        margin: 7.5px -15px;
+    }
+    .navbar-nav>li {
+        float: none;
+    }
+    .navbar-nav>li>a {
+        padding-top: 10px;
+        padding-bottom: 10px;
+    }
+    .navbar-text {
+        float: none;
+        margin: 15px 0;
+    }
+    /* since 3.1.0 */
+    .navbar-collapse.collapse.in {
+        display: block!important;
+    }
+    .collapsing {
+        overflow: hidden!important;
+    }
+}
+

http://git-wip-us.apache.org/repos/asf/accumulo/blob/fa4655d7/downloads/index.md
----------------------------------------------------------------------
diff --git a/downloads/index.md b/downloads/index.md
index 380ade0..b68f747 100644
--- a/downloads/index.md
+++ b/downloads/index.md
@@ -85,7 +85,6 @@ $(function() { $.getJSON(mirrorURL + "?as_json", mirrorsCallback); });
 </script>
 
 <div id="mirror_selection"></div>
-<br />
 
 Be sure to verify your downloads by these [procedures][VERIFY_PROCEDURES] using these [KEYS][GPG_KEYS].
 

http://git-wip-us.apache.org/repos/asf/accumulo/blob/fa4655d7/index.md
----------------------------------------------------------------------
diff --git a/index.md b/index.md
index d9146d7..6d9f11a 100644
--- a/index.md
+++ b/index.md
@@ -2,31 +2,25 @@
 title: Apache Accumulo
 skiph1fortitle: true
 nav: nav_index
+legal_notice: Apache Accumulo, Accumulo, Apache Hadoop, Apache Thrift, Apache, the Apache
feather logo, and the Accumulo project logo are trademarks of the [Apache Software Foundation](https://www.apache.org).
 ---
-
-<br>
-<div class="jumbotron" style="text-align: center">
-<p>The Apache Accumulo&trade; sorted, distributed key/value store is a robust,
scalable, high performance data storage and retrieval system.</p>
-<a class="btn btn-success btn-lg" href="downloads/" role="button"><span class="glyphicon
glyphicon-download"></span> Download</a>
+<div class="row">
+  <div class="col-md-2" id="sidebar">
+    <br>
+    {% capture social-include %}{% include social.md %}{% endcapture %}{{ social-include
| markdownify }}
+    <hr>
+    <a id="accumulo-summit-logo" href="http://accumulosummit.com/"><img alt="Accumulo
Summit" class="img-responsive" src="{{ site.baseurl }}/images/accumulo-summit.png"></a>
+  </div>
+  <div class="col-md-8 col-md-offset-1">
+    <br>
+    <img alt="Apache Accumulo" class="img-responsive" src="{{ site.baseurl }}/images/accumulo-logo.png"
style="margin:0 auto;"/>
+    <br>
+    <div class="jumbotron" style="text-align: center">
+      <p>Apache Accumulo&trade; is a sorted, distributed key/value store that provides
robust, scalable data storage and retrieval.</p>
+      <a class="btn btn-success btn-lg" href="downloads/" role="button"><span class="glyphicon
glyphicon-download"></span> Download</a>
+    </div>
+    <div>
+      <p id="home-description">Apache Accumulo is based on the design of Google's <a
href="https://research.google.com/archive/bigtable.html">BigTable</a> and is powered
by <a href="https://hadoop.apache.org">Apache Hadoop</a>, <a href="https://zookeeper.apache.org">Apache
Zookeeper</a>, and <a href="https://thrift.apache.org">Apache Thrift</a>.<br><br>Accumulo
has several <a href="{{ site.baseurl }}/notable_features">novel features</a> such
as cell-based access control and a server-side programming mechanism that can modify key/value
pairs at various points in the data management process.</p>
+    </div>
+  </div>
 </div>
-
-Apache Accumulo is based on Google's [BigTable][1] design and is built on top
-of [Apache Hadoop][2], [Apache Zookeeper][3], and [Apache Thrift][4]. Apache
-Accumulo features a few novel improvements on the BigTable design in the form
-of cell-based access control and a server-side programming mechanism that can
-modify key/value pairs at various points in the data management process. Other
-notable improvements and feature are outlined [here](notable_features).
-
-Google published the design of BigTable in 2006. Several other open source
-projects have implemented aspects of this design including [Apache HBase][5],
-[Hypertable][6], and [Apache Cassandra][7]. Accumulo began its development in
-2008 and joined the [Apache community][8] in 2011.
-
-[1]: https://research.google.com/archive/bigtable.html "BigTable"
-[2]: https://hadoop.apache.org                   "Apache Hadoop"
-[3]: https://zookeeper.apache.org                 "Apache Zookeeper"
-[4]: https://thrift.apache.org                    "Apache Thrift"
-[5]: https://hbase.apache.org                     "Apache HBase"
-[6]: http://hypertable.com                       "Hypertable"
-[7]: https://cassandra.apache.org                 "Apache Cassandra"
-[8]: https://www.apache.org                      "Apache Software Foundation"


Mime
View raw message