You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ad...@apache.org on 2016/11/05 04:47:51 UTC

[30/50] incubator-mynewt-site git commit: reduce bootstrap row/col nesting madness

reduce bootstrap row/col nesting madness


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/commit/e7e625f4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/tree/e7e625f4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/diff/e7e625f4

Branch: refs/heads/master
Commit: e7e625f40557d7180c27d54656d6fe0fdef5b4d7
Parents: 70b8607
Author: Gavin Jefferies <ga...@runtime.io>
Authored: Wed Oct 19 13:31:44 2016 -0700
Committer: Gavin Jefferies <ga...@runtime.io>
Committed: Wed Oct 19 13:31:44 2016 -0700

----------------------------------------------------------------------
 custom-theme/css/v2.css   |  12 ++-
 custom-theme/landing.html | 177 ++++++++++++++++++-----------------------
 2 files changed, 82 insertions(+), 107 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/e7e625f4/custom-theme/css/v2.css
----------------------------------------------------------------------
diff --git a/custom-theme/css/v2.css b/custom-theme/css/v2.css
index 7bb1109..a79ea41 100644
--- a/custom-theme/css/v2.css
+++ b/custom-theme/css/v2.css
@@ -33,28 +33,26 @@
 
 .v2-landing .highlights .highlight {
     margin-bottom: 15px;
+    overflow: auto;
 }
 
