You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by zk...@apache.org on 2016/12/30 13:07:03 UTC

svn commit: r1776554 - in /river/site/trunk: content/css/river.css content/index.mdtext templates/footer.html templates/sidenav.html templates/skeleton.html

Author: zkuti
Date: Fri Dec 30 13:07:03 2016
New Revision: 1776554

URL: http://svn.apache.org/viewvc?rev=1776554&view=rev
Log:
missing navbar and broken layout on mobile fixed

Modified:
    river/site/trunk/content/css/river.css
    river/site/trunk/content/index.mdtext
    river/site/trunk/templates/footer.html
    river/site/trunk/templates/sidenav.html
    river/site/trunk/templates/skeleton.html

Modified: river/site/trunk/content/css/river.css
URL: http://svn.apache.org/viewvc/river/site/trunk/content/css/river.css?rev=1776554&r1=1776553&r2=1776554&view=diff
==============================================================================
--- river/site/trunk/content/css/river.css (original)
+++ river/site/trunk/content/css/river.css Fri Dec 30 13:07:03 2016
@@ -1,9 +1,5 @@
 /* apache river stylesheet */
 
-.splash h2 {
-  font-size: 24px
-}
-
 div.codehilite pre {
   background-color: #f5f5f5 ;
   margin: 5px 15px 5px 15px ;
@@ -29,10 +25,15 @@ div.codehilite pre {
     padding: 9em 0 2em;
     background-color: #141d27;
     background-image: url(/images/duna1b.jpg);
-    background-size: cover;
+    background-size: 100%;
     background-attachment: scroll;
-    color: #fff;
-    text-align: right
+    background-repeat:no-repeat;
+    text-align: left
+}
+
+.splash h2 {
+  font-size: 20px;
+  color: #fff;
 }
 
 .splash .logo {

Modified: river/site/trunk/content/index.mdtext
URL: http://svn.apache.org/viewvc/river/site/trunk/content/index.mdtext?rev=1776554&r1=1776553&r2=1776554&view=diff
==============================================================================
--- river/site/trunk/content/index.mdtext (original)
+++ river/site/trunk/content/index.mdtext Fri Dec 30 13:07:03 2016
@@ -16,14 +16,14 @@ Notice:    Licensed to the Apache Softwa
            under the License.
 
 
-<div class="splash">
-        <h2>Apache River is a project furthering the development<br/>
+<div class="splash img-responsive">
+        <h2>Apache River is a project furthering the development
         and advancement of Jini technology.</h2>
+
 </div>
 
-####
-<div class="alert alert-success" style="font-size: 17px; margin: 25px 150px">
-  River is the implementation of [Jini](https://en.wikipedia.org/wiki/Jini) service oriented architecture. It defines
+<div class="alert alert-success" style="font-size: 17px; margin: 5% 10%">
+  River is the implementation of <a href="https://en.wikipedia.org/wiki/Jini">Jini</a> service oriented architecture. It defines
       a programming model which both exploits and extends Java technology to enable the construction of secure, distributed
       systems consisting of federations of services and clients. Jini technology can be used to build adaptive network
       systems that are scalable, evolvable and flexible as typically required in dynamic computing environments.
@@ -31,14 +31,14 @@ Notice:    Licensed to the Apache Softwa
 
 <div class="container main">
     <div class="row">
-        <div class="col-lg-6 col-sm-6 col-md-4 description-container">
+        <div class="col-xs-6 col-sm-6 col-md-4 col-lg-6 description-container">
             <h4><i class="fa fa-exchange"></i> Communication</h4>
             Client and service communicate with a protocol called <a href="/release-doc/2.2.2/api/net/jini/jeri/connection/doc-files/mux.html">JERI</a>.
                 JERI implementations are available for plain TCP, plain SSL, HTTP, HTTPS and Kerberos TCP.
                 For compatibility with RMI there is also a JRMP transport.
         <div class="space-sm"></div>
         </div>
-        <div class="col-lg-6 col-sm-6 col-md-4 description-container">
+        <div class="col-xs-6 col-sm-6 col-md-4 col-lg-6 description-container">
             <h4><span class="fa fa-signal"></span> From small to big</h4>
             <span class="fa fa-angle-right"></span> Service and client: uses JERI to communicate, no dynamic discovery.<br>
             <span class="fa fa-angle-right"></span> Combination of service, client and registry: allows for automatic discovery of any of them,
@@ -48,11 +48,11 @@ Notice:    Licensed to the Apache Softwa
         </div>
 
 
-        <div class="col-lg-6 col-sm-6 col-md-4 description-container">
+        <div class="col-xs-6 col-sm-6 col-md-4 col-lg-6 description-container">
             <h4><i class="fa fa-gear"></i> Basic services</h4>
             <p>Several basic services are available for locking, distributed events, leasing, transactions, etc.</p>
         </div>
-        <div class="col-lg-6 col-sm-6 col-md-4 description-container">
+        <div class="col-xs-6 col-sm-6 col-md-4 col-lg-6 description-container">
             <h4><i class="fa fa-gears"></i> Extended services</h4>
             <p>An implementation of <a href="https://en.wikipedia.org/wiki/Tuple_space">Tuple spaces</a>
             called JavaSpaces is part of the project.</p>

Modified: river/site/trunk/templates/footer.html
URL: http://svn.apache.org/viewvc/river/site/trunk/templates/footer.html?rev=1776554&r1=1776553&r2=1776554&view=diff
==============================================================================
--- river/site/trunk/templates/footer.html (original)
+++ river/site/trunk/templates/footer.html Fri Dec 30 13:07:03 2016
@@ -1,11 +1,11 @@
 <footer>
     <div class="container">
         <div class="row">
-            <div class="col-sm-1">
+            <div class="col-xs-3 col-sm-1 col-md-1 col-lg-1">
                 <a href="http://apache.org" target="_blank"><img src="/images/apache-logo.png" width="40%"/></a>
             </div>
 
-            <div class="col-sm-11">
+            <div class="col-xs-9 col-sm-11 col-md-11 col-lg-11">
                 <p>Copyright &#169; 2012-2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>,
                     Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version
                         2.0</a>.

Modified: river/site/trunk/templates/sidenav.html
URL: http://svn.apache.org/viewvc/river/site/trunk/templates/sidenav.html?rev=1776554&r1=1776553&r2=1776554&view=diff
==============================================================================
--- river/site/trunk/templates/sidenav.html (original)
+++ river/site/trunk/templates/sidenav.html Fri Dec 30 13:07:03 2016
@@ -1,9 +1,16 @@
 <div class="container">
     <div class="navbar-header">
+        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
+                data-target="#river-navbar-collapse">
+            <span class="sr-only">Toggle navigation</span>
+            <span class="icon-bar"></span>
+            <span class="icon-bar"></span>
+            <span class="icon-bar"></span>
+        </button>
         <a class="navbar-brand" href="/index.html"><img src="/images/river_logo.png">Apache River&trade;</a>
     </div>
 
-    <div class="navbar-collapse collapse" id="navbar-main">
+    <div class="collapse navbar-collapse" id="river-navbar-collapse">
         <ul class="nav navbar-nav">
             <li class="dropdown">
                 <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
@@ -77,10 +84,10 @@
             <div class="form-group input-group" style="padding: 6px">
                 <input type="text" name="q" id="query" placeholder="Google custom search" class="form-control input-sm">
                 <span class="input-group-btn">
-                    <button type="submit" class="btn btn-default btn-sm">
-                        <img src="/images/search_box_icon.png" width="15" height="17"/>
-                        </button>
-				  </span>
+    <button type="submit" class="btn btn-default btn-sx btn-sm">
+        <i class="glyphicon glyphicon-search" style="width: 15; height: 17"></i>
+    </button>
+    </span>
             </div>
         </form>
 

Modified: river/site/trunk/templates/skeleton.html
URL: http://svn.apache.org/viewvc/river/site/trunk/templates/skeleton.html?rev=1776554&r1=1776553&r2=1776554&view=diff
==============================================================================
--- river/site/trunk/templates/skeleton.html (original)
+++ river/site/trunk/templates/skeleton.html Fri Dec 30 13:07:03 2016
@@ -22,7 +22,7 @@
     <title>Apache River - {% block title %}{{ headers.title }}{% endblock %}</title>
     <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
     <meta property="og:image" content="//www.apache.org/images/asf_logo.gif"/>
-    <meta name="viewport" content="width=device-width, initial-scale=1">
+    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
     <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
     <link rel="stylesheet" href="/css/bootstrap.css" media="screen">
     <link rel="stylesheet" href="/css/river.css" media="screen">