aboutsummaryrefslogtreecommitdiffstats
path: root/phonegap/www/around.html
diff options
context:
space:
mode:
Diffstat (limited to 'phonegap/www/around.html')
-rw-r--r--phonegap/www/around.html340
1 files changed, 340 insertions, 0 deletions
diff --git a/phonegap/www/around.html b/phonegap/www/around.html
new file mode 100644
index 000000000..f921655e3
--- /dev/null
+++ b/phonegap/www/around.html
@@ -0,0 +1,340 @@
+<!doctype html>
+<html class="no-js" lang="en-gb">
+ <head>
+ <meta name="viewport" content="initial-scale=1.0">
+
+ <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
+ <meta name="HandHeldFriendly" content="true">
+ <meta name="mobileoptimized" content="0">
+
+ <link rel="stylesheet" href="css/base.css">
+ <link rel="stylesheet" href="css/layout.css" media="(min-width:48em)">
+
+<script type="text/javascript" src="js/config.js"></script>
+
+<script type="text/javascript" charset="utf-8" src="cordova-1.5.0.js"></script>
+
+<meta http-equiv="content-type" content="text/html; charset=utf-8">
+<script type="text/javascript" src="js/jquery-1.7.0.min.js"></script>
+
+<script src="js/jquery.validate.min.js" type="text/javascript" charset="utf-8"></script>
+<script src="js/modernizr.custom.61367.js" type="text/javascript" charset="utf-8"></script>
+
+<script type="text/javascript" src="js/geo.min.js"></script>
+<script type="text/javascript" src="js/fixmystreet.js"></script>
+ <script type="text/javascript" src="js/mobile.js"></script>
+<script type="text/javascript" src="js/OpenLayers.fixmystreet.js"></script>
+<script type="text/javascript" src="js/map-OpenLayers.js"></script>
+<script type="text/javascript" src="js/map-bing-ol.js"></script>
+<script type="text/javascript" src="js/jquery.ba-hashchange.min.js"></script>
+
+ <script type="text/javascript">
+ validation_strings = {
+ update: 'Please enter a message',
+ title: 'Please enter a subject',
+ detail: 'Please enter some details',
+ name: {
+ required: 'Please enter your name',
+ validName: 'Please enter your full name, councils need this information – if you do not wish your name to be shown on the site, untick the box below'
+ },
+ category: 'Please choose a category',
+ rznvy: {
+ required: 'Please enter your email',
+ email: 'Please enter a valid email'
+ },
+ email: {
+ required: 'Please enter your email',
+ email: 'Please enter a valid email'
+ }
+ };
+ </script>
+<title>
+ Viewing a location :: FixMyStreet
+</title>
+
+
+ </head>
+
+ <body class="mappage">
+
+ <div class="wrapper">
+ <div class="table-cell">
+ <header id="site-header" role="banner">
+ <div class="container">
+ <a href="/" id="site-logo">FixMyStreet</a>
+ <a href="#main-nav" id="nav-link">Main Navigation</a>
+ </div>
+ </header>
+
+ <div id="user-meta">
+
+ </div>
+
+ <div class="container">
+ <div class="content" role="main">
+
+
+<form action="" method="post" name="mapForm" id="mapForm" enctype="multipart/form-data" class="validate">
+
+ <input type="hidden" name="pc" id="pc" value="">
+
+ <input type="hidden" name="latitude" id="fixmystreet.latitude" value="">
+ <input type="hidden" name="longitude" id="fixmystreet.longitude" value="">
+
+
+
+
+
+
+<input type="hidden" name="zoom" value="2">
+<script type="text/javascript">
+var fixmystreet = {
+ 'page': 'around',
+ 'area': '',
+ 'all_pins': '',
+ 'latitude': localStorage.latitude,
+ 'longitude': localStorage.longitude,
+
+ 'zoom': 2,
+ 'numZoomLevels': 5,
+ 'zoomOffset': 13,
+ 'map_type': "",
+ 'pins': [ ]
+
+}
+
+ $('#fixmystreet\\.latitude').val( localStorage.latitude );
+ $('#fixmystreet\\.longitude').val( localStorage.longitude );
+ $('#pc').val( localStorage.pc );
+</script>
+ <div id="map_box">
+
+ <div id="map"></div>
+
+ <p id="sub_map_links">
+
+ <a id="hide_pins_link" rel="nofollow" href="">Hide pins</a>
+
+
+
+ <a id="all_pins_link" rel="nofollow" href="">Show old</a>
+
+
+ </p>
+
+ </div>
+
+
+
+
+ <div id="side">
+
+ <h1 class="big-green-banner">Click map to report a problem</h1>
+
+ <!-- p id="skip-this-step">
+ Can't see the map? <a href='http://matthew.fixmystreet.dev.mysociety.org/report/new?longitude=-2.798601&latitude=56.328422&pc=ky16+8yg&skipped=1' rel='nofollow'>Skip this step</a>
+ </p -->
+
+ <!-- div class="shadow-wrap">
+ <ul id="key-tools" class="singleton">
+ <li><a class="feed" id="key-tool-around-updates" href="http://matthew.fixmystreet.dev.mysociety.org/alert/list?feed=local%3A56.328422%3A-2.798601&amp;lat=56.328422&amp;lon=-2.798601&amp;zoom=3">Get updates</a></li>
+ </ul>
+ </div -->
+
+ <section class="full-width">
+ <menu id="problems-nav" class="tab-nav">
+ <ul>
+ <li><a href="#current">Problems on the map</a></li>
+ <li><a href="#current_near">Problems nearby</a></li>
+ </ul>
+ </menu>
+
+ <ul id="current" class="issue-list-a tab">
+
+ <li><p>No problems have been reported yet.</p></li>
+
+
+ </ul>
+
+ <ul id="current_near" class="issue-list-a tab">
+
+ <li><p>No problems found.</p></li>
+
+
+ </ul>
+ </section>
+ </div>
+
+ <div style="display:none" id="side-form">
+ <div id="report-a-problem-main">
+ <h1>Reporting a problem</h1>
+
+
+ <p id="councils_text">
+ All the information you provide here will be sent to <strong>the local council</strong>.
+ The subject and details of the problem will be public, plus your name if you give us permission.
+ </p>
+
+
+ <div id="report-a-problem-sidebar">
+
+ <div class="sidebar-tips">
+
+
+ <p>You have located the problem at the point marked with a green pin on the map. If this is not the correct location, simply click on the map again. </p>
+
+
+ <p>
+
+ Please fill in details of the problem below. The council won't be able
+ to help unless you leave as much detail as you can, so please describe the exact location of
+ the problem (e.g. on a wall), what it is, how long it has been there, a description (and a
+ photo of the problem if you have one), etc.
+
+ </p>
+ </div>
+
+ <div class="sidebar-notes">
+ <p>Please note:</p>
+
+<ul class="plain-list">
+ <li>We will only use your personal information in accordance with our <a href="/faq#privacy">privacy policy.</a></li>
+ <li>Please be polite, concise and to the point.</li>
+ <li>Please do not be abusive &mdash; abusing your council devalues the service for all users.</li>
+ <li>Writing your message entirely in block capitals makes it hard to read, as does a lack of punctuation.</li>
+ <li>Remember that FixMyStreet is primarily for reporting physical problems that can be fixed. If your problem is not appropriate for submission via this site remember that you can contact your council directly using their own website.</li>
+</ul>
+ </div>
+
+ </div>
+
+
+
+ <fieldset>
+ <div id="problem_form">
+
+
+
+
+
+
+
+
+ <label for="form_title">Subject</label>
+
+ <input type="text" value="" name="title" id="form_title" placeholder="Provide a title" required>
+
+ <label for="form_detail">Details</label>
+
+ <textarea rows="7" cols="26" name="detail" id="form_detail" placeholder="Please fill in details of the problem." required></textarea>
+
+
+ <div id="form_category_row">
+ <label class="inline" for="form_category">Category</label>
+ <select name="category" id="form_category" required><option>Loading...</option></select>
+ </div>
+
+ <div id="add_photo">
+ <label>Add a Photo</label>
+ <input value="Take Photo" type="button" name="photo_button" id="id_photo_button" onclick="takePhoto(navigator.camera.PictureSourceType.CAMERA);" class="green-btn"> Or
+ <input value="Choose" type="button" name="existing" id="id_existing" onclick="takePhoto(navigator.camera.PictureSourceType.SAVEDPHOTOALBUM);" class="green-btn">
+ </div>
+
+ <div id="display_photo" style="display: none">
+ <label>Your Photo</label>
+ <img id="photo" src="" width="200" />
+ <input value="Remove Photo" type="button" name="del_photo_button" id="id_del_photo_button" onclick="delPhoto();" class="green-btn">
+ </div>
+ <input type="hidden" name="photo" id="form_photo" value="">
+ <label for="form_email">Your email</label>
+
+ <input type="email" value="" name="email" id="form_email" placeholder="Please enter your email address" required>
+
+ <div id="form_sign_in">
+ <h3>Now to submit your report&hellip;</h3>
+ <h2>Do you have a FixMyStreet password?</h2>
+
+ <div id="form_sign_in_yes" class="form-box">
+
+ <h5><strong>Yes</strong> I have a password</h5>
+
+ <label class="hidden-js n" for="password_sign_in">Yes I have a password</label>
+ <div class="form-txt-submit-box">
+
+ <input type="password" name="password_sign_in" id="password_sign_in" placeholder="Your password" value="">
+ <input class="green-btn" type="submit" id="submit_sign_in" name="submit_sign_in" value="Submit">
+ </div>
+
+ <div class="checkbox-group">
+ <input type="checkbox" id="remember_me" name="remember_me" value='1'>
+ <label class="n inline" for="remember_me">Keep me signed in on this computer</label>
+ </div>
+ </div>
+
+ <div id="form_sign_in_no" class="form-box">
+ <h5><strong>No</strong> Let me confirm my report by email</h5>
+
+ <label for="form_may_show_nameme">Name</label>
+
+ <input type="text" class="form-focus-trigger validName" value="" name="name" id="form_name" placeholder="Your name">
+
+
+ <div class="checkbox-group">
+ <input type="checkbox" name="may_show_name" id="form_may_show_name" value="1" checked>
+ <label class="inline" for="form_may_show_name">Show my name publicly</label>
+ </div>
+
+ <div class="general-sidebar-notes form-focus-hidden">
+ <p class="dark">We never show your email address or phone number.</p>
+ <p>Providing a password is optional, but doing so will allow you to more easily report problems, leave updates and manage your reports.</p>
+ </div>
+
+ <label class="form-focus-hidden" for="form_phone">Phone number</label>
+ <input class="form-focus-hidden" type="text" value="" name="phone" id="form_phone" placeholder="Your phone number (optional)">
+
+ <label class="form-focus-hidden" for="password_register">Password</label>
+
+ <div class="form-txt-submit-box form-focus-hidden">
+ <input type="password" name="password_register" id="password_register" value="" placeholder="Enter a password (optional)">
+ <input class="green-btn" type="submit" id="submit_register" name="submit_register" value="Submit">
+ </div>
+ </div>
+ </div>
+
+
+ </div>
+ </fieldset>
+
+
+
+ <input type="hidden" name="submit_problem" value="1">
+</div>
+
+ </div>
+</form>
+
+
+ </div><!-- .content role=main -->
+ </div><!-- .container -->
+ </div><!-- .table-cell -->
+
+ <div class="nav-wrapper">
+ <div class="nav-wrapper-2">
+ <div id="main-nav" role="navigation">
+ <ul id="mysoc-menu">
+ <li><a id="mysoc-logo" href="http://www.mysociety.org/" rel="external">mySociety</a></li><li><a href="http://mysociety.org/donate/" rel="external">Donate</a></li><li><a href="http://www.mysociety.org/projects/" rel="external">Our Sites</a></li>
+ </ul>
+
+ <ul id="main-menu">
+ <li><a href="index.html" class="report-a-problem-btn">Report a problem</a></li>
+ </ul>
+ </div>
+ </div>
+ </div>
+
+<!--
+
+ -->
+ </div> <!-- .wrapper -->
+</body>
+</html>