You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2014/04/07 23:07:12 UTC
[16/53] [abbrv] git commit: Fixed markup on partials - improved
layout for plugin details'
Fixed markup on partials - improved layout for plugin details'
Project: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/commit/82c33146
Tree: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/tree/82c33146
Diff: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/diff/82c33146
Branch: refs/heads/master
Commit: 82c331467da6882fc237edf565af3f5f2aa68a53
Parents: 9a30fbf
Author: Josh Bavari <jo...@raisemore.com>
Authored: Wed Mar 19 10:40:30 2014 -0500
Committer: Josh Bavari <jo...@raisemore.com>
Committed: Wed Mar 19 10:40:30 2014 -0500
----------------------------------------------------------------------
attachments/partials/directives/topbar.html | 2 +-
attachments/partials/views/home.html | 15 +++++++------
attachments/partials/views/packageDetails.html | 24 ++++++++++++++++-----
3 files changed, 28 insertions(+), 13 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/82c33146/attachments/partials/directives/topbar.html
----------------------------------------------------------------------
diff --git a/attachments/partials/directives/topbar.html b/attachments/partials/directives/topbar.html
index ee5fa8e..0ed2343 100644
--- a/attachments/partials/directives/topbar.html
+++ b/attachments/partials/directives/topbar.html
@@ -10,7 +10,7 @@
<div class="column-12--hand column-1--lap topbar-spacer invisible--hand visible--lap">
OR
</div>
- <div class="column-12--hand column-4--lap topbar-browse">
+ <div class="column-12--hand column-3--lap topbar-browse">
<a href="/#/viewAll" class="">Browse all {{totalPlugins}} plugins</a>
</div>
</div>
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/82c33146/attachments/partials/views/home.html
----------------------------------------------------------------------
diff --git a/attachments/partials/views/home.html b/attachments/partials/views/home.html
index ff809b4..44b4482 100644
--- a/attachments/partials/views/home.html
+++ b/attachments/partials/views/home.html
@@ -15,22 +15,22 @@
<div class="">
<div class="row" class="call-to-action-panes">
- <div class="column-10--hand offset-1--hand column-4--lap">
+ <div class="column-10--hand offset-1--hand column-4--lap offset-2--lap">
<div class="call-to-action-pane">
<div class="call-to-action-pane-left-triangle"><div></div></div>
<div class="call-to-action-pane-right-triangle"><div></div></div>
<div class="row">
- <div class="column-12--hand">
- <img class="call-to-action-img" title="Contrib flyer" src="/images/contribute.png" />
+ <div class="column-12--hand center">
+ <img class="call-to-action-img" title="Contrib flyer" src="/img/contribute.png" />
</div>
</div>
<div class="row">
- <div class="column-12--hand">
+ <div class="column-12--hand center">
<h2>Contribute</h2>
</div>
</div>
<div class="row">
- <div class="column-10--hand offset-1--hand">
+ <div class="column-12--hand">
<h4>Want to <span> author & publish</span> plugins?</h4>
<a href="pleaseread.html">Please read our docs.</a>
</div>
@@ -40,13 +40,13 @@
<div class="call-to-action-mid-spacer visible--lap invisible--hand">
<div class="icon-cordova logo"></div>
</div>
- <div class="column-10--hand offset-1--hand column-4--lap">
+ <div class="column-10--hand offset-1--hand column-4--lap offset-0--lap">
<div class="call-to-action-pane">
<div class="call-to-action-pane-left-triangle"><div></div></div>
<div class="call-to-action-pane-right-triangle"><div></div></div>
<div class="row">
<div class="column-12--hand">
- <img class="call-to-action-img" title="Utilize wrench" src="/images/utilize.png" />
+ <img class="call-to-action-img" title="Utilize wrench" src="/img/utilize.png" />
</div>
</div>
<div class="row">
@@ -89,6 +89,7 @@
</div>
</div>
</div>
+ <div ng-show="mostDownloaded.length == 0">No data available</div>
</div>
<div class="column-12--hand visible--hand invisible--lap">
<div class="row home-plugin-listing-headers">
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/82c33146/attachments/partials/views/packageDetails.html
----------------------------------------------------------------------
diff --git a/attachments/partials/views/packageDetails.html b/attachments/partials/views/packageDetails.html
index 50277ba..6db5e4d 100644
--- a/attachments/partials/views/packageDetails.html
+++ b/attachments/partials/views/packageDetails.html
@@ -1,7 +1,9 @@
<div class="viewContainer row">
<div class="column-8--hand offset-2--hand">
- <a ng-click="backToSearch()">Back to search results</a>
+ <div class="row top-button"
+ <a ng-click="backToSearch()"><i class="icon-left-dir"></i>Back to search results</a>
+ </div>
<div class="row toprow">
<div class="package-label column-8--hand">Plugin ID</div>
@@ -30,20 +32,23 @@
<div class="package-label column-12--hand">Maintainers</div>
</div>
<div class="row">
- <div class="column-12--hand">
+ <div class="column-12--hand ">
<span class="" ng-repeat="maintainer in maintainers">{{maintainer.name}}<span ng-show="{{maintainers.length -1 != $index}}">, </span></span>
</div>
</div>
</div>
- <div ng-show="platforms" class="space">
+ <div class="space">
<div class="row">
<div class="package-label column-12--hand">Platforms</div>
</div>
<div class="row">
- <div class="column-12--hand">
+ <div class="column-12--hand" ng-show="platforms">
<span class="" ng-repeat="platform in platforms">{{platform}}<span ng-show="{{platforms.length -1 != $index}}">, </span></span>
</div>
+ <div class="column-12--hand" ng-hide="platforms">
+ Not specified
+ </div>
</div>
</div>
@@ -65,7 +70,7 @@
</div>
</div>
- <div ng-show="platforms" class="space">
+ <div ng-show="keywords" class="space">
<div class="row">
<div class="package-label column-12--hand">Keywords</div>
</div>
@@ -76,6 +81,15 @@
</div>
</div>
+ <div class="space">
+ <div class="row">
+ <div class="package-label column-12--hand">Install {{description}} using the <a href="http://cordova.apache.org/docs/en/edge/guide_cli_index.md.html#The%20Command-line%20Interface">Cordova CLI:</a></div>
+ </div>
+ <div class="row">
+ <span>$</span> cordova plugin add {{packageID}}
+ </div>
+ </div>
+
<div ng-show="readme" class="readme">
<div class="package-readme">Read Me</div>
<div class="" ng-bind-html="readme"></div>