-.v2-landing .highlights .highlight div p:first-of-type {
+.v2-landing .highlights .highlight p:first-of-type {
     font-size: 18px;
 }
 
-.v2-landing .highlights .highlight div p:nth-of-type(n+2) {
+.v2-landing .highlights .highlight p:nth-of-type(n+2) {
     text-align: justify;
 }
 
 .v2-landing .highlights img, .v2-landing .highlights .img {
     display: none;
-    float:right;
+    float: right;
     margin: 40px 0px 25px 50px;
     width: 300px;
 }
 
 @media (min-width: 768px) {
-    .v2-landing .highlights img {
-        display: inherit;
-    }
-    .v2-landing .highlights .img {
+    .v2-landing .highlights img, .v2-landing .highlights .img {
         display: inherit;
     }
 }

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/e7e625f4/custom-theme/landing.html
----------------------------------------------------------------------
diff --git a/custom-theme/landing.html b/custom-theme/landing.html
index fbe2b3f..6617596 100644
--- a/custom-theme/landing.html
+++ b/custom-theme/landing.html
@@ -1,131 +1,108 @@
 {% include 'main-banner.html' %}
 
-<div class="v2-landing">
+<div class="row v2-landing">
 
-    <div class="row">
+    <div class="col-xs-12 highlights">
 
-        <div class="col-xs-12 highlights">
+       <div class="highlight">
+            <img src="/img/NimBLE_throughput.png">
 
-           <div class="row highlight">
-                <div class="col-xs-12">
-                    <img src="/img/NimBLE_throughput.png">
+            <h2>Bluetooth Low Energy</h2>
 
-                    <h2>Bluetooth Low Energy</h2>
+            <p>Run Mynewt\u2019s BLE 4.2 stack NimBLE as a complete stack or choose only its host or its controller part.</p>
 
-                    <p>Run Mynewt\u2019s BLE 4.2 stack NimBLE as a complete stack or choose only its host or its controller part.</p>
-
-                    <p>Mynewt offers NimBLE, a complete Bluetooth Low Energy 4.2 stack featuring source code for both host and controller subsystems. The standardized Hardware Controller Interface (HCI) allows you to mix and match Mynewt\u2019s host or controller portion with another vendor\u2019s controller or host implementation respectively, to suit your product hardware and application.
+            <p>Mynewt offers NimBLE, a complete Bluetooth Low Energy 4.2 stack featuring source code for both host and controller subsystems. The standardized Hardware Controller Interface (HCI) allows you to mix and match Mynewt\u2019s host or controller portion with another vendor\u2019s controller or host implementation respectively, to suit your product hardware and application.
 
 The controller implementation is available for a growing list of System on Chips (SoC). It is powerful and flexible, having demonstrated up to 32 concurrent BLE connections between a central and its peripherals. Since Mynewt\u2019s controller exposes several more configuration options than a typical SoC vendor\u2019s implementation, performance can be dramatically increased. For example, by maximizing the packet size and the connection event span in a connection interval using Mynewt, an nRF52 chip from Nordic Semiconductor can achieve 10x the throughput possible with the built-in Soft Device.
 
 Read more about NimBLE in the <a href="https://mynewt.apache.org/latest/network/ble/ble_intro/">BLE User Guide</a>
-                    </p>
-                </div>
-            </div>
-
-
-            <div class="row highlight">
-                <div class="col-xs-12">
-                    <div class="img" style="background-image: url(/img/json_logs.png); background-size: cover; height: 200px;">
-                        &nbsp;
-                    </div>
-
-                    <h2>Utilities</h2>
-
-                    <p>Utilities such as boot loaders, file systems, time-series data, JSON formatted log request/response, and more </p>
+            </p>
+        </div>
 
-                </div>
+        <div class="highlight">
+            <div class="img" style="background-image: url(/img/json_logs.png); background-size: cover; height: 200px;">
+                &nbsp;
             </div>
 
+            <h2>Utilities</h2>
 
-            <div class="row highlight">
-                <div class="col-xs-12">
-                    <img src="/img/concurrent_conn.png">
-
-                    <h2>Highly Configurable</h2>
+            <p>Utilities such as boot loaders, file systems, time-series data, JSON formatted log request/response, and more </p>
+        </div>
 
-                    <p>Direct access to peripherals for granular control to better utilize the resources of the target embedded platform</p>
-                </div>
-            </div>
+        <div class="highlight">
+            <img src="/img/concurrent_conn.png">
 
+            <h2>Highly Configurable</h2>
 
-            <div class="row highlight">
-                <div class="col-xs-12">
-                    <img src="/img/atmel.png" style="margin-top: 0px;">
+            <p>Direct access to peripherals for granular control to better utilize the resources of the target embedded platform</p>
+        </div>
 
-                    <h2>Multiple connectivity options</h2>
+        <div class="highlight">
+            <img src="/img/atmel.png" style="margin-top: 0px;">
 
-                    <p>Choose your communication technology depending on your application requirements such as power demands, amount of data transfer, deployment model and more.</p>
+            <h2>Multiple connectivity options</h2>
 
-                    <p>
-                        Mynewt offers a choice of high-performance networking stacks suitable for a range of IoT applications. It includes native support for the pervasive TCP/IP networking protocol suite. It offers Wi-Fi services to an application via a socket API that accesses Wi-Fi controllers and an abstracted interface to Wi-Fi supplicants. Mynewt also includes protocols with considerations and optimizations for constrained devices such as CoAP, 6LoWPAN, and of course, BLE. Several other protocols appropriate for IoT applications are under consideration in the community.
-                    </p>
-                </div>
-            </div>
+            <p>Choose your communication technology depending on your application requirements such as power demands, amount of data transfer, deployment model and more.</p>
 
+            <p>
+                Mynewt offers a choice of high-performance networking stacks suitable for a range of IoT applications. It includes native support for the pervasive TCP/IP networking protocol suite. It offers Wi-Fi services to an application via a socket API that accesses Wi-Fi controllers and an abstracted interface to Wi-Fi supplicants. Mynewt also includes protocols with considerations and optimizations for constrained devices such as CoAP, 6LoWPAN, and of course, BLE. Several other protocols appropriate for IoT applications are under consideration in the community.
+            </p>
+        </div>
 
-            <div class="row highlight">
-                <div class="col-xs-12">
-                    <img src="/img/secure_img.png" style="width:400px;">
+        <div class="highlight">
+            <img src="/img/secure_img.png" style="width:400px;">
 
-                    <h2>Secure</h2>
+            <h2>Secure</h2>
 
-                    <p>Ensure security is built into the code as well as lifecycle management for your product.</p>
+            <p>Ensure security is built into the code as well as lifecycle management for your product.</p>
 
-                    <p>
-                        Mynewt goes beyond providing crypto libraries for secure connections between devices or between a service and remote devices to ensure confidentiality, integrity, and availability of all concerned assets. It also provides the framework and functionality to manage a device securely from its birth to end of life. Mynewt offers a secure bootloader that verifies the authenticity and integrity of firmware image before booting from it. It enables secure image upgrade both remotely over-the-air and locally through a serial interface. With an abstracted interface to hardware security features such as secure memory and crypto accelerators, Mynewt enables components like the BLE stack as well as applications to leverage them easily.
-                    </p>
-                </div>
-            </div>
+            <p>
+                Mynewt goes beyond providing crypto libraries for secure connections between devices or between a service and remote devices to ensure confidentiality, integrity, and availability of all concerned assets. It also provides the framework and functionality to manage a device securely from its birth to end of life. Mynewt offers a secure bootloader that verifies the authenticity and integrity of firmware image before booting from it. It enables secure image upgrade both remotely over-the-air and locally through a serial interface. With an abstracted interface to hardware security features such as secure memory and crypto accelerators, Mynewt enables components like the BLE stack as well as applications to leverage them easily.
+            </p>
+        </div>
 
-            <div class="row highlight">
-                <div class="col-xs-12">
-                    <img src="/img/newt-img.png" style="width:400px;">
-                    <h2>Easy to use</h2>
-                    <p>Easily composable modules and HAL (Hardware Abstraction Layer) for portability </p>
-                </div>
-            </div>
+        <div class="highlight">
+            <img src="/img/newt-img.png" style="width:400px;">
+            <h2>Easy to use</h2>
+            <p>Easily composable modules and HAL (Hardware Abstraction Layer) for portability </p>
+        </div>
 
-            <div class="row updates">
-
-                <div class="col-xs-12">
-                  <h2>Supported Boards</h2>
-
-                  <ul>
-                      <li>
-                          <a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF52832/"> nRF52 DK </a> from Nordic Semiconductor (Cortex-M4)
-                      </li>
-                      <li>
-                          <a href="http://ruuvitag.com"> RuuviTag </a> Sensor beacon platform (Nordic nRF52832 based)
-                      </li>
-                      <li>
-                          <a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF51822"> nRF51 DK </a> from Nordic Semiconductor (Cortex-M0)
-                      </li>
-                      <li>
-                          <a href="http://redbearlab.com/blenano/"> BLE Nano </a> from RedBearLabs (Nordic nRF51822 SoC based)
-                      </li>
-                      <li>
-                          <a href="https://www.rigado.com/products/bmd-300-eval-kit/"> BMD-300-EVAL-ES </a> from Rigado (Cortex-M4)
-                      </li>
-                      <li>
-                          <a href="http://www.st.com/en/evaluation-tools/stm32f3discovery.html"> STM32F3DISCOVERY </a> from ST Micro (Cortex-M4)
-                      </li>
-                      <li>
-                          <a href=" https://www.olimex.com/Products/ARM/ST/STM32-E407/open-source-hardware"> STM32-E407 </a> from Olimex (Cortex-M4)
-                      </li>
-                      <li>
-                          <a href="https://www.arduino.cc/en/Main/ArduinoBoardZero"> Arduino Zero </a> (Cortex-M0)
-                      </li>
-                      <li>
-                          <a href="http://www.arduino.org/products/previous-version-boards/11-previous-version-boards/arduino-zero-pro"> Arduino Zero Pro </a> (Cortex-M0)
-                      </li>
-                      <li>
-                          <a href="http://www.arduino.org/products/boards/4-arduino-boards/arduino-m0-pro"> Arduino M0 Pro </a> (Cortex-M0)
-                      </li>
-                  </ul>
-
-                </div>
-            </div>
+        <div class="updates">
+
+          <h2>Supported Boards</h2>
+
+          <ul>
+              <li>
+                  <a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF52832/"> nRF52 DK </a> from Nordic Semiconductor (Cortex-M4)
+              </li>
+              <li>
+                  <a href="http://ruuvitag.com"> RuuviTag </a> Sensor beacon platform (Nordic nRF52832 based)
+              </li>
+              <li>
+                  <a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF51822"> nRF51 DK </a> from Nordic Semiconductor (Cortex-M0)
+              </li>
+              <li>
+                  <a href="http://redbearlab.com/blenano/"> BLE Nano </a> from RedBearLabs (Nordic nRF51822 SoC based)
+              </li>
+              <li>
+                  <a href="https://www.rigado.com/products/bmd-300-eval-kit/"> BMD-300-EVAL-ES </a> from Rigado (Cortex-M4)
+              </li>
+              <li>
+                  <a href="http://www.st.com/en/evaluation-tools/stm32f3discovery.html"> STM32F3DISCOVERY </a> from ST Micro (Cortex-M4)
+              </li>
+              <li>
+                  <a href=" https://www.olimex.com/Products/ARM/ST/STM32-E407/open-source-hardware"> STM32-E407 </a> from Olimex (Cortex-M4)
+              </li>
+              <li>
+                  <a href="https://www.arduino.cc/en/Main/ArduinoBoardZero"> Arduino Zero </a> (Cortex-M0)
+              </li>
+              <li>
+                  <a href="http://www.arduino.org/products/previous-version-boards/11-previous-version-boards/arduino-zero-pro"> Arduino Zero Pro </a> (Cortex-M0)
+              </li>
+              <li>
+                  <a href="http://www.arduino.org/products/boards/4-arduino-boards/arduino-m0-pro"> Arduino M0 Pro </a> (Cortex-M0)
+              </li>
+          </ul>
 
         </div>