cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [20/32] git commit: Added in LESS statements to import the pages. Began breaking pages out to separate LESS sheets.
Date Mon, 20 Jan 2014 18:42:10 GMT
Added in LESS statements to import the pages. Began breaking pages out to separate LESS sheets.


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/4e7adf93
Tree: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/tree/4e7adf93
Diff: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/diff/4e7adf93

Branch: refs/heads/refactor
Commit: 4e7adf9325f27b77a59dcaf641014a17cde4a18d
Parents: 9269035
Author: Josh Bavari <josh@raisemore.com>
Authored: Sun Jan 19 01:06:33 2014 -0600
Committer: Josh Bavari <josh@raisemore.com>
Committed: Sun Jan 19 01:06:33 2014 -0600

----------------------------------------------------------------------
 attachments/css/pages/home.less           | 12 ++++++
 attachments/css/pages/packageDetails.less |  1 +
 attachments/css/pages/viewAll.less        |  1 +
 attachments/css/styles.css                | 12 ++++++
 attachments/css/styles.less               |  6 ++-
 attachments/index.html                    |  3 +-
 attachments/js/controllers/home.js        |  2 +-
 attachments/partials/views/home.html      | 59 ++++++++++++++++++++++----
 8 files changed, 84 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4e7adf93/attachments/css/pages/home.less
----------------------------------------------------------------------
diff --git a/attachments/css/pages/home.less b/attachments/css/pages/home.less
new file mode 100644
index 0000000..358adf8
--- /dev/null
+++ b/attachments/css/pages/home.less
@@ -0,0 +1,12 @@
+/* Home styles */
+
+#main-container {
+	height: 350px;
+	padding-top: 80px;
+}
+
+.discover-message {
+	background-color: white;
+	font-size: 36px;
+	margin: 1px;
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4e7adf93/attachments/css/pages/packageDetails.less
----------------------------------------------------------------------
diff --git a/attachments/css/pages/packageDetails.less b/attachments/css/pages/packageDetails.less
new file mode 100644
index 0000000..38d7617
--- /dev/null
+++ b/attachments/css/pages/packageDetails.less
@@ -0,0 +1 @@
+/* Package Details styles */
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4e7adf93/attachments/css/pages/viewAll.less
----------------------------------------------------------------------
diff --git a/attachments/css/pages/viewAll.less b/attachments/css/pages/viewAll.less
new file mode 100644
index 0000000..49c759b
--- /dev/null
+++ b/attachments/css/pages/viewAll.less
@@ -0,0 +1 @@
+/* View all page styles */
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4e7adf93/attachments/css/styles.css
----------------------------------------------------------------------
diff --git a/attachments/css/styles.css b/attachments/css/styles.css
index cc025f7..253de85 100644
--- a/attachments/css/styles.css
+++ b/attachments/css/styles.css
@@ -3929,3 +3929,15 @@ div.left {
         margin-left:-162px;
     }*/
 }
+/* Home styles */
+#main-container {
+  height: 350px;
+  padding-top: 80px;
+}
+.discover-message {
+  background-color: white;
+  font-size: 36px;
+  margin: 1px;
+}
+/* Package Details styles */
+/* View all page styles */

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4e7adf93/attachments/css/styles.less
----------------------------------------------------------------------
diff --git a/attachments/css/styles.less b/attachments/css/styles.less
index 90309d3..17592bd 100644
--- a/attachments/css/styles.less
+++ b/attachments/css/styles.less
@@ -12,4 +12,8 @@
 @import "header.less";
 @import "footer.less";
 
-@import "media.less";
\ No newline at end of file
+@import "media.less";
+
+@import "pages/home.less";
+@import "pages/packageDetails.less";
+@import "pages/viewAll.less";
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4e7adf93/attachments/index.html
----------------------------------------------------------------------
diff --git a/attachments/index.html b/attachments/index.html
index a020457..2ba586b 100644
--- a/attachments/index.html
+++ b/attachments/index.html
@@ -37,8 +37,7 @@
         <div class="topcoat-grid header-links">
           <div class="topcoat-grid__column--12">
             <a href="plugins.html">Find Plugins</a>
-            <a href="signup.html">Create Account</a>
-            &nbsp;|&nbsp;
+            <a href="signup.html">Create Account</a> 
             <a href="signin.html">Sign In</a>
           </div>
         </div>

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4e7adf93/attachments/js/controllers/home.js
----------------------------------------------------------------------
diff --git a/attachments/js/controllers/home.js b/attachments/js/controllers/home.js
index ff457b9..0b935f0 100644
--- a/attachments/js/controllers/home.js
+++ b/attachments/js/controllers/home.js
@@ -1,6 +1,6 @@
 angular.module('registry.controllers').controller('HomeController', ['$rootScope', '$scope',
'$location', '$http', function($rootScope, $scope, $location, $http) {
     
-    $scope.totalPlugins = null;
+    $scope.totalPlugins = 0;
     
     $scope.getTotalPlugins = function(){
         //console.log($scope.packageID);

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4e7adf93/attachments/partials/views/home.html
----------------------------------------------------------------------
diff --git a/attachments/partials/views/home.html b/attachments/partials/views/home.html
index b5c784b..8062ff5 100644
--- a/attachments/partials/views/home.html
+++ b/attachments/partials/views/home.html
@@ -1,10 +1,53 @@
 <div id="main-container" class="grid">
-    <div ng-show='totalPlugins'>
-        <a href="/#/viewAll">Browse all {{totalPlugins}} plugins</a>
-    </div>
-    <div id="top-packages">
-        <div id="latest-packages"><div class="top-title">Latest Updates</div></div>
-        <div id="top-dep-packages"><div class="top-title">Most Depended On</div></div>
-<div class="clear"></div>
-    </div>
+
+	<div class="topcoat-grid">
+		<div class="topcoat-grid__row">
+			<div class="topcoat-grid__column--3 topcoat-grid__offset--1">
+				<h1 class="discover-message">Discover plugins for your </h1>
+				<h1 class="discover-message">Apache Cordova project.</h1>
+			</div>
+			<div class="topcoat-grid__column--5">
+				<img src="" alt="pluggy the robot" />
+			</div>
+		</div>
+
+		<div class="topcoat-grid__row">
+			<div class="topcoat-grid__column--3 topcoat-grid__offset--1">
+				<a href="/#/viewAll">Browse all {{totalPlugins}} plugins</a>
+			</div>
+		</div>
+
+		<div class="topcoat-grid__row">
+			<div class="topcoat-grid__column--6">
+				Contribute
+			</div>
+			<div class="topcoat-grid__column--6">
+				Utilize
+			</div>
+		</div>
+
+		<div class="topcoat-grid__row">
+			<div class="topcoat-grid__column--6">
+				Most Downloaded
+			</div>
+			<div class="topcoat-grid__column--6">
+				Last Updated
+			</div>
+		</div>		
+
+		<div class="topcoat-grid__row">
+			<div class="topcoat-grid__column--6">
+				
+			</div>
+			<div class="topcoat-grid__column--6">
+				
+			</div>
+		</div>
+	</div>
+
+	<!-- <div id="top-packages">
+		<div id="latest-packages"><div class="top-title">Latest Updates</div></div>
+		<div id="top-dep-packages"><div class="top-title">Most Depended On</div></div>
+		<div class="clear"></div>
+	</div> -->
 </div>


Mime
View raw message