You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by yo...@apache.org on 2012/03/15 01:25:23 UTC
svn commit: r1300795 - in /incubator/cordova/site: bin/ public/
public/downloads/ public/images/ www/ www/downloads/ www/images/
Author: yohei
Date: Thu Mar 15 00:25:21 2012
New Revision: 1300795
URL: http://svn.apache.org/viewvc?rev=1300795&view=rev
Log:
added artwork section
Added:
incubator/cordova/site/public/artwork.html
incubator/cordova/site/public/downloads/
incubator/cordova/site/public/downloads/icons.zip (with props)
incubator/cordova/site/public/downloads/logos.zip (with props)
incubator/cordova/site/public/downloads/screens.zip (with props)
incubator/cordova/site/public/images/cordova_128.png (with props)
incubator/cordova/site/public/images/cordova_16.png (with props)
incubator/cordova/site/public/images/cordova_24.png (with props)
incubator/cordova/site/public/images/cordova_256.png (with props)
incubator/cordova/site/public/images/cordova_32.png (with props)
incubator/cordova/site/public/images/cordova_48.png (with props)
incubator/cordova/site/public/images/cordova_512.png (with props)
incubator/cordova/site/public/images/cordova_64.png (with props)
incubator/cordova/site/public/images/logo_full.png (with props)
incubator/cordova/site/public/images/splash.png (with props)
incubator/cordova/site/www/artwork.html
incubator/cordova/site/www/downloads/
incubator/cordova/site/www/downloads/icons.zip (with props)
incubator/cordova/site/www/downloads/logos.zip (with props)
incubator/cordova/site/www/downloads/screens.zip (with props)
incubator/cordova/site/www/images/cordova_128.png (with props)
incubator/cordova/site/www/images/cordova_16.png (with props)
incubator/cordova/site/www/images/cordova_24.png (with props)
incubator/cordova/site/www/images/cordova_256.png (with props)
incubator/cordova/site/www/images/cordova_32.png (with props)
incubator/cordova/site/www/images/cordova_48.png (with props)
incubator/cordova/site/www/images/cordova_512.png (with props)
incubator/cordova/site/www/images/cordova_64.png (with props)
incubator/cordova/site/www/images/logo_full.png (with props)
incubator/cordova/site/www/images/splash.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
Modified: incubator/cordova/site/bin/config.json
URL: http://svn.apache.org/viewvc/incubator/cordova/site/bin/config.json?rev=1300795&r1=1300794&r2=1300795&view=diff
==============================================================================
--- incubator/cordova/site/bin/config.json (original)
+++ incubator/cordova/site/bin/config.json Thu Mar 15 00:25:21 2012
@@ -67,15 +67,16 @@
"sitemap":{
"general":[
- { "title":"About Cordova", "url":"#about" },
+ { "title":"About Cordova", "url":"index.html#about" },
{ "title":"Incubator Page", "url":"http://incubator.apache.org/projects/callback.html" },
- { "title":"License", "url":"http://www.apache.org/licenses/LICENSE-2.0" }
+ { "title":"License", "url":"http://www.apache.org/licenses/LICENSE-2.0" },
+ { "title":"Artwork", "url":"artwork.html" }
],
"dev":[
- { "title":"Download", "url":"#download" },
+ { "title":"Download", "url":"index.html#download" },
{ "title":"Source Code", "url":"https://git-wip-us.apache.org/repos/asf" },
{ "title":"License", "url":"http://www.apache.org/licenses/LICENSE-2.0" },
- { "title":"Mailing List", "url":"#mailing-list" },
+ { "title":"Mailing List", "url":"index.html#mailing-list" },
{ "title":"Issue Tracker", "url":"https://issues.apache.org/jira/browse/CB" },
{ "title":"Wiki", "url":"http://wiki.apache.org/cordova/" }
],
Modified: incubator/cordova/site/bin/gen.rb
URL: http://svn.apache.org/viewvc/incubator/cordova/site/bin/gen.rb?rev=1300795&r1=1300794&r2=1300795&view=diff
==============================================================================
--- incubator/cordova/site/bin/gen.rb (original)
+++ incubator/cordova/site/bin/gen.rb Thu Mar 15 00:25:21 2012
@@ -5,9 +5,19 @@ require 'json'
require 'ftools'
require 'Fileutils.rb'
+class TemplateIndex < Mustache
+ self.template_file = File.dirname( __FILE__ ) + '/../www/template.html'
+end
+
+class TemplateArtwork < Mustache
+ self.template_file = File.dirname( __FILE__ ) + '/../www/artwork.html'
+end
+
# preparation for mustache
-Mustache.template_file = File.dirname( __FILE__ ) + '/../www/template.html'
-view = Mustache.new
+# Mustache.template_file = File.dirname( __FILE__ ) + '/../www/template.html'
+# Mustache.template_file = File.dirname( __FILE__ ) + '/../www/template.html'
+tempIndex = TemplateIndex.new
+tempArt = TemplateArtwork.new
json_file = File.dirname( __FILE__ ) + '/config.json';
data = JSON.parse( IO.read( json_file ) )
@@ -18,53 +28,73 @@ if releases.length > 0
archives = releases.slice(1, releases.length)
len = archives.length;
column_len = ( len / 3.0 ).ceil
- view[:download_set1] = archives.slice( 0, column_len )
- view[:download_set2] = archives.slice( column_len, column_len )
- view[:download_set3] = archives.slice( column_len*2, column_len )
- view[:latest_version] = latest_item['version']
- view[:download_link] = latest_item['file']
- view[:hide_archives] = len == 0
+ tempIndex[:download_set1] = archives.slice( 0, column_len )
+ tempIndex[:download_set2] = archives.slice( column_len, column_len )
+ tempIndex[:download_set3] = archives.slice( column_len*2, column_len )
+ tempIndex[:latest_version] = latest_item['version']
+ tempIndex[:download_link] = latest_item['file']
+ tempIndex[:hide_archives] = len == 0
else
- view[:hide_archives] = true
- view[:no_download] = true
+ tempIndex[:hide_archives] = true
+ tempIndex[:no_download] = true
end
# list of repos
repos = data['repos']
-view[:repo_platforms] = repos['platforms']
-view[:repo_platforms][0]['first'] = true
-view[:repo_other] = repos['other']
-view[:repo_other][0]['first'] = true
+tempIndex[:repo_platforms] = repos['platforms']
+tempIndex[:repo_platforms][0]['first'] = true
+tempIndex[:repo_other] = repos['other']
+tempIndex[:repo_other][0]['first'] = true
# quicklinks / sitemap
sitemap = data['sitemap']
-view[:links_general] = sitemap['general']
-view[:links_dev] = sitemap['dev']
-view[:links_asf] = sitemap['asf']
+tempIndex[:links_general] = tempArt[:links_general] = sitemap['general']
+tempIndex[:links_dev] = tempArt[:links_dev] = sitemap['dev']
+tempIndex[:links_asf] = tempArt[:links_asf] = sitemap['asf']
# 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 )
+folders = [pub_directory, pub_directory + '/js', pub_directory + '/images', pub_directory + '/downloads']
+for i in folders
+ Dir.mkdir( i ) unless File.exists?( i )
+end
-files = Dir.glob( 'www/*.{jpg,png,html,css,js}' )
-FileUtils.cp_r( files, pub_directory )
+folders = ['', '/js', '/images', '/downloads']
-files = Dir.glob( 'www/js/*.{jpg,png,html,css,js}' )
-FileUtils.cp_r( files, pub_directory + '/js')
+for i in folders
+ files = Dir.glob( 'www' + i + '/*.{jpg,png,html,css,js,zip}' )
+ FileUtils.cp_r( files, pub_directory + i )
+end
+
+#
+# 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')
+#
+# files = Dir.glob( 'www/downloads/*.{jpg,png,html,css,js}' )
+# FileUtils.cp_r( files, pub_directory + '/images')
-files = Dir.glob( 'www/images/*.{jpg,png,html,css,js}' )
-FileUtils.cp_r( files, pub_directory + '/images')
# generating index.html
File.open( pub_directory + '/index.html', 'w' ) do | file |
- file_data = view.render( data )
+ file_data = tempIndex.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 )
+ file.puts tempIndex.render( file_data )
end
+File.open( pub_directory + '/artwork.html', 'w' ) do | file |
+ file_data = tempArt.render( data )
+ file_data = file_data.gsub( /(\r|\n)<\![\s-]{0,5}localstart[^*]+?localend[\s-]{0,5}>|<!--\spublicstart[^<]+|\spublicend[^*]+?-->/, '' )
+ file.puts tempArt.render( file_data )
+end
+
+
# LessCSS
system( "lessc www/master.less > " + pub_directory + "/master.css" )
Added: incubator/cordova/site/public/artwork.html
URL: http://svn.apache.org/viewvc/incubator/cordova/site/public/artwork.html?rev=1300795&view=auto
==============================================================================
--- incubator/cordova/site/public/artwork.html (added)
+++ incubator/cordova/site/public/artwork.html Thu Mar 15 00:25:21 2012
@@ -0,0 +1,122 @@
+<!DOCTYPE html>
+<html>
+<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>
+<div id="header">
+ <div class="wrap">
+ <a class="logo" href="index.html#top"></a>
+ <div class="menu">
+ <a href="index.html#about">About</a>
+ <a href="index.html#contribute">Contribute</a>
+ <a href="index.html#mailing-list">Mailing List</a>
+ <a href="index.html#download">Download</a>
+ </div>
+ <form class="menu-dropdown">
+ <select onchange="location = this.options[this.selectedIndex].value;">
+ <option value="index.html#about">About</option>
+ <option value="index.html#contribute">Contribute</option>
+ <option value="index.html#mailing-list">Mailing List</option>
+ <option value="index.html#download">Download</option>
+ </select>
+ </form>
+ </div>
+ <div class="shadow"></div>
+</div>
+<div class="header-placeholder"></div>
+
+<div class="wrap">
+ <h2 class="">Apache Cordova Artwork</h2>
+</div>
+<div class="grid">
+ <div class="wrap">
+ <div class="button-container middle">
+ <a class="button" href="downloads/icons.zip">ICON SET<label>512x512~16x16</label></a>
+ </div>
+ <p><img src="images/cordova_256.png" alt=""/><img src="images/cordova_128.png" alt=""/><img src="images/cordova_64.png" alt=""/><img src="images/cordova_48.png" alt=""/><img src="images/cordova_32.png" alt=""/><img src="images/cordova_24.png" alt=""/><img src="images/cordova_16.png" alt=""/>
+ </p>
+ </div>
+</div>
+<br/>
+<div class="grid">
+ <div class="wrap">
+ <div class="button-container middle">
+ <a class="button" href="downloads/logos.zip">LOGO SET<label>2 Sets of 4 Variations</label></a>
+ </div>
+ <p><img src="images/logo_full.png" alt=""/></p>
+ </div>
+</div>
+<br/>
+<div class="grid">
+ <div class="wrap">
+ <div class="button-container middle">
+ <a class="button" href="downloads/screens.zip">SPLASH SCREENS<label>For iPhone, iPad, etc.</label></a>
+ </div>
+ <p><br/><img src="images/splash.png" alt=""/></p>
+ </div>
+</div>
+
+
+
+<hr/>
+
+<div class="wrap quick-links-pane">
+ <h2 class="icon icon-quick-links">Quick Links</h2>
+ <br/>
+ <ul class="quick-links-header">
+ <li>General</li>
+ <li>Development</li>
+ <li class="last">Apache Software Foundation</li>
+ </ul>
+ <div class="clear"></div>
+</div>
+
+<div class="grid">
+ <div class="wrap">
+ <div class="list-container">
+ <ul class="list quick-links">
+ <li class="corner"></li>
+ <li><a href="index.html#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><li><a href="artwork.html">Artwork<span></span></a></li>
+ </ul>
+
+ <ul class="list quick-links">
+ <li class="corner"></li>
+ <li><a href="index.html#download">Download<span></span></a></li><li><a href="https://git-wip-us.apache.org/repos/asf">Source Code<span></span></a></li><li><a href="http://www.apache.org/licenses/LICENSE-2.0">License<span></span></a></li><li><a href="index.html#mailing-list">Mailing List<span></span></a></li><li><a href="https://issues.apache.org/jira/browse/CB">Issue Tracker<span></span></a></li><li><a href="http://wiki.apache.org/cordova/">Wiki<span></span></a></li>
+ </ul>
+
+ <ul class="list quick-links last">
+ <li class="corner"></li>
+ <li><a href="http://www.apache.org/">About ASF<span></span></a></li><li><a href="http://www.apache.org/foundation/thanks.html">Thanks<span></span></a></li><li><a href="http://www.apache.org/foundation/sponsorship.html">Become a Sponsor<span></span></a></li><li><a href="http://www.apache.org/security/">Security<span></span></a></li>
+ </ul>
+
+ <div class="clear"></div>
+ </div>
+ </div>
+</div>
+
+<div id="footer">
+ <p>Copyright © 2012 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.<br/>
+ Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+ <a class="closing" href="#top"></a>
+</div>
+
+</body>
+</html>
Added: incubator/cordova/site/public/downloads/icons.zip
URL: http://svn.apache.org/viewvc/incubator/cordova/site/public/downloads/icons.zip?rev=1300795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cordova/site/public/downloads/icons.zip
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cordova/site/public/downloads/logos.zip
URL: http://svn.apache.org/viewvc/incubator/cordova/site/public/downloads/logos.zip?rev=1300795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cordova/site/public/downloads/logos.zip
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cordova/site/public/downloads/screens.zip
URL: http://svn.apache.org/viewvc/incubator/cordova/site/public/downloads/screens.zip?rev=1300795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cordova/site/public/downloads/screens.zip
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cordova/site/public/images/cordova_128.png
URL: http://svn.apache.org/viewvc/incubator/cordova/site/public/images/cordova_128.png?rev=1300795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cordova/site/public/images/cordova_128.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cordova/site/public/images/cordova_16.png
URL: http://svn.apache.org/viewvc/incubator/cordova/site/public/images/cordova_16.png?rev=1300795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cordova/site/public/images/cordova_16.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cordova/site/public/images/cordova_24.png
URL: http://svn.apache.org/viewvc/incubator/cordova/site/public/images/cordova_24.png?rev=1300795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cordova/site/public/images/cordova_24.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cordova/site/public/images/cordova_256.png
URL: http://svn.apache.org/viewvc/incubator/cordova/site/public/images/cordova_256.png?rev=1300795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cordova/site/public/images/cordova_256.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cordova/site/public/images/cordova_32.png
URL: http://svn.apache.org/viewvc/incubator/cordova/site/public/images/cordova_32.png?rev=1300795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cordova/site/public/images/cordova_32.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cordova/site/public/images/cordova_48.png
URL: http://svn.apache.org/viewvc/incubator/cordova/site/public/images/cordova_48.png?rev=1300795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cordova/site/public/images/cordova_48.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cordova/site/public/images/cordova_512.png
URL: http://svn.apache.org/viewvc/incubator/cordova/site/public/images/cordova_512.png?rev=1300795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cordova/site/public/images/cordova_512.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cordova/site/public/images/cordova_64.png
URL: http://svn.apache.org/viewvc/incubator/cordova/site/public/images/cordova_64.png?rev=1300795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cordova/site/public/images/cordova_64.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cordova/site/public/images/logo_full.png
URL: http://svn.apache.org/viewvc/incubator/cordova/site/public/images/logo_full.png?rev=1300795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cordova/site/public/images/logo_full.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cordova/site/public/images/splash.png
URL: http://svn.apache.org/viewvc/incubator/cordova/site/public/images/splash.png?rev=1300795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cordova/site/public/images/splash.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=1300795&r1=1300794&r2=1300795&view=diff
==============================================================================
--- incubator/cordova/site/public/index.html (original)
+++ incubator/cordova/site/public/index.html Thu Mar 15 00:25:21 2012
@@ -158,12 +158,12 @@
<div class="list-container">
<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>
+ <li><a href="index.html#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><li><a href="artwork.html">Artwork<span></span></a></li>
</ul>
<ul class="list quick-links">
<li class="corner"></li>
- <li><a href="#download">Download<span></span></a></li><li><a href="https://git-wip-us.apache.org/repos/asf">Source Code<span></span></a></li><li><a href="http://www.apache.org/licenses/LICENSE-2.0">License<span></span></a></li><li><a href="#mailing-list">Mailing List<span></span></a></li><li><a href="https://issues.apache.org/jira/browse/CB">Issue Tracker<span></span></a></li><li><a href="http://wiki.apache.org/cordova/">Wiki<span></span></a></li>
+ <li><a href="index.html#download">Download<span></span></a></li><li><a href="https://git-wip-us.apache.org/repos/asf">Source Code<span></span></a></li><li><a href="http://www.apache.org/licenses/LICENSE-2.0">License<span></span></a></li><li><a href="index.html#mailing-list">Mailing List<span></span></a></li><li><a href="https://issues.apache.org/jira/browse/CB">Issue Tracker<span></span></a></li><li><a href="http://wiki.apache.org/cordova/">Wiki<span></span></a></li>
</ul>
<ul class="list quick-links last">
Modified: incubator/cordova/site/public/master.css
URL: http://svn.apache.org/viewvc/incubator/cordova/site/public/master.css?rev=1300795&r1=1300794&r2=1300795&view=diff
==============================================================================
--- incubator/cordova/site/public/master.css (original)
+++ incubator/cordova/site/public/master.css Thu Mar 15 00:25:21 2012
@@ -93,4 +93,5 @@ 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;}
+.button-container.middle{bottom:0;}
@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:16px;} 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:585px){h1,h2,h3,h4{letter-spacing:0;} h1{font-size:18px;} .leadin img{width:128px;height:144px;} .leadin .tex
t-block{left:130px;} .wrap,#footer{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:440px){.leadin .button-container{display:none;} .leadin .text-block{top:135px;left:-4px;right:-4px;} .leadin img{top:-8px;} .leadin .wrap{height:260px;} .icon{padding:22px 16px 20px 35px;} h2{font-size:20px;} hr{margin-top:32px;}}
Added: incubator/cordova/site/www/artwork.html
URL: http://svn.apache.org/viewvc/incubator/cordova/site/www/artwork.html?rev=1300795&view=auto
==============================================================================
--- incubator/cordova/site/www/artwork.html (added)
+++ incubator/cordova/site/www/artwork.html Thu Mar 15 00:25:21 2012
@@ -0,0 +1,126 @@
+<!DOCTYPE html>
+<html>
+<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">
+<script src="js/less-1.1.5.min.js" type="text/javascript"></script>
+<!-- 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>
+<div id="header">
+ <div class="wrap">
+ <a class="logo" href="index.html#top"></a>
+ <div class="menu">
+ <a href="index.html#about">About</a>
+ <a href="index.html#contribute">Contribute</a>
+ <a href="index.html#mailing-list">Mailing List</a>
+ <a href="index.html#download">Download</a>
+ </div>
+ <form class="menu-dropdown">
+ <select onchange="location = this.options[this.selectedIndex].value;">
+ <option value="index.html#about">About</option>
+ <option value="index.html#contribute">Contribute</option>
+ <option value="index.html#mailing-list">Mailing List</option>
+ <option value="index.html#download">Download</option>
+ </select>
+ </form>
+ </div>
+ <div class="shadow"></div>
+</div>
+<div class="header-placeholder"></div>
+
+<div class="wrap">
+ <h2 class="">Apache Cordova Artwork</h2>
+</div>
+<div class="grid">
+ <div class="wrap">
+ <div class="button-container middle">
+ <a class="button" href="downloads/icons.zip">ICON SET<label>512x512~16x16</label></a>
+ </div>
+ <p><img src="images/cordova_256.png" alt=""/><img src="images/cordova_128.png" alt=""/><img src="images/cordova_64.png" alt=""/><img src="images/cordova_48.png" alt=""/><img src="images/cordova_32.png" alt=""/><img src="images/cordova_24.png" alt=""/><img src="images/cordova_16.png" alt=""/>
+ </p>
+ </div>
+</div>
+<br/>
+<div class="grid">
+ <div class="wrap">
+ <div class="button-container middle">
+ <a class="button" href="downloads/logos.zip">LOGO SET<label>2 Sets of 4 Variations</label></a>
+ </div>
+ <p><img src="images/logo_full.png" alt=""/></p>
+ </div>
+</div>
+<br/>
+<div class="grid">
+ <div class="wrap">
+ <div class="button-container middle">
+ <a class="button" href="downloads/screens.zip">SPLASH SCREENS<label>For iPhone, iPad, etc.</label></a>
+ </div>
+ <p><br/><img src="images/splash.png" alt=""/></p>
+ </div>
+</div>
+
+
+
+<hr/>
+
+<div class="wrap quick-links-pane">
+ <h2 class="icon icon-quick-links">Quick Links</h2>
+ <br/>
+ <ul class="quick-links-header">
+ <li>General</li>
+ <li>Development</li>
+ <li class="last">Apache Software Foundation</li>
+ </ul>
+ <div class="clear"></div>
+</div>
+
+<div class="grid">
+ <div class="wrap">
+ <div class="list-container">
+ <ul class="list quick-links">
+ <li class="corner"></li>
+ {{#links_general}}<li><a href="{{url}}">{{title}}<span></span></a></li>{{/links_general}}
+ </ul>
+
+ <ul class="list quick-links">
+ <li class="corner"></li>
+ {{#links_dev}}<li><a href="{{url}}">{{title}}<span></span></a></li>{{/links_dev}}
+ </ul>
+
+ <ul class="list quick-links last">
+ <li class="corner"></li>
+ {{#links_asf}}<li><a href="{{url}}">{{title}}<span></span></a></li>{{/links_asf}}
+ </ul>
+
+ <div class="clear"></div>
+ </div>
+ </div>
+</div>
+
+<div id="footer">
+ <p>Copyright © 2012 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.<br/>
+ Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+ <a class="closing" href="#top"></a>
+</div>
+
+</body>
+</html>
Added: incubator/cordova/site/www/downloads/icons.zip
URL: http://svn.apache.org/viewvc/incubator/cordova/site/www/downloads/icons.zip?rev=1300795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cordova/site/www/downloads/icons.zip
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cordova/site/www/downloads/logos.zip
URL: http://svn.apache.org/viewvc/incubator/cordova/site/www/downloads/logos.zip?rev=1300795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cordova/site/www/downloads/logos.zip
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cordova/site/www/downloads/screens.zip
URL: http://svn.apache.org/viewvc/incubator/cordova/site/www/downloads/screens.zip?rev=1300795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cordova/site/www/downloads/screens.zip
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cordova/site/www/images/cordova_128.png
URL: http://svn.apache.org/viewvc/incubator/cordova/site/www/images/cordova_128.png?rev=1300795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cordova/site/www/images/cordova_128.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cordova/site/www/images/cordova_16.png
URL: http://svn.apache.org/viewvc/incubator/cordova/site/www/images/cordova_16.png?rev=1300795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cordova/site/www/images/cordova_16.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cordova/site/www/images/cordova_24.png
URL: http://svn.apache.org/viewvc/incubator/cordova/site/www/images/cordova_24.png?rev=1300795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cordova/site/www/images/cordova_24.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cordova/site/www/images/cordova_256.png
URL: http://svn.apache.org/viewvc/incubator/cordova/site/www/images/cordova_256.png?rev=1300795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cordova/site/www/images/cordova_256.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cordova/site/www/images/cordova_32.png
URL: http://svn.apache.org/viewvc/incubator/cordova/site/www/images/cordova_32.png?rev=1300795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cordova/site/www/images/cordova_32.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cordova/site/www/images/cordova_48.png
URL: http://svn.apache.org/viewvc/incubator/cordova/site/www/images/cordova_48.png?rev=1300795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cordova/site/www/images/cordova_48.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cordova/site/www/images/cordova_512.png
URL: http://svn.apache.org/viewvc/incubator/cordova/site/www/images/cordova_512.png?rev=1300795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cordova/site/www/images/cordova_512.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cordova/site/www/images/cordova_64.png
URL: http://svn.apache.org/viewvc/incubator/cordova/site/www/images/cordova_64.png?rev=1300795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cordova/site/www/images/cordova_64.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cordova/site/www/images/logo_full.png
URL: http://svn.apache.org/viewvc/incubator/cordova/site/www/images/logo_full.png?rev=1300795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cordova/site/www/images/logo_full.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/cordova/site/www/images/splash.png
URL: http://svn.apache.org/viewvc/incubator/cordova/site/www/images/splash.png?rev=1300795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/cordova/site/www/images/splash.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=1300795&r1=1300794&r2=1300795&view=diff
==============================================================================
--- incubator/cordova/site/www/master.less (original)
+++ incubator/cordova/site/www/master.less Thu Mar 15 00:25:21 2012
@@ -576,6 +576,10 @@ a.pt-about {
.quick-links .corner {
}
+.button-container.middle {
+ bottom: 0;
+}
+
/*---------------------------------------------------
Mobile