#!/usr/bin/perl -w -I../../perllib -I../../../perllib
# iphone/index.cgi:
# Screenshots of the iPhone FixMyStreet application, showing the flow
#
# Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
# $Id: index.cgi,v 1.1 2008-10-29 15:30:15 matthew Exp $
use strict;
use Standard -db;
use mySociety::Config;
use mySociety::Web qw(ent);
# XXX: Ugh, as we're in a subdirectory
BEGIN {
mySociety::Config::set_file("$FindBin::Bin/../../conf/general");
}
my @screens = (
"iphone-1start.png", 'Click the image to progress through the flow of using the iPhone FixMyStreet application.
When launched, the user’s location automatically gets fetched…',
"iphone-2locfound.png", 'They want to take a photo.',
"iphone-pickpicture1.png", 'The simulator doesn’t have a camera, so we’re taken to the photo albums. Let’s pick Hawaii.',
"iphone-pickpicture2.png", 'That red clouds photo looks nice.',
"iphone-pickpicture3.png", 'After any moving or scaling we want, we select the photo.',
"iphone-3picture.png", 'Okay, now we need to edit the summary of the report.',
"iphone-editsummary.png", 'Enter some text.',
"iphone-editsummary2.png", 'And done.',
"iphone-4subject.png", 'I haven’t entered all my details yet, so that’s next.',
"iphone-5details.png", 'Your details are remembered so you only have to enter them once.',
"iphone-6emailkeyboard.png", 'The iPhone has different keyboards, this is the email one.',
"iphone-5details.png", 'Right, we need to enter a name.',
"iphone-editname.png", 'Slightly different keyboard to the email one.',
"iphone-detailsdone.png", 'Okay, details entered.',
"iphone-allready.png", 'That’s everything, hit Report!',
"iphone-7uploading.png", 'Uploading…',
"iphone-8response.png", 'The simulator always thinks it’s in the US, which FixMyStreet won’t like very much.',
"iphone-allready.png", 'Ah well, let’s read the About page instead',
"iphone-9about.png", 'Donate? :)',
);
sub main {
my $q = shift;
print Page::header($q, title=>'FixMyStreet for iPhone screenshots');
print '