Permalink
Browse files

split up the first page to match mockups a little better

  • Loading branch information...
brion committed May 25, 2012
1 parent dda8293 commit e1b5831b0e8ef8c467aa75b8af1e193b288bdfdf
Showing with 24 additions and 10 deletions.
  1. +4 −0 assets/www/app.js
  2. +12 −5 assets/www/index.html
  3. +8 −5 assets/www/messages/messages-en.properties
View
@@ -122,6 +122,10 @@ $(document).bind('mw-messages-ready', function() {
$li.appendTo('#country-list');
});
+ $('#countries').click(function() {
+ showPage('country-page');
+ });
+
$('#nearby').click(function() {
showPage('results-page');
navigator.geolocation.getCurrentPosition(function(pos) {
View
@@ -33,14 +33,21 @@
<div class="page" id="welcome-page">
<h1><msg key="welcome-title"></msg></h1>
- <p><msg key="welcome-intro"></msg></p>
+ <a href="#">
+ <!-- icon here -->
+ <msg key="welcome-about">
+ </a>
+ <h2><msg key="welcome-intro"></msg></h2>
<p><msg key="welcome-start"></msg></p>
+ <div><button id="countries"><msg key="welcome-browse"></msg></button></div>
+ <div><button id="nearby"><msg key="welcome-search"></msg></button></div>
+ </div>
+
+ <div class="page" id="country-page">
+ <h2><msg key="choose-country"></msg></h2>
<ul id="country-list">
- <li><button id="nearby"><msg key="welcome-search"></msg></button></li>
</ul>
- <p><i>Please note: You must already be registered as a user on <a href="https://commons.wikimedia.org/" class="external">commons.wikimedia.org</a> in order to upload photos from this app.</i></p>
- <p><a href="http://www.wikilovesmonuments.eu/contest/" class="external"><msg key="welcome-rules"></msg></a></p>
- </div>
+ </div>
<div class="page" id="results-page">
<header>
@@ -1,8 +1,11 @@
-welcome-title=Welcome to Wiki Loves Monuments 2012 - Mobile
-welcome-intro=Use this app to find monuments near you and submit them as entries in this year's contest.
-welcome-start=To get started, please choose a campaign:
-welcome-search=Search nearby
-welcome-rules=Contest rules
+welcome-title=Wiki Loves Monuments
+welcome-about=About
+welcome-intro=Getting Started
+welcome-start=To get started, please choose a campaign location
+welcome-browse=Browse by municipality
+welcome-search=Use my current location
+
+choose-country=Choose Country
back=Back

0 comments on commit e1b5831

Please sign in to comment.