Author: aldrin
Date: Tue May 3 14:37:10 2016
New Revision: 1742119
URL: http://svn.apache.org/viewvc?rev=1742119&view=rev
Log:
NIFI-1819 MINIFI-31 Providing initial MiNiFi site structure.
Added:
nifi/site/trunk/assets/images/
nifi/site/trunk/assets/images/bgNifiLogo.png (with props)
nifi/site/trunk/assets/images/feather-small.gif (with props)
nifi/site/trunk/assets/images/flow-th.png (with props)
nifi/site/trunk/assets/images/flow.png (with props)
nifi/site/trunk/assets/images/niFi-logo-horizontal-scaled.png (with props)
nifi/site/trunk/assets/images/niFi-logo-horizontal.png (with props)
nifi/site/trunk/assets/images/nifi16.ico (with props)
nifi/site/trunk/assets/images/nifiDrop.svg
nifi/site/trunk/assets/js/app.js
nifi/site/trunk/assets/stylesheets/app.css
nifi/site/trunk/minifi/
nifi/site/trunk/minifi/faq.html
nifi/site/trunk/minifi/index.html
Modified:
nifi/site/trunk/assets/js/foundation.js
nifi/site/trunk/assets/js/jquery.min.js
nifi/site/trunk/developer-guide.html
nifi/site/trunk/docs.html
nifi/site/trunk/download.html
nifi/site/trunk/faq.html
nifi/site/trunk/index.html
nifi/site/trunk/licensing-guide.html
nifi/site/trunk/mailing_lists.html
nifi/site/trunk/people.html
nifi/site/trunk/quickstart.html
nifi/site/trunk/release-guide.html
nifi/site/trunk/videos.html
Added: nifi/site/trunk/assets/images/bgNifiLogo.png
URL:
http://svn.apache.org/viewvc/nifi/site/trunk/assets/images/bgNifiLogo.png?rev=1742119&view=auto
==============================================================================
Binary file - no diff available.
Propchange: nifi/site/trunk/assets/images/bgNifiLogo.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: nifi/site/trunk/assets/images/feather-small.gif
URL:
http://svn.apache.org/viewvc/nifi/site/trunk/assets/images/feather-small.gif?rev=1742119&view=auto
==============================================================================
Binary file - no diff available.
Propchange: nifi/site/trunk/assets/images/feather-small.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: nifi/site/trunk/assets/images/flow-th.png
URL:
http://svn.apache.org/viewvc/nifi/site/trunk/assets/images/flow-th.png?rev=1742119&view=auto
==============================================================================
Binary file - no diff available.
Propchange: nifi/site/trunk/assets/images/flow-th.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: nifi/site/trunk/assets/images/flow.png
URL:
http://svn.apache.org/viewvc/nifi/site/trunk/assets/images/flow.png?rev=1742119&view=auto
==============================================================================
Binary file - no diff available.
Propchange: nifi/site/trunk/assets/images/flow.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: nifi/site/trunk/assets/images/niFi-logo-horizontal-scaled.png
URL:
http://svn.apache.org/viewvc/nifi/site/trunk/assets/images/niFi-logo-horizontal-scaled.png?rev=1742119&view=auto
==============================================================================
Binary file - no diff available.
Propchange: nifi/site/trunk/assets/images/niFi-logo-horizontal-scaled.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: nifi/site/trunk/assets/images/niFi-logo-horizontal.png
URL:
http://svn.apache.org/viewvc/nifi/site/trunk/assets/images/niFi-logo-horizontal.png?rev=1742119&view=auto
==============================================================================
Binary file - no diff available.
Propchange: nifi/site/trunk/assets/images/niFi-logo-horizontal.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: nifi/site/trunk/assets/images/nifi16.ico
URL:
http://svn.apache.org/viewvc/nifi/site/trunk/assets/images/nifi16.ico?rev=1742119&view=auto
==============================================================================
Binary file - no diff available.
Propchange: nifi/site/trunk/assets/images/nifi16.ico
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: nifi/site/trunk/assets/images/nifiDrop.svg
URL:
http://svn.apache.org/viewvc/nifi/site/trunk/assets/images/nifiDrop.svg?rev=1742119&view=auto
==============================================================================
--- nifi/site/trunk/assets/images/nifiDrop.svg (added)
+++ nifi/site/trunk/assets/images/nifiDrop.svg Tue May 3 14:37:10 2016
@@ -0,0 +1,217 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.0.3, SVG Export Plug-In . SVG Version:
6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="44px" height="59.76px" viewBox="0 0 44 59.76"
enable-background="new 0 0 44 59.76" xml:space="preserve">
+<g>
+ <linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse"
x1="13.8408" y1="19.4224" x2="26.1859" y2="50.6966">
+ <stop offset="0" style="stop-color:#7894A3"/>
+ <stop offset="0.2319" style="stop-color:#7591A0"/>
+ <stop offset="0.4181" style="stop-color:#6B8897"/>
+ <stop offset="0.5885" style="stop-color:#5A7A88"/>
+ <stop offset="0.7494" style="stop-color:#426573"/>
+ <stop offset="0.9023" style="stop-color:#244A58"/>
+ <stop offset="1" style="stop-color:#0C3543"/>
+ </linearGradient>
+ <path fill="url(#SVGID_1_)"
d="M27.186,36.189h6.752h4.927c0-8.761-6.873-17.16-11.563-23.287C22.786,7.01,20.428,2,20.428,2
+
s-2.349,5.01-6.866,10.903C8.865,19.029,2,27.429,2,36.189c0,10.178,8.252,18.435,18.428,18.435v-4.928v-6.749h6.758V36.189z"/>
+ <linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse"
x1="13.7744" y1="19.4326" x2="26.1248" y2="50.7201">
+ <stop offset="0" style="stop-color:#7894A3"/>
+ <stop offset="0.2319" style="stop-color:#7591A0"/>
+ <stop offset="0.4181" style="stop-color:#6B8897"/>
+ <stop offset="0.5885" style="stop-color:#5A7A88"/>
+ <stop offset="0.7494" style="stop-color:#426573"/>
+ <stop offset="0.9023" style="stop-color:#244A58"/>
+ <stop offset="1" style="stop-color:#0C3543"/>
+ </linearGradient>
+ <rect x="21.394" y="43.904" fill="url(#SVGID_2_)" width="6.751"
height="6.758"/>
+ <linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse"
x1="11.4067" y1="20.3711" x2="23.754" y2="51.6508">
+ <stop offset="0" style="stop-color:#7894A3"/>
+ <stop offset="0.2319" style="stop-color:#7591A0"/>
+ <stop offset="0.4181" style="stop-color:#6B8897"/>
+ <stop offset="0.5885" style="stop-color:#5A7A88"/>
+ <stop offset="0.7494" style="stop-color:#426573"/>
+ <stop offset="0.9023" style="stop-color:#244A58"/>
+ <stop offset="1" style="stop-color:#0C3543"/>
+ </linearGradient>
+ <path fill="url(#SVGID_3_)"
d="M28.145,51.758h-6.751v4.928c2.383,0,4.659-0.455,6.751-1.277V51.758z"/>
+ <linearGradient id="SVGID_4_" gradientUnits="userSpaceOnUse"
x1="21.9297" y1="16.2295" x2="34.2729" y2="47.499">
+ <stop offset="0" style="stop-color:#7894A3"/>
+ <stop offset="0.2319" style="stop-color:#7591A0"/>
+ <stop offset="0.4181" style="stop-color:#6B8897"/>
+ <stop offset="0.5885" style="stop-color:#5A7A88"/>
+ <stop offset="0.7494" style="stop-color:#426573"/>
+ <stop offset="0.9023" style="stop-color:#244A58"/>
+ <stop offset="1" style="stop-color:#0C3543"/>
+ </linearGradient>
+ <rect x="28.145" y="37.154" fill="url(#SVGID_4_)" width="6.756"
height="6.75"/>
+ <linearGradient id="SVGID_5_" gradientUnits="userSpaceOnUse"
x1="20.3535" y1="16.8696" x2="32.6938" y2="48.1316">
+ <stop offset="0" style="stop-color:#7894A3"/>
+ <stop offset="0.2319" style="stop-color:#7591A0"/>
+ <stop offset="0.4181" style="stop-color:#6B8897"/>
+ <stop offset="0.5885" style="stop-color:#5A7A88"/>
+ <stop offset="0.7494" style="stop-color:#426573"/>
+ <stop offset="0.9023" style="stop-color:#244A58"/>
+ <stop offset="1" style="stop-color:#0C3543"/>
+ </linearGradient>
+ <path fill="url(#SVGID_5_)"
d="M29.529,45.291v6.751h5.783c0.332-0.308,0.66-0.636,0.969-0.97v-5.781H29.529z"/>
+ <linearGradient id="SVGID_6_" gradientUnits="userSpaceOnUse"
x1="18.7891" y1="17.4702" x2="31.1328" y2="48.741">
+ <stop offset="0" style="stop-color:#7894A3"/>
+ <stop offset="0.2319" style="stop-color:#7591A0"/>
+ <stop offset="0.4181" style="stop-color:#6B8897"/>
+ <stop offset="0.5885" style="stop-color:#5A7A88"/>
+ <stop offset="0.7494" style="stop-color:#426573"/>
+ <stop offset="0.9023" style="stop-color:#244A58"/>
+ <stop offset="1" style="stop-color:#0C3543"/>
+ </linearGradient>
+ <path fill="url(#SVGID_6_)"
d="M31.077,57.76c2.163-0.848,4.116-2.098,5.791-3.649h-5.791V57.76z"/>
+ <linearGradient id="SVGID_7_" gradientUnits="userSpaceOnUse"
x1="27.9355" y1="13.8599" x2="40.2783" y2="45.128">
+ <stop offset="0" style="stop-color:#7894A3"/>
+ <stop offset="0.2319" style="stop-color:#7591A0"/>
+ <stop offset="0.4181" style="stop-color:#6B8897"/>
+ <stop offset="0.5885" style="stop-color:#5A7A88"/>
+ <stop offset="0.7494" style="stop-color:#426573"/>
+ <stop offset="0.9023" style="stop-color:#244A58"/>
+ <stop offset="1" style="stop-color:#0C3543"/>
+ </linearGradient>
+ <path fill="url(#SVGID_7_)"
d="M35.999,43.904h3.647c0.825-2.09,1.28-4.366,1.28-6.75h-4.928V43.904z"/>
+ <linearGradient id="SVGID_8_" gradientUnits="userSpaceOnUse"
x1="26.2617" y1="14.4844" x2="38.6173" y2="45.7851">
+ <stop offset="0" style="stop-color:#7894A3"/>
+ <stop offset="0.2319" style="stop-color:#7591A0"/>
+ <stop offset="0.4181" style="stop-color:#6B8897"/>
+ <stop offset="0.5885" style="stop-color:#5A7A88"/>
+ <stop offset="0.7494" style="stop-color:#426573"/>
+ <stop offset="0.9023" style="stop-color:#244A58"/>
+ <stop offset="1" style="stop-color:#0C3543"/>
+ </linearGradient>
+ <path fill="url(#SVGID_8_)"
d="M38.352,52.629C39.9,50.955,41.15,49.002,42,46.836h-3.648V52.629z"/>
+ <linearGradient id="SVGID_9_" gradientUnits="userSpaceOnUse"
x1="22.7119" y1="53.0615" x2="16.3813" y2="5.1998">
+ <stop offset="0" style="stop-color:#7894A3"/>
+ <stop offset="0.0281" style="stop-color:#849DAA"/>
+ <stop offset="0.1087" style="stop-color:#A0B1BB"/>
+ <stop offset="0.2" style="stop-color:#B7C2C8"/>
+ <stop offset="0.3046" style="stop-color:#C8CFD3"/>
+ <stop offset="0.4308" style="stop-color:#D5D8DA"/>
+ <stop offset="0.6005" style="stop-color:#DCDDDF"/>
+ <stop offset="1" style="stop-color:#DEDFE0"/>
+ </linearGradient>
+ <path fill="url(#SVGID_9_)"
d="M26.775,35.721h6.348h4.629c0-8.242-6.448-16.133-10.862-21.895
+
c-4.247-5.544-6.462-10.249-6.462-10.249s-2.207,4.705-6.454,10.249C9.56,19.588,3.104,27.479,3.104,35.721
+
c0,9.569,7.345,17.324,16.914,17.324v-4.629v-5.938h6.758V35.721z"/>
+ <linearGradient id="SVGID_10_" gradientUnits="userSpaceOnUse"
x1="25.4878" y1="52.6904" x2="19.1612" y2="4.8591">
+ <stop offset="0" style="stop-color:#7894A3"/>
+ <stop offset="0.0281" style="stop-color:#849DAA"/>
+ <stop offset="0.1087" style="stop-color:#A0B1BB"/>
+ <stop offset="0.2" style="stop-color:#B7C2C8"/>
+ <stop offset="0.3046" style="stop-color:#C8CFD3"/>
+ <stop offset="0.4308" style="stop-color:#D5D8DA"/>
+ <stop offset="0.6005" style="stop-color:#DCDDDF"/>
+ <stop offset="1" style="stop-color:#DEDFE0"/>
+ </linearGradient>
+ <rect x="21.834" y="44.348" fill="url(#SVGID_10_)" width="5.876"
height="5.871"/>
+ <linearGradient id="SVGID_11_" gradientUnits="userSpaceOnUse"
x1="24.6118" y1="52.8105" x2="18.2843" y2="4.9722">
+ <stop offset="0" style="stop-color:#7894A3"/>
+ <stop offset="0.0281" style="stop-color:#849DAA"/>
+ <stop offset="0.1087" style="stop-color:#A0B1BB"/>
+ <stop offset="0.2" style="stop-color:#B7C2C8"/>
+ <stop offset="0.3046" style="stop-color:#C8CFD3"/>
+ <stop offset="0.4308" style="stop-color:#D5D8DA"/>
+ <stop offset="0.6005" style="stop-color:#DCDDDF"/>
+ <stop offset="1" style="stop-color:#DEDFE0"/>
+ </linearGradient>
+ <path fill="url(#SVGID_11_)"
d="M27.71,52.084h-5.876v3.871c2.07,0,4.057-0.391,5.876-1.113V52.084z"/>
+ <linearGradient id="SVGID_12_" gradientUnits="userSpaceOnUse"
x1="33.0015" y1="51.6997" x2="26.6722" y2="3.8483">
+ <stop offset="0" style="stop-color:#7894A3"/>
+ <stop offset="0.0281" style="stop-color:#849DAA"/>
+ <stop offset="0.1087" style="stop-color:#A0B1BB"/>
+ <stop offset="0.2" style="stop-color:#B7C2C8"/>
+ <stop offset="0.3046" style="stop-color:#C8CFD3"/>
+ <stop offset="0.4308" style="stop-color:#D5D8DA"/>
+ <stop offset="0.6005" style="stop-color:#DCDDDF"/>
+ <stop offset="1" style="stop-color:#DEDFE0"/>
+ </linearGradient>
+ <rect x="28.588" y="37.596" fill="url(#SVGID_12_)" width="5.873"
height="5.874"/>
+ <linearGradient id="SVGID_13_" gradientUnits="userSpaceOnUse"
x1="33.2969" y1="51.6577" x2="26.9677" y2="3.8071">
+ <stop offset="0" style="stop-color:#7894A3"/>
+ <stop offset="0.0281" style="stop-color:#849DAA"/>
+ <stop offset="0.1087" style="stop-color:#A0B1BB"/>
+ <stop offset="0.2" style="stop-color:#B7C2C8"/>
+ <stop offset="0.3046" style="stop-color:#C8CFD3"/>
+ <stop offset="0.4308" style="stop-color:#D5D8DA"/>
+ <stop offset="0.6005" style="stop-color:#DCDDDF"/>
+ <stop offset="1" style="stop-color:#DEDFE0"/>
+ </linearGradient>
+ <path fill="url(#SVGID_13_)"
d="M29.964,45.726V51.6h5.034c0.293-0.269,0.571-0.547,0.84-0.84v-5.034H29.964z"/>
+ <linearGradient id="SVGID_14_" gradientUnits="userSpaceOnUse"
x1="32.7988" y1="51.7354" x2="26.4825" y2="3.9818">
+ <stop offset="0" style="stop-color:#7894A3"/>
+ <stop offset="0.0281" style="stop-color:#849DAA"/>
+ <stop offset="0.1087" style="stop-color:#A0B1BB"/>
+ <stop offset="0.2" style="stop-color:#B7C2C8"/>
+ <stop offset="0.3046" style="stop-color:#C8CFD3"/>
+ <stop offset="0.4308" style="stop-color:#D5D8DA"/>
+ <stop offset="0.6005" style="stop-color:#DCDDDF"/>
+ <stop offset="1" style="stop-color:#DEDFE0"/>
+ </linearGradient>
+ <path fill="url(#SVGID_14_)"
d="M31.457,57.109c1.878-0.739,2.349-0.998,3.795-2.348h-3.795V57.109z"/>
+ <linearGradient id="SVGID_15_" gradientUnits="userSpaceOnUse"
x1="39.8223" y1="50.7959" x2="33.4946" y2="2.9561">
+ <stop offset="0" style="stop-color:#7894A3"/>
+ <stop offset="0.0281" style="stop-color:#849DAA"/>
+ <stop offset="0.1087" style="stop-color:#A0B1BB"/>
+ <stop offset="0.2" style="stop-color:#B7C2C8"/>
+ <stop offset="0.3046" style="stop-color:#C8CFD3"/>
+ <stop offset="0.4308" style="stop-color:#D5D8DA"/>
+ <stop offset="0.6005" style="stop-color:#DCDDDF"/>
+ <stop offset="1" style="stop-color:#DEDFE0"/>
+ </linearGradient>
+ <path fill="url(#SVGID_15_)"
d="M36.326,43.469h3.167c0.72-1.82,1.111-3.803,1.111-5.874h-4.278V43.469z"/>
+ <linearGradient id="SVGID_16_" gradientUnits="userSpaceOnUse"
x1="40.3608" y1="50.7236" x2="34.035" y2="2.8982">
+ <stop offset="0" style="stop-color:#7894A3"/>
+ <stop offset="0.0281" style="stop-color:#849DAA"/>
+ <stop offset="0.1087" style="stop-color:#A0B1BB"/>
+ <stop offset="0.2" style="stop-color:#B7C2C8"/>
+ <stop offset="0.3046" style="stop-color:#C8CFD3"/>
+ <stop offset="0.4308" style="stop-color:#D5D8DA"/>
+ <stop offset="0.6005" style="stop-color:#DCDDDF"/>
+ <stop offset="1" style="stop-color:#DEDFE0"/>
+ </linearGradient>
+ <path fill="url(#SVGID_16_)"
d="M39.002,51.426c1.172-1.693,1.609-2.33,2.347-4.21h-2.347V51.426z"/>
+ <linearGradient id="SVGID_17_" gradientUnits="userSpaceOnUse"
x1="10.2578" y1="24.1812" x2="21.0127" y2="28.7522">
+ <stop offset="0" style="stop-color:#FFFFFF;stop-opacity:0.85"/>
+ <stop offset="1" style="stop-color:#FFFFFF;stop-opacity:0"/>
+ </linearGradient>
+ <path fill="url(#SVGID_17_)"
d="M20.018,42.479h6.758v-6.758h4.294c0.022-0.226,0.036-0.449,0.042-0.667
+
c0.234-6.033-2.54-12.666-5.106-16.809c-3.652-5.901-5.627-12.72-5.627-12.72s-2.272,4.228-5.426,8.257
+
C9.883,20.234,4.769,28.494,4.764,34.529c-0.007,8.965,5.29,14.277,12.298,14.55c0.998,0.037,1.988-0.084,2.956-0.332v-0.332
+ V42.479z"/>
+ <path fill="none"
d="M26.775,35.721h6.348h4.629c0-8.242-6.448-16.133-10.862-21.895c-4.247-5.544-6.462-10.249-6.462-10.249
+
s-2.207,4.705-6.454,10.249C9.56,19.588,3.104,27.479,3.104,35.721c0,9.569,7.345,17.324,16.914,17.324v-4.629v-5.938h6.758V35.721
+ z"/>
+ <g>
+ <defs>
+ <path id="SVGID_18_"
d="M20.018,42.518h6.758v-6.76h4.294c0.022-0.227,0.036-0.447,0.042-0.67
+
c0.234-6.031-2.54-12.665-5.106-16.807c-3.652-5.899-5.627-12.718-5.627-12.718s-2.272,4.226-5.426,8.254
+
C9.883,20.271,4.769,28.533,4.764,34.568c-0.007,8.965,5.29,14.277,12.298,14.545c0.998,0.037,1.988-0.084,2.956-0.327v-0.336
+ V42.518z"/>
+ </defs>
+ <clipPath id="SVGID_19_">
+ <use xlink:href="#SVGID_18_" overflow="visible"/>
+ </clipPath>
+ <g opacity="0.75" clip-path="url(#SVGID_19_)">
+ <linearGradient id="SVGID_20_"
gradientUnits="userSpaceOnUse" x1="7.6851" y1="40.1489" x2="27.6449"
y2="35.9352">
+ <stop offset="0" style="stop-color:#FFFFFF"/>
+ <stop offset="0.9104"
style="stop-color:#FFFFFF;stop-opacity:0.0896"/>
+ <stop offset="1"
style="stop-color:#FFFFFF;stop-opacity:0"/>
+ </linearGradient>
+ <path fill="url(#SVGID_20_)"
d="M11.17,37.201C1.639,41.6-4.631,48.801-8.654,59.998c0.906-22.021,11.348-32.383,21.426-37.324
+ C10.096,30.873,11.17,37.201,11.17,37.201z"/>
+ <linearGradient id="SVGID_21_"
gradientUnits="userSpaceOnUse" x1="5.8086" y1="31.2808" x2="25.7705"
y2="27.0666">
+ <stop offset="0" style="stop-color:#FFFFFF"/>
+ <stop offset="0.9104"
style="stop-color:#FFFFFF;stop-opacity:0.0896"/>
+ <stop offset="1"
style="stop-color:#FFFFFF;stop-opacity:0"/>
+ </linearGradient>
+ <path fill="url(#SVGID_21_)"
d="M14.901,21.963c-2.67,8.193-1.6,14.521-1.6,14.521c5.67-2.204,14.253-3.093,19.333-3.303
+
c-1.239-7.207-4.009-13.729-4.009-13.729S21.954,19.939,14.901,21.963z"/>
+ </g>
+ </g>
+</g>
+</svg>
Added: nifi/site/trunk/assets/js/app.js
URL:
http://svn.apache.org/viewvc/nifi/site/trunk/assets/js/app.js?rev=1742119&view=auto
==============================================================================
--- nifi/site/trunk/assets/js/app.js (added)
+++ nifi/site/trunk/assets/js/app.js Tue May 3 14:37:10 2016
@@ -0,0 +1,17 @@
+// Foundation JavaScript
+// Documentation can be found at: http://foundation.zurb.com/docs
+$(document).foundation('topbar', {
+ mobile_show_parent_link: false,
+ is_hover: false
+}).foundation('reveal', {
+ animation: 'none'
+});
+
+// load fonts
+$(document).ready(function() {
+ WebFont.load({
+ google: {
+ families: ['Oswald:400,700,300']
+ }
+ });
+});
\ No newline at end of file
Modified: nifi/site/trunk/assets/js/foundation.js
URL:
http://svn.apache.org/viewvc/nifi/site/trunk/assets/js/foundation.js?rev=1742119&r1=1742118&r2=1742119&view=diff
==============================================================================
--- nifi/site/trunk/assets/js/foundation.js (original)
+++ nifi/site/trunk/assets/js/foundation.js Tue May 3 14:37:10 2016
@@ -1,7 +1,7 @@
/*
* Foundation Responsive Library
* http://foundation.zurb.com
- * Copyright 2014, ZURB
+ * Copyright 2015, ZURB
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*/
@@ -10,14 +10,12 @@
'use strict';
var header_helpers = function (class_array) {
- var i = class_array.length;
var head = $('head');
-
- while (i--) {
- if (head.has('.' + class_array[i]).length === 0) {
- head.append('<meta class="' + class_array[i] + '" />');
+ head.prepend($.map(class_array, function (class_name) {
+ if (head.has('.' + class_name).length === 0) {
+ return '<meta class="' + class_name + '" />';
}
- }
+ }));
};
header_helpers([
@@ -290,21 +288,30 @@
return string;
}
+ function MediaQuery(selector) {
+ this.selector = selector;
+ this.query = '';
+ }
+
+ MediaQuery.prototype.toString = function () {
+ return this.query || (this.query =
S(this.selector).css('font-family').replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,
''));
+ };
+
window.Foundation = {
name : 'Foundation',
- version : '5.5.2',
+ version : '5.5.3',
media_queries : {
- 'small' :
S('.foundation-mq-small').css('font-family').replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,
''),
- 'small-only' :
S('.foundation-mq-small-only').css('font-family').replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,
''),
- 'medium' :
S('.foundation-mq-medium').css('font-family').replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,
''),
- 'medium-only' :
S('.foundation-mq-medium-only').css('font-family').replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,
''),
- 'large' :
S('.foundation-mq-large').css('font-family').replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,
''),
- 'large-only' :
S('.foundation-mq-large-only').css('font-family').replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,
''),
- 'xlarge' :
S('.foundation-mq-xlarge').css('font-family').replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,
''),
- 'xlarge-only' :
S('.foundation-mq-xlarge-only').css('font-family').replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,
''),
- 'xxlarge' :
S('.foundation-mq-xxlarge').css('font-family').replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g,
'')
+ 'small' : new MediaQuery('.foundation-mq-small'),
+ 'small-only' : new MediaQuery('.foundation-mq-small-only'),
+ 'medium' : new MediaQuery('.foundation-mq-medium'),
+ 'medium-only' : new MediaQuery('.foundation-mq-medium-only'),
+ 'large' : new MediaQuery('.foundation-mq-large'),
+ 'large-only' : new MediaQuery('.foundation-mq-large-only'),
+ 'xlarge' : new MediaQuery('.foundation-mq-xlarge'),
+ 'xlarge-only' : new MediaQuery('.foundation-mq-xlarge-only'),
+ 'xxlarge' : new MediaQuery('.foundation-mq-xxlarge')
},
stylesheet : $('<style></style>').appendTo('head')[0].sheet,
@@ -729,7 +736,7 @@
Foundation.libs.topbar = {
name : 'topbar',
- version : '5.5.2',
+ version : '5.5.3',
settings : {
index : 0,
@@ -890,17 +897,17 @@
self.toggle(this);
})
.on('click.fndtn.topbar contextmenu.fndtn.topbar', '.top-bar
.top-bar-section li a[href^="#"],[' + this.attr_name() + '] .top-bar-section li
a[href^="#"]', function (e) {
- var li = $(this).closest('li'),
- topbar = li.closest('[' + self.attr_name() + ']'),
- settings = topbar.data(self.attr_name(true) + '-init');
-
- if (settings.dropdown_autoclose && settings.is_hover) {
- var hoverLi = $(this).closest('.hover');
- hoverLi.removeClass('hover');
- }
- if (self.breakpoint() && !li.hasClass('back') &&
!li.hasClass('has-dropdown')) {
- self.toggle();
- }
+ var li = $(this).closest('li'),
+ topbar = li.closest('[' + self.attr_name() + ']'),
+ settings = topbar.data(self.attr_name(true) + '-init');
+
+ if (settings.dropdown_autoclose && settings.is_hover) {
+ var hoverLi = $(this).closest('.hover');
+ hoverLi.removeClass('hover');
+ }
+ if (self.breakpoint() && !li.hasClass('back') &&
!li.hasClass('has-dropdown')) {
+ self.toggle();
+ }
})
.on('click.fndtn.topbar', '[' + this.attr_name() + ']
li.has-dropdown', function (e) {
@@ -1184,10 +1191,12 @@
;;(function ($, window, document, undefined) {
'use strict';
+ var openModals = [];
+
Foundation.libs.reveal = {
name : 'reveal',
- version : '5.5.2',
+ version : '5.5.3',
locked : false,
@@ -1338,7 +1347,7 @@
settings = settings || this.settings;
- if (modal.hasClass('open') && target.attr('data-reveal-id') ==
modal.attr('id')) {
+ if (modal.hasClass('open') && target !== undefined &&
target.attr('data-reveal-id') == modal.attr('id')) {
return self.close(modal);
}
@@ -1371,16 +1380,25 @@
};
}
- if (typeof ajax_settings === 'undefined' || !ajax_settings.url) {
- if (open_modal.length > 0) {
- if (settings.multiple_opened) {
+ var openModal = function() {
+ if(open_modal.length > 0) {
+ if(settings.multiple_opened) {
self.to_back(open_modal);
} else {
self.hide(open_modal, settings.css.close);
}
}
- this.show(modal, settings.css.open);
+ // bl: add the open_modal that isn't already in the background to
the openModals array
+ if(settings.multiple_opened) {
+ openModals.push(modal);
+ }
+
+ self.show(modal, settings.css.open);
+ };
+
+ if (typeof ajax_settings === 'undefined' || !ajax_settings.url) {
+ openModal();
} else {
var old_success = typeof ajax_settings.success !== 'undefined' ?
ajax_settings.success : null;
$.extend(ajax_settings, {
@@ -1401,14 +1419,7 @@
self.S(modal).foundation('section', 'reflow');
self.S(modal).children().foundation();
- if (open_modal.length > 0) {
- if (settings.multiple_opened) {
- self.to_back(open_modal);
- } else {
- self.hide(open_modal, settings.css.close);
- }
- }
- self.show(modal, settings.css.open);
+ openModal();
}
});
@@ -1446,8 +1457,27 @@
}
if (settings.multiple_opened) {
+ var isCurrent = modal.is(':not(.toback)');
self.hide(modal, settings.css.close, settings);
- self.to_front($($.makeArray(open_modals).reverse()[1]));
+ if(isCurrent) {
+ // remove the last modal since it is now closed
+ openModals.pop();
+ } else {
+ // if this isn't the current modal, then find it in the array and
remove it
+ openModals = $.grep(openModals, function(elt) {
+ var isThis = elt[0]===modal[0];
+ if(isThis) {
+ // since it's not currently in the front, put it in the front
now that it is hidden
+ // so that if it's re-opened, it won't be .toback
+ self.to_front(modal);
+ }
+ return !isThis;
+ });
+ }
+ // finally, show the next modal in the stack, if there is one
+ if(openModals.length>0) {
+ self.to_front(openModals[openModals.length - 1]);
+ }
} else {
self.hide(open_modals, settings.css.close, settings);
}
@@ -1520,8 +1550,9 @@
}, settings.animation_speed / 2);
}
+ css.top = $(window).scrollTop() + el.data('css-top') + 'px';
+
if (animData.fade) {
- css.top = $(window).scrollTop() + el.data('css-top') + 'px';
var end_css = {opacity: 1};
return setTimeout(function () {