Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6D7C51890C for ; Fri, 21 Aug 2015 22:55:18 +0000 (UTC) Received: (qmail 93632 invoked by uid 500); 21 Aug 2015 22:55:18 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 93596 invoked by uid 500); 21 Aug 2015 22:55:18 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 93578 invoked by uid 99); 21 Aug 2015 22:55:18 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2015 22:55:18 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 2454CE00DC; Fri, 21 Aug 2015 22:55:18 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: dblotsky@apache.org To: commits@cordova.apache.org Date: Fri, 21 Aug 2015 22:55:20 -0000 Message-Id: <2c3b010bac7b4b91967d6df610122cad@git.apache.org> In-Reply-To: <9d3fce32397344b2998c7f8318ee9fe1@git.apache.org> References: <9d3fce32397344b2998c7f8318ee9fe1@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [3/3] docs commit: Finishing porting Richard's changes. Fixing UI on plugin page a bit. Finishing porting Richard's changes. Fixing UI on plugin page a bit. Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/786c1ab7 Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/786c1ab7 Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/786c1ab7 Branch: refs/heads/cordova-website Commit: 786c1ab71df91023476b1d7fd1ae4ff576bc3e68 Parents: 89d0774 Author: Dmitry Blotsky Authored: Fri Aug 21 15:54:35 2015 -0700 Committer: Dmitry Blotsky Committed: Fri Aug 21 15:54:35 2015 -0700 ---------------------------------------------------------------------- www/plugins/index.html | 103 +---------------------------- www/static/css-src/_plugins.scss | 23 +++++-- www/static/plugins/app.js | 10 +-- www/static/plugins/platformbutton.jsx | 8 +-- 4 files changed, 31 insertions(+), 113 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/786c1ab7/www/plugins/index.html ---------------------------------------------------------------------- diff --git a/www/plugins/index.html b/www/plugins/index.html index d135328..8d8c8ea 100644 --- a/www/plugins/index.html +++ b/www/plugins/index.html @@ -9,105 +9,8 @@ plugins_tab: true
-
-
-

Cordova Plugins

-
-
-
-
-
-
- - - - -
-
- - -
-
-
-
Platform:
- -
-
-
-
- -
-
-

cordova-plugin-android-idfa

-

v1.04 by praves

-
-
-
-
-

Cordova Advertising ID (IDFA) Plugin for Android using Google Play Services API Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

-
-
-
-

License

-

114 downloads last month

-

Last updated 21 days ago

-
-
-
-
- -
-
-

cordova-plugin-android-idfa

-

v1.04 by praves

-
-
-
-
-

Cordova Advertising ID (IDFA) Plugin for Android using Google Play Services API Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

-
-
-
-

License

-

114 downloads last month

-

Last updated 21 days ago

-
-
-
-
- -
-
-

cordova-plugin-android-idfa

-

v1.04 by praves

-
-
-
-
-

Cordova Advertising ID (IDFA) Plugin for Android using Google Play Services API Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

-
-
-
-

License

-

114 downloads last month

-

Last updated 21 days ago

-
-
-
+
+ +
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/786c1ab7/www/static/css-src/_plugins.scss ---------------------------------------------------------------------- diff --git a/www/static/css-src/_plugins.scss b/www/static/css-src/_plugins.scss index 06a8d29..54879a0 100644 --- a/www/static/css-src/_plugins.scss +++ b/www/static/css-src/_plugins.scss @@ -2,12 +2,11 @@ max-width:405px; margin:auto; -} -button.btn { - color:white; + button.btn { + color:white; + } } .whatisplugin_box { - img { float:left; padding-right: 20px; @@ -59,13 +58,27 @@ button.btn { } .filter-by-platform-label { - line-height:40px; display: inline-block; vertical-align: top; + line-height:40px; + margin-right: 1em; } .filter-by-platform-filters { + line-height:40px; display: inline-block; + button.btn { + &.btn-primary { + background-color:$brand-primary; + } + &.btn-default { + background-color:$gray-10; + &:hover { + background-color: $brand-primary; + color: white; + } + } + } } /*** http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/786c1ab7/www/static/plugins/app.js ---------------------------------------------------------------------- diff --git a/www/static/plugins/app.js b/www/static/plugins/app.js index 5948833..7ed6dee 100755 --- a/www/static/plugins/app.js +++ b/www/static/plugins/app.js @@ -5,6 +5,8 @@ var React = window.React = require('react'), // assign it to window fo App = {}, SortDropdown = require('./sortdropdown.jsx'); +var INPUT_DELAY = 500; // in milliseconds + var timer = null; var Constants = { DownloadCountBatch: 100, @@ -71,7 +73,7 @@ var App = React.createClass({ delay(function(){ App.updateURL(previousState.filterText, previousState.staticFilters['platforms']); - }, 2000 ); + }, INPUT_DELAY); return { staticFilters: previousState.staticFilters, @@ -242,7 +244,7 @@ var App = React.createClass({ return plugins; }, updateURL: function(filterText, platformFilters) { - var query = ""; + var query = "?"; var stateObj = {}; if(filterText) { var filterTextLowerCase = filterText; @@ -251,7 +253,7 @@ var App = React.createClass({ } if(platformFilters.length > 0) { - if(!query) { + if(query === "?") { query = "?platforms="; } else { query = query + "&platforms="; @@ -263,7 +265,7 @@ var App = React.createClass({ stateObj.platforms = platformFilters; } - window.history.pushState(stateObj, "", query); + window.history.replaceState(stateObj, "", query); ga('send', 'pageview', '/index.html' + query); }, }, http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/786c1ab7/www/static/plugins/platformbutton.jsx ---------------------------------------------------------------------- diff --git a/www/static/plugins/platformbutton.jsx b/www/static/plugins/platformbutton.jsx index 0002284..0bcd42f 100755 --- a/www/static/plugins/platformbutton.jsx +++ b/www/static/plugins/platformbutton.jsx @@ -19,17 +19,17 @@ var PlatformButton = React.createClass({ if(this.state.isActive) { return (
  • - +
  • ); } else { return (
  • - +
  • ); } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org For additional commands, e-mail: commits-help@cordova.apache.org