You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2013/07/12 20:47:44 UTC
svn commit: r1502652 [1/3] - in /cordova/site: ./ bin/ public/ public/blog/
public/blog/2013/ public/blog/2013/07/ public/blog/2013/07/11/ public/css/
public/images/ www/ www/_includes/ www/_layouts/ www/_posts/ www/blog/
www/css/ www/docs/ www/downloa...
Author: agrieve
Date: Fri Jul 12 18:47:43 2013
New Revision: 1502652
URL: http://svn.apache.org/r1502652
Log:
Convert our site to use Jekyll instead of mustache.
- Adds a blog section with a first post.
- Adds a favicon
- Tweaks Rakefile & friends
Change was mostly made by csantana23@gmail.com.
Added:
cordova/site/_config.yml
cordova/site/bin/serve.rb
cordova/site/public/blog/
cordova/site/public/blog/2013/
cordova/site/public/blog/2013/07/
cordova/site/public/blog/2013/07/11/
cordova/site/public/blog/2013/07/11/cordova-has-a-blog.html
cordova/site/public/blog/index.html
cordova/site/public/css/
cordova/site/public/css/main.css (with props)
cordova/site/public/css/master.css
cordova/site/public/css/syntax.css
cordova/site/public/favicon.ico (with props)
cordova/site/public/images/valid-rss-rogers.png (with props)
cordova/site/public/rss.xml
cordova/site/www/_includes/
cordova/site/www/_includes/footer.html
cordova/site/www/_includes/head.html
cordova/site/www/_includes/header.html
cordova/site/www/_includes/links.html
cordova/site/www/_layouts/
cordova/site/www/_layouts/cordova.html
cordova/site/www/_layouts/default.html
cordova/site/www/_layouts/post.html
cordova/site/www/_posts/
cordova/site/www/_posts/2013-07-08-cordova-has-a-blog.md
cordova/site/www/blog/
cordova/site/www/blog/index.html
cordova/site/www/css/
cordova/site/www/css/_master.less
cordova/site/www/css/main.css (with props)
cordova/site/www/css/syntax.css
cordova/site/www/favicon.ico (with props)
cordova/site/www/index.html
cordova/site/www/rss.xml
Removed:
cordova/site/public/master.css
cordova/site/www/docs/
cordova/site/www/downloads/
cordova/site/www/images/
cordova/site/www/js/less-1.1.5.min.js
cordova/site/www/master.less
cordova/site/www/template.html
Modified:
cordova/site/Gemfile
cordova/site/README.md
cordova/site/Rakefile
cordova/site/bin/gen.rb
cordova/site/public/artwork.html
cordova/site/public/index.html
cordova/site/www/artwork.html
Modified: cordova/site/Gemfile
URL: http://svn.apache.org/viewvc/cordova/site/Gemfile?rev=1502652&r1=1502651&r2=1502652&view=diff
==============================================================================
--- cordova/site/Gemfile (original)
+++ cordova/site/Gemfile Fri Jul 12 18:47:43 2013
@@ -1,7 +1,5 @@
-source :rubygems
-gem 'libv8', '~> 3.11.8.3', :platform => :ruby
+source "https://rubygems.org"
+gem 'jekyll'
gem 'rake'
-gem 'mustache'
-gem 'json'
Modified: cordova/site/README.md
URL: http://svn.apache.org/viewvc/cordova/site/README.md?rev=1502652&r1=1502651&r2=1502652&view=diff
==============================================================================
--- cordova/site/README.md (original)
+++ cordova/site/README.md Fri Jul 12 18:47:43 2013
@@ -5,10 +5,8 @@ Cordova Website
Dependencies
------------
-- Mustache for Ruby
-- LessCSS
-- JSON
-- See `Gemfile` for more details, and below on how to install these.
+- Jekyll
+- See `Gemfile` for more details, and below on how to install.
Get the source code
-------------------
@@ -33,10 +31,19 @@ How to compile the site
$ rake build
# the site is generated in `public/` with an index.html file that
- # can be opened as a local file in your browser.
- $ open public/index.html
+ # can be opened using:
+ $ rake serve
+Where to make changes
+----------------------
+The files that are served by cordova.apache.org live in public/.
+
+"rake build" uses lesscss & jekyll to compile some files from www/ into public/
+
+Some files live only in public/, and changes to them should be made directly. The
+list of these can be found in _config.yml.
+
How to update the docs
----------------------
@@ -49,7 +56,7 @@ How to update the docs
$ cp -r /path/to/cordova-docs/public/ /path/to/cordova-website/public/docs
# update the "Documentation" URL on the site to point to the latest version of the docs
- $ vi bin/config.json
+ $ vi _config.yml
search for "Documentation"
change the version number in the URL to the latest (likely what you added above)
@@ -66,10 +73,3 @@ How to deploy the website
- the website is automatically updated on each commit.
- the website should update within seconds.
-
-Things you should know
-----------------------
-
-- `bin/config.json` + `www/template.html` + Mustache outputs `index.html`
-- `bin/config.json` contains information for: download & archives, quick links, and list of repos
-- the site can be tested by running `www` locally. This is handy for modifying css
Modified: cordova/site/Rakefile
URL: http://svn.apache.org/viewvc/cordova/site/Rakefile?rev=1502652&r1=1502651&r2=1502652&view=diff
==============================================================================
--- cordova/site/Rakefile (original)
+++ cordova/site/Rakefile Fri Jul 12 18:47:43 2013
@@ -1,4 +1,8 @@
task :build do
- require 'bin/gen.rb'
+ require './bin/gen.rb'
puts 'site compiled'
end
+task :serve do
+ require './bin/serve.rb'
+ puts 'site served'
+end
\ No newline at end of file
Added: cordova/site/_config.yml
URL: http://svn.apache.org/viewvc/cordova/site/_config.yml?rev=1502652&view=auto
==============================================================================
--- cordova/site/_config.yml (added)
+++ cordova/site/_config.yml Fri Jul 12 18:47:43 2013
@@ -0,0 +1,184 @@
+baseurl:
+name: Apache Cordova
+description: Apache Cordova is a set of device APIs that allow a web mobile app developer to access native device function from JavaScript.
+source: www
+destination: public
+keep_files: ['.git', '.svn', 'docs', 'wiki-images', 'css', 'images', 'downloads']
+rss_path: /rss.xml
+#GitHub Pages defaults
+safe: true
+lsi: false
+pygments: true
+
+#From old config.json
+"releases": {
+ "version": "2.9.0",
+ "file": "https://www.apache.org/dist/cordova/",
+ "note": "Apache Cordova 2.9.0"
+}
+
+"sitemap": {
+ "about": {
+ "title": "About Cordova",
+ "url": "/index.html#about"
+ },
+ "artwork": {
+ "title": "Artwork",
+ "url": "/artwork.html"
+ },
+ "download": {
+ "title": "Download",
+ "url": "/index.html#download"
+ },
+ "mailing-list": {
+ "title": "Mailing List",
+ "url": "/index.html#mailing-list"
+ },
+ "docs": {
+ "title": "Documentation",
+ "url": "http://cordova.apache.org/docs/en/2.9.0/"
+ },
+ "general": [
+ {
+ "title": "Apache Project Page",
+ "url": "http://projects.apache.org/projects/cordova.html"
+ },
+ {
+ "title": "License",
+ "url": "http://www.apache.org/licenses/LICENSE-2.0"
+ }
+ ],
+ "dev": [
+ {
+ "title": "Source Code",
+ "url": "https://git-wip-us.apache.org/repos/asf"
+ },
+ {
+ "title": "Issue Tracker",
+ "url": "https://issues.apache.org/jira/browse/CB"
+ },
+ {
+ "title": "Wiki",
+ "url": "http://wiki.apache.org/cordova/"
+ }
+ ],
+ "asf": [
+ {
+ "title": "About ASF",
+ "url": "http://www.apache.org/"
+ },
+ {
+ "title": "Thanks",
+ "url": "http://www.apache.org/foundation/thanks.html"
+ },
+ {
+ "title": "Become a Sponsor",
+ "url": "http://www.apache.org/foundation/sponsorship.html"
+ },
+ {
+ "title": "Security",
+ "url": "http://www.apache.org/security/"
+ }
+ ]
+}
+"repos": {
+ "platforms": [
+ {
+ "name": "Android",
+ "github": "https://github.com/apache/cordova-android",
+ "apache": "https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=summary",
+ "css": "first"
+ },
+ {
+ "name": "Bada",
+ "github": "https://github.com/apache/cordova-bada",
+ "apache": "https://git-wip-us.apache.org/repos/asf?p=cordova-bada.git;a=summary"
+ },
+ {
+ "name": "Blackberry",
+ "github": "https://github.com/apache/cordova-blackberry",
+ "apache": "https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;a=summary"
+ },
+ {
+ "name": "iOS",
+ "github": "https://github.com/apache/cordova-ios",
+ "apache": "https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;a=summary"
+ },
+ {
+ "name": "Mac OS X",
+ "github": "https://github.com/apache/cordova-osx",
+ "apache": "https://git-wip-us.apache.org/repos/asf?p=cordova-osx.git;a=summary"
+ },
+ {
+ "name": "QT",
+ "github": "https://github.com/apache/cordova-qt",
+ "apache": "https://git-wip-us.apache.org/repos/asf?p=cordova-qt.git;a=summary"
+ },
+ {
+ "name": "Tizen",
+ "github": "https://github.com/apache/cordova-tizen",
+ "apache": "https://git-wip-us.apache.org/repos/asf?p=cordova-tizen.git;a=summary"
+ },
+ {
+ "name": "WebOS",
+ "github": "https://github.com/apache/cordova-webos",
+ "apache": "https://git-wip-us.apache.org/repos/asf?p=cordova-webos.git;a=summary"
+ },
+ {
+ "name": "Windows (desktop)",
+ "github": "https://github.com/apache/cordova-windows",
+ "apache": "https://git-wip-us.apache.org/repos/asf?p=cordova-windows.git;a=summary"
+ },
+ {
+ "name": "Windows Phone 7",
+ "github": "https://github.com/apache/cordova-wp7",
+ "apache": "https://git-wip-us.apache.org/repos/asf?p=cordova-wp7.git;a=summary"
+ },
+ {
+ "name": "Windows Phone 8",
+ "github": "https://github.com/apache/cordova-wp8",
+ "apache": "https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;a=summary"
+ }
+ ],
+
+ "other": [
+ {
+ "name": "Cordova Docs",
+ "github": "https://github.com/apache/cordova-docs",
+ "apache": "https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;a=summary"
+ },
+ {
+ "name": "Cordova JS (JavaScript API)",
+ "github": "https://github.com/apache/cordova-js",
+ "apache": "https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;a=summary"
+ },
+ {
+ "name": "Cordova CLI",
+ "github": "https://github.com/apache/cordova-cli",
+ "apache": "https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;a=summary"
+ },
+ {
+ "name": "Cordova Mobile Spec (Test Suite)",
+ "github": "https://github.com/apache/cordova-mobile-spec",
+ "apache": "https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;a=summary"
+ },
+ {
+ "name": "Weinre (Web Inspector Remote)",
+ "github": "https://github.com/apache/cordova-weinre",
+ "apache": "https://git-wip-us.apache.org/repos/asf?p=cordova-weinre.git;a=summary"
+ },
+ {
+ "name": "Cordova Hello World (Sample App)",
+ "github": "https://github.com/apache/cordova-app-hello-world",
+ "apache": "https://git-wip-us.apache.org/repos/asf?p=cordova-app-hello-world.git;a=summary"
+ },
+ {
+ "name": "Cordova Coho (Release Tool)",
+ "github": "https://github.com/apache/cordova-coho",
+ "apache": "https://git-wip-us.apache.org/repos/asf?p=cordova-coho.git;a=summary"
+ }
+ ]
+}
+
+
+
Modified: cordova/site/bin/gen.rb
URL: http://svn.apache.org/viewvc/cordova/site/bin/gen.rb?rev=1502652&r1=1502651&r2=1502652&view=diff
==============================================================================
--- cordova/site/bin/gen.rb (original)
+++ cordova/site/bin/gen.rb Fri Jul 12 18:47:43 2013
@@ -1,112 +1,11 @@
-$LOAD_PATH.unshift File.dirname( __FILE__ ) + '/../lib'
-require 'mustache'
-require 'rubygems'
-require 'json'
-require 'ftools'
-require 'fileutils'
-
-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'
-# 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 ) )
-
-# download button and archives
-releases = data['releases']
-if releases.length > 0
- latest_item = releases[0]
- archives = releases.slice(1, releases.length)
- len = archives.length;
- column_len = ( len / 3.0 ).ceil
- 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
- tempIndex[:hide_archives] = true
- tempIndex[:no_download] = true
-end
-
-# list of repos
-repos = data['repos']
-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']
-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
-
-folders = ['', '/js', '/images', '/downloads']
-
-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')
-
-
-
-# generating index.html
-File.open( pub_directory + '/index.html', 'w' ) do | file |
- file_data = tempIndex.render( data )
- file_data = file_data.gsub( /(\r|\n)<\![\s-]{0,5}localstart[^*]+?localend[\s-]{0,5}>|<!--\spublicstart[^<]+|\spublicend[^*]+?-->/, '' )
- 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
-
+# Run via "rake build"
# LessCSS
-system( "lessc www/master.less > " + pub_directory + "/master.css" )
+system( "lessc www/css/_master.less > public/css/master.css" )
+
+# Build Blog First using jekyll it blows up the public directory
+system( "jekyll build" )
+
+
-# remove unnecessary files
-delete_files = ['/template.html', '/js/less-1.1.5.min.js', 'master.less']
-for i in delete_files
- File.delete( pub_directory+i ) unless !File.exists?( pub_directory+i )
-end
-
-# rename tmp folder to 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: cordova/site/bin/serve.rb
URL: http://svn.apache.org/viewvc/cordova/site/bin/serve.rb?rev=1502652&view=auto
==============================================================================
--- cordova/site/bin/serve.rb (added)
+++ cordova/site/bin/serve.rb Fri Jul 12 18:47:43 2013
@@ -0,0 +1,11 @@
+# Run via "rake serve"
+
+system( "lessc www/css/_master.less > public/css/master.css" )
+
+puts "Server running at http://localhost:4000/'"
+system( "jekyll serve --watch" )
+
+
+
+
+
Modified: cordova/site/public/artwork.html
URL: http://svn.apache.org/viewvc/cordova/site/public/artwork.html?rev=1502652&r1=1502651&r2=1502652&view=diff
==============================================================================
--- cordova/site/public/artwork.html (original)
+++ cordova/site/public/artwork.html Fri Jul 12 18:47:43 2013
@@ -1,121 +1,172 @@
<!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>
+ <link rel="SHORTCUT ICON" href="/favicon.ico"/>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <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" />
+ <!-- Original Jekyll
+ <meta name="viewport" content="width=device-width">
+ -->
+ <title>Apache Cordova</title>
+ <!-- syntax highlighting CSS -->
+ <link rel="stylesheet" href="/css/syntax.css">
+ <!-- Custom CSS -->
+ <link rel="stylesheet" href="/css/main.css">
+
+ <!-- Cordova CSS -->
+ <link rel="stylesheet" type="text/css" href="/css/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>
+
+ <a class="scroll-point pt-top" name="top">
+</a>
<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>
+ <a class="logo" href="/#top"></a>
+ <div class="menu">
+ <a href="/#about">About</a>
+ <a href="/#news">News</a>
+ <a href="/#contribute">Contribute</a>
+ <a href="/#mailing-list">Mailing List</a>
+ <a href="/#download">Download</a>
+ <a href="/#links">Quick Links</a>
+ </div>
+ <form class="menu-dropdown">
+ <select onchange="location = this.options[this.selectedIndex].value;">
+ <option value="/#about">About</option>
+ <option value="/#news">News</option>
+ <option value="/#contribute">Contribute</option>
+ <option value="/#mailing-list">Mailing List</option>
+ <option value="/#download">Download</option>
+ <option value="/#links">Quick Links</option>
+ </select>
+ </form>
</div>
<div class="shadow"></div>
-</div>
+</div> <!-- /header -->
<div class="header-placeholder"></div>
-<div class="wrap">
+
+ <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_3.zip">ICON SET<label>512x512~16x16</label></a>
- </div>
+ <div class="button-container middle">
+ <a class="button" href="http://cordova.apache.org/downloads/icons_3.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>
+ </p>
+ </div>
</div>
<br/>
<div class="grid">
<div class="wrap">
- <div class="button-container middle">
- <a class="button" href="downloads/logos_2.zip">LOGO SET<label>2 Sets of 4 Variations</label></a>
- </div>
- <p><img src="images/logo_full.png" alt=""/></p>
- </div>
+ <div class="button-container middle">
+ <a class="button" href="http://cordova.apache.org/downloads/logos_2.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_4.zip">SPLASH SCREENS<label>For iPhone, iPad, etc.</label></a>
- </div>
- <p><br/><img src="images/splash.png" alt=""/></p>
- </div>
+ <div class="button-container middle">
+ <a class="button" href="http://cordova.apache.org/downloads/screens_4.zip">SPLASH SCREENS<label>For iPhone, iPad, etc.</label></a>
+ </div>
+ <p><br/><img src="images/splash.png" alt=""/></p>
+ </div>
</div>
+
+ <a class="scroll-point" name="links"></a>
<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>
+ <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">
+ <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://projects.apache.org/projects/cordova.html">Apache Project 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>
+ <li><a href="/index.html#about">About Cordova<span></span></a></li>
+
+
+ <li><a href="http://projects.apache.org/projects/cordova.html">Apache Project Page<span></span></a></li>
+
+ <li><a href="http://www.apache.org/licenses/LICENSE-2.0">License<span></span></a></li>
+
- <ul class="list quick-links">
+ <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://cordova.apache.org/docs/en/2.9.0/">Documentation<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>
+ <li><a href="/index.html#download">Download<span></span></a></li>
+ <li><a href="http://cordova.apache.org/docs/en/2.9.0/">Documentation<span></span></a></li>
+
+
+ <li><a href="https://git-wip-us.apache.org/repos/asf">Source Code<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 class="list quick-links last">
+ <li><a href="/index.html#mailing-list">Mailing List<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>
+
+ <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>
+
+ <hr/>
<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>
+ <p>Copyright © 2012, 2013 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>
Added: cordova/site/public/blog/2013/07/11/cordova-has-a-blog.html
URL: http://svn.apache.org/viewvc/cordova/site/public/blog/2013/07/11/cordova-has-a-blog.html?rev=1502652&view=auto
==============================================================================
--- cordova/site/public/blog/2013/07/11/cordova-has-a-blog.html (added)
+++ cordova/site/public/blog/2013/07/11/cordova-has-a-blog.html Fri Jul 12 18:47:43 2013
@@ -0,0 +1,152 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <link rel="SHORTCUT ICON" href="/favicon.ico"/>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <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" />
+ <!-- Original Jekyll
+ <meta name="viewport" content="width=device-width">
+ -->
+ <title>Apache Cordova Gets an Official Blog</title>
+ <!-- syntax highlighting CSS -->
+ <link rel="stylesheet" href="/css/syntax.css">
+ <!-- Custom CSS -->
+ <link rel="stylesheet" href="/css/main.css">
+
+ <!-- Cordova CSS -->
+ <link rel="stylesheet" type="text/css" href="/css/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">
+</a>
+<div id="header">
+ <div class="wrap">
+ <a class="logo" href="/#top"></a>
+ <div class="menu">
+ <a href="/#about">About</a>
+ <a href="/#news">News</a>
+ <a href="/#contribute">Contribute</a>
+ <a href="/#mailing-list">Mailing List</a>
+ <a href="/#download">Download</a>
+ <a href="/#links">Quick Links</a>
+ </div>
+ <form class="menu-dropdown">
+ <select onchange="location = this.options[this.selectedIndex].value;">
+ <option value="/#about">About</option>
+ <option value="/#news">News</option>
+ <option value="/#contribute">Contribute</option>
+ <option value="/#mailing-list">Mailing List</option>
+ <option value="/#download">Download</option>
+ <option value="/#links">Quick Links</option>
+ </select>
+ </form>
+ </div>
+ <div class="shadow"></div>
+</div> <!-- /header -->
+<div class="header-placeholder"></div>
+
+
+ <div class="site">
+ <h2>Apache Cordova Gets an Official Blog</h2>
+ <div class="meta">Posted by: <a href="https://twitter.com/csantanapr">Carlos Santana</a></div>
+ <p class="meta">11 Jul 2013</p>
+ <div class="post">
+ <p>Cordova now has a Blog! Look here to stay up-to-date with what’s happening with the project. There is a major release <a href='https://issues.apache.org/jira/browse/CB/fixforversion/12322491'>3.0</a> just around the corner (July 19, 2013), and we are really excited about it!</p>
+
+<p>Be sure to <a href='/rss.xml'>subscribe</a> using RSS</p>
+ </div>
+</div>
+
+
+
+ <a class="scroll-point" name="links"></a>
+<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://projects.apache.org/projects/cordova.html">Apache Project 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="http://cordova.apache.org/docs/en/2.9.0/">Documentation<span></span></a></li>
+
+
+ <li><a href="https://git-wip-us.apache.org/repos/asf">Source Code<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#mailing-list">Mailing List<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>
+
+
+ <hr/>
+<div id="footer">
+ <p>Copyright © 2012, 2013 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: cordova/site/public/blog/index.html
URL: http://svn.apache.org/viewvc/cordova/site/public/blog/index.html?rev=1502652&view=auto
==============================================================================
--- cordova/site/public/blog/index.html (added)
+++ cordova/site/public/blog/index.html Fri Jul 12 18:47:43 2013
@@ -0,0 +1,153 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <link rel="SHORTCUT ICON" href="/favicon.ico"/>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <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" />
+ <!-- Original Jekyll
+ <meta name="viewport" content="width=device-width">
+ -->
+ <title>Apache Cordova Blog</title>
+ <!-- syntax highlighting CSS -->
+ <link rel="stylesheet" href="/css/syntax.css">
+ <!-- Custom CSS -->
+ <link rel="stylesheet" href="/css/main.css">
+
+ <!-- Cordova CSS -->
+ <link rel="stylesheet" type="text/css" href="/css/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">
+</a>
+<div id="header">
+ <div class="wrap">
+ <a class="logo" href="/#top"></a>
+ <div class="menu">
+ <a href="/#about">About</a>
+ <a href="/#news">News</a>
+ <a href="/#contribute">Contribute</a>
+ <a href="/#mailing-list">Mailing List</a>
+ <a href="/#download">Download</a>
+ <a href="/#links">Quick Links</a>
+ </div>
+ <form class="menu-dropdown">
+ <select onchange="location = this.options[this.selectedIndex].value;">
+ <option value="/#about">About</option>
+ <option value="/#news">News</option>
+ <option value="/#contribute">Contribute</option>
+ <option value="/#mailing-list">Mailing List</option>
+ <option value="/#download">Download</option>
+ <option value="/#links">Quick Links</option>
+ </select>
+ </form>
+ </div>
+ <div class="shadow"></div>
+</div> <!-- /header -->
+<div class="header-placeholder"></div>
+
+
+ <div class="site">
+<h1>Blog Posts</h1><a href="/rss.xml">Subscribe</a>
+<ul class="posts">
+
+ <li>
+ <span>11 Jul 2013</span> »
+ <a href="/blog/2013/07/11/cordova-has-a-blog.html">Apache Cordova Gets an Official Blog</a>
+ </li>
+
+</ul>
+<a href="http://feed1.w3.org/check.cgi?url=/rss.xml"><img src="/images/valid-rss-rogers.png" alt="[Valid RSS]" title="Validate my RSS feed" /></a>
+</div>
+
+
+ <a class="scroll-point" name="links"></a>
+<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://projects.apache.org/projects/cordova.html">Apache Project 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="http://cordova.apache.org/docs/en/2.9.0/">Documentation<span></span></a></li>
+
+
+ <li><a href="https://git-wip-us.apache.org/repos/asf">Source Code<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#mailing-list">Mailing List<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>
+
+
+ <hr/>
+<div id="footer">
+ <p>Copyright © 2012, 2013 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: cordova/site/public/css/main.css
URL: http://svn.apache.org/viewvc/cordova/site/public/css/main.css?rev=1502652&view=auto
==============================================================================
--- cordova/site/public/css/main.css (added)
+++ cordova/site/public/css/main.css Fri Jul 12 18:47:43 2013
@@ -0,0 +1,169 @@
+/*****************************************************************************/
+kljlkj
+/*
+/* Common
+/*
+/*****************************************************************************/
+
+/* Global Reset */
+/* Cordova settings
+* {
+ margin: 0;
+ padding: 0;
+}
+
+html, body { height: 100%; }
+
+body {
+ background-color: #FFF;
+ font: 13.34px Helvetica, Arial, sans-serif;
+ font-size: small;
+ text-align: center;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ font-size: 100%; }
+
+h1 { margin-bottom: 1em; }
+p { margin: 1em 0; }
+
+a { color: #00a; }
+a:hover { color: #000; }
+a:visited { color: #a0a; }
+
+*/
+
+table {
+ font-size: inherit;
+ font: 100%;
+}
+
+/*****************************************************************************/
+/*
+/* Home
+/*
+/*****************************************************************************/
+ul.posts {
+ list-style-type: none;
+ margin-bottom: 2em;
+}
+
+ul.posts li {
+ line-height: 1.75em;
+}
+
+ul.posts span {
+ color: #aaa;
+ font-family: Monaco, "Courier New", monospace;
+ font-size: 80%;
+}
+
+/*****************************************************************************/
+/*
+/* Site
+/*
+/*****************************************************************************/
+
+.site {
+ font-size: 100%;
+ text-align: justify;
+ width: 42em;
+ margin: 3em auto 2em;
+ line-height: 1.5em;
+}
+
+.site .header a {
+ font-weight: bold;
+ text-decoration: none;
+}
+
+.site .header h1.title {
+ display: inline-block;
+ margin-bottom: 2em;
+}
+
+.site .header h1.title a {
+ color: #a00;
+}
+
+.site .header h1.title a:hover {
+ color: #000;
+}
+
+.site .header a.extra {
+ color: #aaa;
+ margin-left: 1em;
+}
+
+.site .header a.extra:hover {
+ color: #000;
+}
+
+.site .meta {
+ color: #aaa;
+}
+
+.site .footer {
+ font-size: 80%;
+ color: #666;
+ border-top: 4px solid #eee;
+ margin-top: 2em;
+ overflow: hidden;
+}
+
+.site .footer .contact {
+ float: left;
+ margin-right: 3em;
+}
+
+.site .footer .contact a {
+ color: #8085C1;
+}
+
+.site .footer .rss {
+ margin-top: 1.1em;
+ margin-right: -.2em;
+ float: right;
+}
+
+.site .footer .rss img {
+ border: 0;
+}
+
+/*****************************************************************************/
+/*
+/* Posts
+/*
+/*****************************************************************************/
+
+/* standard */
+.post pre {
+ border: 1px solid #ddd;
+ background-color: #eef;
+ padding: 0 .4em;
+}
+
+.post ul, .post ol {
+ margin-left: 1.35em;
+}
+
+.post code {
+ border: 1px solid #ddd;
+ background-color: #eef;
+ padding: 0 .2em;
+}
+
+.post pre code {
+ border: none;
+}
+
+/* terminal */
+.post pre.terminal {
+ border: 1px solid #000;
+ background-color: #333;
+ color: #FFF;
+}
+
+.post pre.terminal code {
+ background-color: #333;
+}
Propchange: cordova/site/public/css/main.css
------------------------------------------------------------------------------
svn:executable = *
Added: cordova/site/public/css/master.css
URL: http://svn.apache.org/viewvc/cordova/site/public/css/master.css?rev=1502652&view=auto
==============================================================================
--- cordova/site/public/css/master.css (added)
+++ cordova/site/public/css/master.css Fri Jul 12 18:47:43 2013
@@ -0,0 +1,827 @@
+* {
+ margin: 0;
+ padding: 0;
+ -webkit-text-size-adjust: none;
+}
+body,
+a {
+ color: #3b4854;
+}
+/** LESS **/
+.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;
+}
+/*---------------------------------------------------
+ Font
+---------------------------------------------------*/
+body,
+h1,
+h2,
+h3,
+h4,
+input,
+button {
+ font-size: 17px;
+ font-family: 'HelveticaNeue-Light', Helvetica, Arial, sans-serif;
+ font-weight: 300;
+}
+h1,
+h2,
+h3,
+h4 {
+ letter-spacing: 0.05em;
+}
+h1 {
+ font-size: 34px;
+}
+h2 {
+ font-size: 34px;
+ padding: 48px 0;
+}
+b,
+strong {
+ font-family: 'HelveticaNeue-Bold', Helvetica, Arial, sans-serif;
+ font-weight: 900;
+}
+label {
+ font-family: 'HelveticaNeue', Helvetica, Arial, sans-serif;
+ font-weight: 400;
+ font-size: 12px;
+}
+.platforms-list li,
+.list-header.mini,
+.quick-links-header li {
+ font-family: 'HelveticaNeue-Medium', 'HelveticaNeue', Helvetica, Arial, sans-serif;
+ font-weight: 500;
+}
+/*---------------------------------------------------
+ Generic
+---------------------------------------------------*/
+a:hover {
+ color: #4cc2e4;
+}
+p {
+ line-height: 1.8em;
+ margin-bottom: 2em;
+}
+p + p {
+ margin-top: 2em;
+}
+.button-container {
+ position: absolute;
+ right: -5px;
+ background: url(/images/shadow.png);
+}
+.button {
+ display: block;
+ background: url(/images/sprite.png) no-repeat;
+ background-color: #4cc2e4;
+ background-position: 100% -171px;
+ width: 288px;
+ padding: 16px;
+ color: #fff;
+ font-size: 24px;
+ text-decoration: none;
+ position: relative;
+ top: -5px;
+ left: -5px;
+ -webkit-transition: background 0.25s linear;
+ -moz-transition: background 0.25s linear;
+ transition: background 0.25s linear;
+}
+.button:hover {
+ background-color: #4cd6fc;
+ color: #fff;
+}
+div.button,
+div.button:hover {
+ background-color: #abafb0;
+}
+.button label {
+ display: block;
+ font-size: 0.5em;
+ height: 16px;
+}
+.clear {
+ clear: both;
+}
+/*---------------------------------------------------
+ Layout
+---------------------------------------------------*/
+#wrap,
+.wrap,
+#footer,
+hr {
+ width: 1008px;
+ margin: 0 auto;
+ position: relative;
+}
+.grid {
+ background: url(/images/grid.png) #eeeeee 50% 0%;
+ padding: 32px 0;
+}
+hr {
+ border: none;
+ border-top: 1px solid #ddd;
+ margin-top: 64px;
+ margin-bottom: 32px;
+}
+/*---------------------------------------------------
+ Layout - Header
+---------------------------------------------------*/
+.header-placeholder {
+ height: 90px;
+}
+#header {
+ height: 90px;
+ position: fixed;
+ z-index: 10;
+ left: 0;
+ right: 0;
+ background: #fff;
+ border-bottom: 1px solid #ddd;
+}
+#header .shadow {
+ position: absolute;
+ left: 0;
+ right: 0;
+ bottom: -3px;
+ height: 3px;
+ background: url(/images/shadow.png);
+}
+.logo,
+.closing {
+ background: url(/images/sprite.png) no-repeat;
+ -webkit-transition: background 0.25s linear;
+ -moz-transition: background 0.25s linear;
+ transition: background 0.25s linear;
+ background-color: #3b4854;
+ background-position: 0 0px;
+ position: absolute;
+ left: 0;
+ top: 5px;
+ width: 220px;
+ height: 75px;
+}
+.logo:hover {
+ background-color: #4cc2e4;
+}
+.menu {
+ padding: 16px 0;
+ float: right;
+}
+.menu a {
+ text-decoration: none;
+ -webkit-transition: background 0.25s linear;
+ -moz-transition: background 0.25s linear;
+ transition: background 0.25s linear;
+ padding: 8px;
+ 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%;
+}
+/*---------------------------------------------------
+ Layout - Leadin
+---------------------------------------------------*/
+.leadin {
+ margin-bottom: 32px;
+}
+.leadin .wrap {
+ height: 368px;
+}
+.leadin .text-block {
+ position: absolute;
+ left: 384px;
+ top: 64px;
+}
+.leadin img {
+ position: absolute;
+ top: 32px;
+ left: 24px;
+}
+.leadin li {
+ list-style: none;
+ margin: 9px 8px;
+}
+.leadin h1 {
+ background: #fff;
+ display: inline;
+ padding: 4px 8px;
+}
+.leadin .button-container {
+ bottom: 0;
+}
+/*---------------------------------------------------
+ Layout - Contribution, Mailing List,
+ Download and Quick Links
+---------------------------------------------------*/
+.container-box {
+ background: #fff;
+ padding: 8px;
+ position: relative;
+}
+.list-link {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ right: 0;
+}
+.list {
+ padding-top: 16px;
+}
+.list li {
+ background: #fff;
+ padding: 8px;
+ position: relative;
+ list-style: none;
+ margin-bottom: 16px;
+}
+.list-header {
+ background: #fff;
+ padding: 8px;
+ position: relative;
+ margin-top: 16px;
+}
+.list-header p {
+ margin-bottom: 0;
+}
+.list-container {
+ position: relative;
+}
+/**** Platforms ****/
+.platforms-list {
+ padding-top: 32px;
+ width: 456px;
+}
+.platforms-list.second {
+ position: absolute;
+ right: 0;
+ top: 0;
+}
+.platforms-list li a {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ right: 0;
+ -webkit-transition: background 0.25s linear;
+ -moz-transition: background 0.25s linear;
+ transition: background 0.25s linear;
+ width: 36px;
+ background: url(/images/sprite.png) no-repeat;
+ background-position: 3px -127px;
+ background-color: #4cc2e4;
+}
+.platforms-list li a:hover {
+ background-color: #4cd6fc;
+}
+.platforms-list li.first a {
+ width: 108px;
+}
+.platforms-list li a.link-apache {
+ right: 39px;
+ background-position: 2px -94px;
+}
+.platforms-list li.first a.link-apache {
+ width: 144px;
+ right: 111px;
+}
+/**** Mailing List ****/
+.mailing-list {
+ width: 752px;
+ margin-bottom: 24px;
+}
+.mailing-list a {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ right: 0;
+ -webkit-transition: background 0.25s linear;
+ -moz-transition: background 0.25s linear;
+ transition: background 0.25s linear;
+ backround: #fff;
+ padding: 8px;
+ width: 408px;
+ font-size: 14px;
+}
+.mailing-list a:hover {
+ color: #fff;
+ background: #4cc2e4;
+}
+.mailing-list a span {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ right: 0;
+ width: 36px;
+ background: url(/images/sprite.png) no-repeat;
+ background-position: -156px -95px;
+ background-color: #4cc2e4;
+}
+.mailing-list li {
+ margin-bottom: 3px;
+}
+/**** Download ****/
+.download-pane .button-container {
+ bottom: -70px;
+}
+.list-header.mini {
+ display: inline;
+}
+.download-list-container {
+ position: relative;
+}
+.download-list {
+ width: 320px;
+ margin-bottom: 24px;
+}
+.download-list.second,
+.download-list.third {
+ position: absolute;
+ top: 0;
+}
+.download-list.second {
+ left: 344px;
+}
+.download-list.third {
+ left: 688px;
+}
+.download-list li {
+ height: 18px;
+}
+.download-list .version {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ right: 0;
+ -webkit-transition: background 0.25s linear;
+ -moz-transition: background 0.25s linear;
+ transition: background 0.25s linear;
+ background: url(/images/sprite.png) no-repeat;
+ background-position: -160px -127px;
+ background-color: #4cc2e4;
+ color: #fff;
+ text-decoration: none;
+ right: auto;
+ left: 0;
+ padding: 8px;
+ padding-left: 32px;
+ width: 40%;
+}
+.download-list .version:hover {
+ background-color: #4cd6fc;
+}
+.download-list .release {
+ float: right;
+ font-size: 12px;
+ margin-top: 2px;
+}
+/**** Quick Links ****/
+.list-header.mini {
+ display: inline;
+}
+.quick-links,
+.quick-links-header li {
+ float: left;
+ width: 320px;
+ margin-right: 24px;
+ list-style: none;
+ position: relative;
+}
+.quick-links-header li {
+ margin-bottom: 24px;
+}
+.quick-links.last,
+.quick-links-header li.last {
+ margin-right: 0;
+}
+.quick-links li {
+ padding: 0;
+}
+.quick-links a {
+ -webkit-transition: background 0.25s linear;
+ -moz-transition: background 0.25s linear;
+ transition: background 0.25s linear;
+ display: block;
+ text-decoration: none;
+ padding: 8px;
+}
+.quick-links a:hover {
+ color: #fff;
+ background: #4cc2e4;
+}
+.quick-links a span {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ right: 0;
+ width: 36px;
+ background: url(/images/sprite.png) no-repeat;
+ background-position: -156px -95px;
+ background-color: #4cc2e4;
+}
+/*---------------------------------------------------
+ Layout - Footer
+---------------------------------------------------*/
+#footer {
+ padding: 32px 0 64px;
+}
+#footer p {
+ font-size: 12px;
+ line-height: 1.5em;
+}
+.closing {
+ background-position: 0 -725px;
+ left: auto;
+ right: 0;
+ top: 20px;
+ width: 60px;
+ height: 65px;
+}
+.closing:hover {
+ background-color: #4cc2e4;
+}
+/*---------------------------------------------------
+ Jira Search Form
+---------------------------------------------------*/
+#jira-search-box {
+ border: 1px solid #ccc;
+ padding: 2px;
+ min-width: 200px;
+}
+#jira-search-box,
+#jira-search-button {
+ box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ height: 30px;
+ height: 1.8rem;
+ vertical-align: bottom;
+}
+#jira-search-button {
+ font-size: 14px;
+ margin-left: -1px;
+ padding: 5px;
+}
+/*---------------------------------------------------
+ Misc
+---------------------------------------------------*/
+.icon {
+ background: url(/images/sprite.png) no-repeat;
+ background-position: 0 -220px;
+ padding-left: 78px;
+}
+.icon-about {
+ background-position: 0 -220px;
+}
+.icon-contribute {
+ background-position: 0 -316px;
+}
+.icon-mailing-list {
+ background-position: 0 -412px;
+}
+.icon-download {
+ background-position: 0 -508px;
+}
+.icon-quick-links {
+ background-position: 0 -604px;
+}
+a.scroll-point {
+ display: block;
+ border-bottom: transparent 1px solid;
+}
+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;
+}
+/*---------------------------------------------------
+ Mobile
+---------------------------------------------------*/
+@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 .wrap {
+ 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 {
+ /* 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: 585px) {
+ h1,
+ h2,
+ h3,
+ h4 {
+ letter-spacing: 0;
+ }
+ h1 {
+ font-size: 18px;
+ }
+ .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: 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: cordova/site/public/css/syntax.css
URL: http://svn.apache.org/viewvc/cordova/site/public/css/syntax.css?rev=1502652&view=auto
==============================================================================
--- cordova/site/public/css/syntax.css (added)
+++ cordova/site/public/css/syntax.css Fri Jul 12 18:47:43 2013
@@ -0,0 +1,60 @@
+.highlight { background: #ffffff; }
+.highlight .c { color: #999988; font-style: italic } /* Comment */
+.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
+.highlight .k { font-weight: bold } /* Keyword */
+.highlight .o { font-weight: bold } /* Operator */
+.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
+.highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
+.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
+.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
+.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
+.highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
+.highlight .ge { font-style: italic } /* Generic.Emph */
+.highlight .gr { color: #aa0000 } /* Generic.Error */
+.highlight .gh { color: #999999 } /* Generic.Heading */
+.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
+.highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
+.highlight .go { color: #888888 } /* Generic.Output */
+.highlight .gp { color: #555555 } /* Generic.Prompt */
+.highlight .gs { font-weight: bold } /* Generic.Strong */
+.highlight .gu { color: #aaaaaa } /* Generic.Subheading */
+.highlight .gt { color: #aa0000 } /* Generic.Traceback */
+.highlight .kc { font-weight: bold } /* Keyword.Constant */
+.highlight .kd { font-weight: bold } /* Keyword.Declaration */
+.highlight .kp { font-weight: bold } /* Keyword.Pseudo */
+.highlight .kr { font-weight: bold } /* Keyword.Reserved */
+.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
+.highlight .m { color: #009999 } /* Literal.Number */
+.highlight .s { color: #d14 } /* Literal.String */
+.highlight .na { color: #008080 } /* Name.Attribute */
+.highlight .nb { color: #0086B3 } /* Name.Builtin */
+.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
+.highlight .no { color: #008080 } /* Name.Constant */
+.highlight .ni { color: #800080 } /* Name.Entity */
+.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
+.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
+.highlight .nn { color: #555555 } /* Name.Namespace */
+.highlight .nt { color: #000080 } /* Name.Tag */
+.highlight .nv { color: #008080 } /* Name.Variable */
+.highlight .ow { font-weight: bold } /* Operator.Word */
+.highlight .w { color: #bbbbbb } /* Text.Whitespace */
+.highlight .mf { color: #009999 } /* Literal.Number.Float */
+.highlight .mh { color: #009999 } /* Literal.Number.Hex */
+.highlight .mi { color: #009999 } /* Literal.Number.Integer */
+.highlight .mo { color: #009999 } /* Literal.Number.Oct */
+.highlight .sb { color: #d14 } /* Literal.String.Backtick */
+.highlight .sc { color: #d14 } /* Literal.String.Char */
+.highlight .sd { color: #d14 } /* Literal.String.Doc */
+.highlight .s2 { color: #d14 } /* Literal.String.Double */
+.highlight .se { color: #d14 } /* Literal.String.Escape */
+.highlight .sh { color: #d14 } /* Literal.String.Heredoc */
+.highlight .si { color: #d14 } /* Literal.String.Interpol */
+.highlight .sx { color: #d14 } /* Literal.String.Other */
+.highlight .sr { color: #009926 } /* Literal.String.Regex */
+.highlight .s1 { color: #d14 } /* Literal.String.Single */
+.highlight .ss { color: #990073 } /* Literal.String.Symbol */
+.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
+.highlight .vc { color: #008080 } /* Name.Variable.Class */
+.highlight .vg { color: #008080 } /* Name.Variable.Global */
+.highlight .vi { color: #008080 } /* Name.Variable.Instance */
+.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
Added: cordova/site/public/favicon.ico
URL: http://svn.apache.org/viewvc/cordova/site/public/favicon.ico?rev=1502652&view=auto
==============================================================================
Binary file - no diff available.
Propchange: cordova/site/public/favicon.ico
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: cordova/site/public/images/valid-rss-rogers.png
URL: http://svn.apache.org/viewvc/cordova/site/public/images/valid-rss-rogers.png?rev=1502652&view=auto
==============================================================================
Binary file - no diff available.
Propchange: cordova/site/public/images/valid-rss-rogers.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream