incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r1293076 - in /incubator/cordova/site: bin/config.json bin/gen.rb public/images/cordova_bot.png public/index.html public/master.css www/images/cordova_bot.png www/master.less www/template.html
Date Fri, 24 Feb 2012 04:37:52 GMT
Author: yohei
Date: Fri Feb 24 04:37:52 2012
New Revision: 1293076

URL: http://svn.apache.org/viewvc?rev=1293076&view=rev
Log:
Responsive design implemented for cordova site - the site is now mobile ready

Added:
    incubator/cordova/site/public/images/cordova_bot.png   (with props)
    incubator/cordova/site/www/images/cordova_bot.png   (with props)
Modified:
    incubator/cordova/site/bin/config.json
    incubator/cordova/site/bin/gen.rb
    incubator/cordova/site/public/index.html
    incubator/cordova/site/public/master.css
    incubator/cordova/site/www/master.less
    incubator/cordova/site/www/template.html

Modified: incubator/cordova/site/bin/config.json
URL: http://svn.apache.org/viewvc/incubator/cordova/site/bin/config.json?rev=1293076&r1=1293075&r2=1293076&view=diff
==============================================================================
--- incubator/cordova/site/bin/config.json (original)
+++ incubator/cordova/site/bin/config.json Fri Feb 24 04:37:52 2012
@@ -1,10 +1,42 @@
 {
 	"releases":[
-		/*{
+		{
 			"version": 	"1.4",
 			"file": 	"#",
 			"note": 	"#"
-		}*/
+		},    {
+    			"version": 	"1.4",
+    			"file": 	"#",
+    			"note": 	"#"
+    		},    {
+        			"version": 	"1.4",
+        			"file": 	"#",
+        			"note": 	"#"
+        		},    {
+            			"version": 	"1.4",
+            			"file": 	"#",
+            			"note": 	"#"
+            		},    {
+                			"version": 	"1.4",
+                			"file": 	"#",
+                			"note": 	"#"
+                		},    {
+                    			"version": 	"1.4",
+                    			"file": 	"#",
+                    			"note": 	"#"
+                    		},    {
+                        			"version": 	"1.4",
+                        			"file": 	"#",
+                        			"note": 	"#"
+                        		},    {
+                            			"version": 	"1.4",
+                            			"file": 	"#",
+                            			"note": 	"#"
+                            		},    {
+                                			"version": 	"1.4",
+                                			"file": 	"#",
+                                			"note": 	"#"
+                                		}
 	],
 	
 	"repos":{

Modified: incubator/cordova/site/bin/gen.rb
URL: http://svn.apache.org/viewvc/incubator/cordova/site/bin/gen.rb?rev=1293076&r1=1293075&r2=1293076&view=diff
==============================================================================
--- incubator/cordova/site/bin/gen.rb (original)
+++ incubator/cordova/site/bin/gen.rb Fri Feb 24 04:37:52 2012
@@ -42,32 +42,41 @@ view[:links_general] = sitemap['general'
 view[:links_dev] = sitemap['dev']
 view[:links_asf] = sitemap['asf']
 
-# preparing to generate site
-tmp_directory = 'tmp'
-Dir.mkdir( tmp_directory ) unless File.exists?( tmp_directory )
-
-# copying files from www
-files = Dir.glob( 'www/*' )
-FileUtils.cp_r( files, tmp_directory )
+# preparing to generate site 
+# To avoid conflict with svn, I'm changing this part
+pub_directory = 'public'
+Dir.mkdir( pub_directory ) unless File.exists?( pub_directory )
+
+
+files = Dir.glob( 'www/*.{jpg,png,html,css,js}' )
+FileUtils.cp_r( files, pub_directory )
+
+files = Dir.glob( 'www/js/*.{jpg,png,html,css,js}' )
+FileUtils.cp_r( files, pub_directory + '/js')
+
+files = Dir.glob( 'www/images/*.{jpg,png,html,css,js}' )
+FileUtils.cp_r( files, pub_directory + '/images')
+
 
 # generating index.html
-File.open( tmp_directory + '/index.html', 'w' ) do | file | 
+File.open( pub_directory + '/index.html', 'w' ) do | file | 
     file_data = view.render( data )
     file_data = file_data.gsub( /(\r|\n)<\![\s-]{0,5}localstart[^*]+?localend[\s-]{0,5}>|<!--\spublicstart[^<]+|\spublicend[^*]+?-->/,
'' )
     file.puts view.render( file_data )
 end
 
 # LessCSS
-system( "lessc www/master.less > " + tmp_directory + "/master.css" )
+system( "lessc www/master.less > " + pub_directory + "/master.css" )
 
 # remove unnecessary files
-delete_files = ['/template.html', '/js/local.js', '/js/less-1.1.5.min.js', '/master.less']
+delete_files = ['/template.html', '/js/less-1.1.5.min.js', 'master.less']
 for i in delete_files
-    File.delete( tmp_directory+i ) unless !File.exists?( tmp_directory+i )
+    File.delete( pub_directory+i ) unless !File.exists?( pub_directory+i )
 end
 
 # rename tmp folder to public
-p_files = Dir.glob( 'public/*' )
-FileUtils.rm_rf( p_files ) unless !File.exists?( tmp_directory )
-File.rename( tmp_directory, 'public' )
+# To avoid conflict with svn, I'm changing this part
+# p_files = Dir.glob( 'public/*' )
+# FileUtils.rm_rf( p_files ) unless !File.exists?( pub_directory )
+# File.rename( tmp_directory, 'public' )
 

Added: incubator/cordova/site/public/images/cordova_bot.png
URL: http://svn.apache.org/viewvc/incubator/cordova/site/public/images/cordova_bot.png?rev=1293076&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/cordova/site/public/images/cordova_bot.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: incubator/cordova/site/public/index.html
URL: http://svn.apache.org/viewvc/incubator/cordova/site/public/index.html?rev=1293076&r1=1293075&r2=1293076&view=diff
==============================================================================
--- incubator/cordova/site/public/index.html (original)
+++ incubator/cordova/site/public/index.html Fri Feb 24 04:37:52 2012
@@ -3,9 +3,21 @@
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
 <meta name = "format-detection" content = "telephone=no">
+<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1,
width=device-width" />
 <title>Apache Cordova</title>
 <link rel="stylesheet" type="text/css" href="master.css">
 <script src="js/smooth.pack.js" type="text/javascript"></script>
+<script type="text/javascript">
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-94271-30']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+  })();
+</script>
 </head>
 <body>
 <a class="scroll-point pt-top" name="top"></div>
@@ -17,8 +29,15 @@
     		<a href="#contribute">Contribute</a>
     		<a href="#mailing-list">Mailing List</a>
     		<a href="#download">Download</a>
-            <!-- <a href="#">Docs</a> -->
     	</div>
+    	<form class="menu-dropdown">
+			<select onchange="location = this.options[this.selectedIndex].value;">
+            	<option value="#about">About</option>
+            	<option value="#contribute">Contribute</option>
+            	<option value="#mailing-list">Mailing List</option>
+            	<option value="#download">Download</option>
+			</select>
+		</form>
     </div>
     <div class="shadow"></div>
 </div>
@@ -26,13 +45,16 @@
 
 <div class="grid leadin">
     <div class="wrap">
-        <img src="images/cordova_bot.jpg" alt=""/>
+        <img src="images/cordova_bot.png" alt=""/>
         <ul class="text-block">
             <li><h1><strong>Apache Cordova</strong> is a platform</h1></li>
             <li><h1>for building native mobile</h1></li>
             <li><h1>application using <strong>HTML</strong>, <strong>CSS</strong></h1></li>
             <li><h1>and <strong>JavaScript</strong></h1></li>
         </ul>
+		<div class="button-container">
+			<a class="button" href="#">DOWNLOAD<label>Cordova Ver 1.4</label></a>
+		</div>
     </div>
 </div>
 
@@ -109,7 +131,7 @@
     <h2 class="icon icon-download">Download &amp; Archives</h2>
 	<p>By downloading, you agree to the <a href="#">terms of service</a>.</p>
 	<div class="button-container">
-    	<div class="button">Coming Soon<label></label></div>
+        <a class="button" href="#">DOWNLOAD<label>Cordova Ver 1.4</label></a>
 	</div>
 </div>
 
@@ -118,6 +140,27 @@
         <div class="corner"></div>
 		<br/>
 		<br/>
+        <div class="list-header mini">Past Releases</div>
+		<br/>
+		<br/>
+		<div class="download-list-container">
+			<ul class="list download-list">
+				<li><a href="#" class="version">1.4</a><a href="" class="release">Release
Notes</a></li>
+				<li><a href="#" class="version">1.4</a><a href="" class="release">Release
Notes</a></li>
+				<li><a href="#" class="version">1.4</a><a href="" class="release">Release
Notes</a></li>
+			</ul>
+
+			<ul class="list download-list second">
+				<li><a href="#" class="version">1.4</a><a href="" class="release">Release
Notes</a></li>
+				<li><a href="#" class="version">1.4</a><a href="" class="release">Release
Notes</a></li>
+				<li><a href="#" class="version">1.4</a><a href="" class="release">Release
Notes</a></li>
+			</ul>
+
+			<ul class="list download-list third">
+				<li><a href="#" class="version">1.4</a><a href="" class="release">Release
Notes</a></li>
+				<li><a href="#" class="version">1.4</a><a href="" class="release">Release
Notes</a></li>
+			</ul>
+		</div>
     </div>
 </div>
 
@@ -137,10 +180,10 @@
 <div class="grid">
     <div class="wrap">
 		<div class="list-container">
-			<div class="list quick-links">
+			<ul class="list quick-links">
                 <li class="corner"></li>
 				<li><a href="#about">About Cordova<span></span></a></li><li><a
href="http://incubator.apache.org/projects/callback.html">Incubator Page<span></span></a></li><li><a
href="http://www.apache.org/licenses/LICENSE-2.0">License<span></span></a></li>
-			</div>
+			</ul>
 
 			<ul class="list quick-links">
                 <li class="corner"></li>

Modified: incubator/cordova/site/public/master.css
URL: http://svn.apache.org/viewvc/incubator/cordova/site/public/master.css?rev=1293076&r1=1293075&r2=1293076&view=diff
==============================================================================
--- incubator/cordova/site/public/master.css (original)
+++ incubator/cordova/site/public/master.css Fri Feb 24 04:37:52 2012
@@ -1,9 +1,10 @@
-*{margin:0;padding:0;}
+*{margin:0;padding:0;-webkit-text-size-adjust:none;}
 body,a{color:#3b4854;}
 .animate-background{-webkit-transition:background 0.25s linear;-moz-transition:background
0.25s linear;transition:background 0.25s linear;}
 .animate{-webkit-transition:all 0.25s linear;-moz-transition:all 0.25s linear;transition:all
0.25s linear;}
 .secondary-bg{background:url(images/grid.png) #eeeeee 50% 0%;}
 .sprite{background:url(images/sprite.png) no-repeat;}
+.ellipsis{overflow:hidden;display:block;text-overflow:ellipsis;white-space:nowrap;}
 body,h1,h2,h3,h4{font-size:16px;font-family:'HelveticaNeue-Light',Helvetica,Arial,sans-serif;font-weight:300;}
 h1,h2,h3,h4{letter-spacing:0.05em;}
 h1{font-size:34px;}
@@ -31,6 +32,8 @@ hr{border:none;border-top:1px solid #ddd
 .menu{padding:16px 0;float:right;}
 .menu a{text-decoration:none;-webkit-transition:all 0.25s linear;-moz-transition:all 0.25s
linear;transition:all 0.25s linear;padding:16px;margin:0 8px;line-height:55px;}
 .menu a:hover{color:#4cc2e4;}
+.menu-dropdown{display:none;position:absolute;right:16px;top:32px;width:40%;}
+.menu-dropdown select{width:100%;}
 .leadin{margin-bottom:32px;}
 .leadin .wrap{height:368px;}
 .leadin .text-block{position:absolute;left:384px;top:64px;}
@@ -90,3 +93,4 @@ a.scroll-point{display:block;border-bott
 a.pt-top{border:none;}
 a.pt-about{margin:-100px 0 130px;border:none;}
 .corner,.quick-links .corner{background:url(images/sprite.png) no-repeat;background-position:0
-808px;position:absolute;left:0;top:-32px;width:40px;height:40px;}
+@media all and (max-width:1024px){#wrap,.wrap,#footer,hr{width:auto;} .wrap,#footer{margin-left:24px;margin-right:24px;}
.download-list,.download-list.second,.download-list.third{width:30%;} .download-list.second{left:33%;}
.download-list.third{left:66%;} .quick-links,.quick-links-header li{width:30%;} .platforms-list{width:48%;}
h1{font-size:30px;} .button-container{right:16px;}}@media all and (max-width:890px){h1{font-size:24px;}
h2{font-size:24px;padding-top:54px;} .leadin img{top:0;width:240px;height:270px;} .leadin
.text-block{top:32px;left:290px;} .button{width:250px;padding:12px;} .leadin .wrap{height:300px;}
.mailing-list{width:auto;} .menu{display:none;} .menu-dropdown{display:block;}}@media all
and (max-width:720px){body{font-size:14px;} h1{font-size:22px;} h2{font-size:22px;padding-top:54px;}
.leadin img{width:192px;height:216px;} .leadin .text-block{top:32px;left:232px;} .button{font-size:20px;background-position:100%
-177px;width:220px;padding:10px;} .leadin .wr
 ap{height:280px;} .platforms-list li.first a.link-apache,.platforms-list li.first a.link-github{width:36px;}
.platforms-list li.first a.link-apache{right:39px;} .mailing-list li{padding:8px 4px;} .mailing-list
a{width:56%;padding-right:42px;overflow:hidden;display:block;text-overflow:ellipsis;white-space:nowrap;}
.download-list .version{width:28%;} .menu-dropdown{top:16px;} #header,.header-placeholder{height:52px;}
.logo{top:7px;width:110px;height:37px;background-size:112px 425px;} #footer{padding-bottom:28px;padding-right:72px;}}@media
all and (max-width:630px){body{} .leadin img{left:-4px;width:160px;height:180px;} .leadin
.text-block{left:175px;top:11px;} .leadin .wrap{height:240px;} .leadin .button-container{bottom:-10px;}
.button{font-size:18px;background-position:100% -181px;width:200px;padding:8px;} .download-list
.version{width:22%;}}@media all and (max-width:570px){h1{font-size:16px;} .leadin img{width:128px;height:144px;}
.leadin .text-block{left:130px;} .wrap,#foo
 ter{margin-left:12px;margin-right:12px;} .leadin .wrap{height:200px;} .icon{background-size:112px
425px;padding:20px 48px 20px 48px;overflow:hidden;display:block;text-overflow:ellipsis;white-space:nowrap;}
.icon-about{background-position:0 -110px;} .icon-contribute{background-position:0 -158px;}
.icon-mailing-list{background-position:0 -206px;} .icon-download{background-position:0 -254px;}
.icon-quick-links{background-position:0 -302px;} .platforms-list,.platforms-list.second{width:auto;position:static;padding-bottom:0;}
.platforms-list.second{padding-top:0;} .mailing-list a{width:0;padding-right:30px;} .download-list,.download-list.second,.download-list.third{width:auto;float:none;position:static;margin-bottom:0;}
.download-list.second,.download-list.third{padding-top:0;} .quick-links-header{display:none;}
.quick-links,.quick-links-header li{float:none;width:auto;margin-right:0;} .quick-links .corner{display:none;}
.quick-links{padding-top:0;}}@media all and (max-width:390p
 x){.leadin .button-container{display:none;} .leadin .text-block{top:140px;left:6px;} .leadin
.wrap{height:260px;} .icon{padding:22px 16px 20px 35px;} h2{font-size:20px;} hr{margin-top:32px;}}

Added: incubator/cordova/site/www/images/cordova_bot.png
URL: http://svn.apache.org/viewvc/incubator/cordova/site/www/images/cordova_bot.png?rev=1293076&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/cordova/site/www/images/cordova_bot.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: incubator/cordova/site/www/master.less
URL: http://svn.apache.org/viewvc/incubator/cordova/site/www/master.less?rev=1293076&r1=1293075&r2=1293076&view=diff
==============================================================================
--- incubator/cordova/site/www/master.less (original)
+++ incubator/cordova/site/www/master.less Fri Feb 24 04:37:52 2012
@@ -1,6 +1,7 @@
 * {
     margin: 0;
     padding: 0;
+    -webkit-text-size-adjust:none;
 }
 
 body {
@@ -18,6 +19,8 @@ body, a {
 @full-width:	@column*3 + @gutter*2;
 @gap:			32px;
 
+@background-half-size: 112px 425px;
+
 @main-color:        #3b4854;
 @key-color:         #4cc2e4;
 @key-color-hover:   #4cd6fc;
@@ -43,6 +46,13 @@ body, a {
 	background: url(images/sprite.png) no-repeat
 }
 
+.ellipsis {
+    overflow: hidden;
+    display: block;
+    text-overflow: ellipsis;
+    white-space: nowrap;
+}
+
 /*---------------------------------------------------
 	Font
 ---------------------------------------------------*/
@@ -216,6 +226,18 @@ hr {
     color: @key-color;
 }
 
+.menu-dropdown {
+    display: none;
+    position: absolute;
+    right: @padding;
+    top: @gap;
+    width: 40%;
+}
+
+.menu-dropdown select{
+    width: 100%;
+}
+
 /*---------------------------------------------------
 	Layout - Leadin
 ---------------------------------------------------*/
@@ -554,3 +576,257 @@ a.pt-about {
 .quick-links .corner {
 }
 
+
+/*---------------------------------------------------
+	Mobile
+---------------------------------------------------*/
+@mobile-pad: 24px;
+
+@media all and (max-width:1024px) { 
+    #wrap, .wrap, #footer, hr {
+        width: auto;
+    }    
+    .wrap, #footer {
+        margin-left: @mobile-pad;
+        margin-right: @mobile-pad;
+    }       
+    .download-list, .download-list.second, .download-list.third {
+        width: 30%;
+    }
+    .download-list.second {
+        left: 33%;
+    }
+    .download-list.third {
+        left: 66%;
+    }
+    .quick-links, .quick-links-header li {
+        width: 30%;
+    }
+    .platforms-list {
+        width: 48%;
+    }    
+    h1 {
+        font-size: 30px;
+    }
+    .button-container {
+        right: @padding;
+    }
+}
+
+@media all and (max-width:890px) { 
+    h1 {
+        font-size: 24px;
+    }
+    h2 {
+        font-size: 24px;
+        padding-top: 54px;
+    }
+    .leadin img {
+        top: 0;
+        width: 240px;
+        height: 270px;
+    }
+    .leadin .text-block  {
+        top: 32px;
+       left: 290px;
+    }
+    .button {
+        width: 250px;
+        padding: 12px;
+    }
+    .leadin .wrap {
+        height: 300px;
+    }
+    .mailing-list {
+        width: auto;
+    }
+    .menu {
+        display: none;
+    }
+    .menu-dropdown {
+        display: block;
+    }
+}
+
+@media all and (max-width:720px) { 
+    body {
+        font-size: 14px;
+    }
+    h1 {
+        font-size: 22px;
+    }
+    h2 {
+        font-size: 22px;
+        padding-top: 54px;
+    }
+    .leadin img {
+        width: 192px;
+        height: 216px;
+    }
+    .leadin .text-block  {
+        top: 32px;
+       left: 232px;
+    }
+    .button {
+        font-size: 20px;
+        background-position: 100% -177px;
+        width: 220px;
+        padding: 10px;
+    }
+    .leadin .wrap {
+        height: 280px;
+    }
+    .platforms-list li.first a.link-apache, .platforms-list li.first a.link-github {
+        width: @link-box;
+    }
+    .platforms-list li.first a.link-apache {
+        right: @link-box + @link-box-gap;
+    }
+    .mailing-list li {
+        padding: 8px 4px;
+    }
+    .mailing-list a {
+        width: 56%;
+        padding-right: 42px;
+        .ellipsis;
+    }
+    .download-list .version {
+        width: 28%;
+    }
+    .menu-dropdown {
+        top: @padding;
+    }
+    #header, .header-placeholder {
+        height: 52px;
+    }
+    .logo {
+        top: 7px;
+        width: 110px;
+        height: 37px;
+        background-size: @background-half-size;
+    }
+    #footer {
+        padding-bottom: 28px;
+		padding-right: 72px;
+    }
+}
+
+@media all and (max-width:630px) { 
+    body {
+/*        font-size: 14px;*/
+    }
+    .leadin img {
+        left: -4px;
+        width: 160px;
+        height: 180px;
+    }
+    .leadin .text-block  {
+       left: 175px;
+       top: 11px;
+    }
+    .leadin .wrap {
+        height: 240px;
+    }
+    .leadin .button-container {
+        bottom: -10px;
+    }
+    .button {
+        font-size: 18px;
+        background-position: 100% -181px;
+        width: 200px;
+        padding: 8px;
+    }
+    .download-list .version {
+        width: 22%;
+    }
+}
+
+@media all and (max-width:570px) {  
+    h1 {
+        font-size: 16px;
+    }
+    .leadin img {
+         width: 128px;
+         height: 144px;
+    }
+    .leadin .text-block  {
+       left: 130px;
+    }
+    .wrap, #footer {
+        margin-left: 12px;
+        margin-right: 12px;
+    }
+    .leadin .wrap {
+        height: 200px;
+    }
+    .icon {
+        background-size: @background-half-size;
+        padding: 20px 48px 20px 48px;
+        .ellipsis;
+    }
+    @spacer-mini: @spacer/2;
+    @spacer-base-mini: @spacer-base/2;
+    .icon-about { 			    background-position: 0 @spacer-base-mini;}
+    .icon-contribute { 			background-position: 0 @spacer-base-mini - @spacer-mini;}
+    .icon-mailing-list { 		background-position: 0 @spacer-base-mini - @spacer-mini*2;}
+    .icon-download { 			background-position: 0 @spacer-base-mini - @spacer-mini*3;}
+    .icon-quick-links { 		background-position: 0 @spacer-base-mini - @spacer-mini*4;}
+
+	.platforms-list, .platforms-list.second {
+		width: auto;
+		position: static;
+		padding-bottom: 0;
+	}
+	.platforms-list.second {
+		padding-top: 0;
+	}
+	.mailing-list a {
+		width: 0;
+		padding-right: 30px;
+	}	
+	.download-list, .download-list.second, .download-list.third {
+		width: auto;
+		float: none;
+		position: static;
+		margin-bottom: 0;
+	}
+	.download-list.second, .download-list.third {
+		padding-top: 0;
+	}
+	.quick-links-header {
+		display: none;
+	}
+	.quick-links, .quick-links-header li {
+		float: none;
+		width: auto;
+		margin-right: 0;
+	}
+	.quick-links .corner {
+		display: none;
+	}
+	.quick-links {
+		padding-top: 0;
+	}
+}
+
+@media all and (max-width:390px) {  
+    .leadin .button-container {
+		display: none;
+	}
+	.leadin .text-block {
+		top: 140px;
+		left: 6px;
+	}
+	.leadin .wrap {
+		height: 260px;
+	}
+	.icon {
+		padding: 22px 16px 20px 35px;
+	}
+	h2 {
+		font-size: 20px;
+	}
+	hr {
+		margin-top: 32px;
+	}
+}

Modified: incubator/cordova/site/www/template.html
URL: http://svn.apache.org/viewvc/incubator/cordova/site/www/template.html?rev=1293076&r1=1293075&r2=1293076&view=diff
==============================================================================
--- incubator/cordova/site/www/template.html (original)
+++ incubator/cordova/site/www/template.html Fri Feb 24 04:37:52 2012
@@ -3,6 +3,7 @@
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
 <meta name = "format-detection" content = "telephone=no">
+<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1,
width=device-width" />
 <title>Apache Cordova</title>
 <!-- localstart -->
 <link rel="stylesheet/less" type="text/css" href="master.less">
@@ -10,6 +11,17 @@
 <!-- localend -->
 <!-- publicstart <link rel="stylesheet" type="text/css" href="master.css"> publicend
-->
 <script src="js/smooth.pack.js" type="text/javascript"></script>
+<script type="text/javascript">
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-94271-30']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+  })();
+</script>
 </head>
 <body>
 <a class="scroll-point pt-top" name="top"></div>
@@ -21,8 +33,15 @@
     		<a href="#contribute">Contribute</a>
     		<a href="#mailing-list">Mailing List</a>
     		<a href="#download">Download</a>
-            <!-- <a href="#">Docs</a> -->
     	</div>
+    	<form class="menu-dropdown">
+			<select onchange="location = this.options[this.selectedIndex].value;">
+            	<option value="#about">About</option>
+            	<option value="#contribute">Contribute</option>
+            	<option value="#mailing-list">Mailing List</option>
+            	<option value="#download">Download</option>
+			</select>
+		</form>
     </div>
     <div class="shadow"></div>
 </div>
@@ -30,7 +49,7 @@
 
 <div class="grid leadin">
     <div class="wrap">
-        <img src="images/cordova_bot.jpg" alt=""/>
+        <img src="images/cordova_bot.png" alt=""/>
         <ul class="text-block">
             <li><h1><strong>Apache Cordova</strong> is a platform</h1></li>
             <li><h1>for building native mobile</h1></li>
@@ -175,10 +194,10 @@
 <div class="grid">
     <div class="wrap">
 		<div class="list-container">
-			<div class="list quick-links">
+			<ul class="list quick-links">
                 <li class="corner"></li>
 				{{#links_general}}<li><a href="{{url}}">{{title}}<span></span></a></li>{{/links_general}}
-			</div>
+			</ul>
 
 			<ul class="list quick-links">
                 <li class="corner"></li>



Mime
View raw message