aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/app.js
Commit message (Collapse)AuthorAgeLines
* Do not make initial help full heightStruan Donald2013-08-19-4/+14
| | | | The big chunk of white space at the bottom doesn't look good
* Shorter intro help textStruan Donald2013-08-19-7/+13
| | | | Fixes #100
* Add in test version warning to initial map pageStruan Donald2013-08-15-0/+5
| | | | | | | Warning to say that reports will not be sent to the council to avoid confusion in advance of beta testing Fixes #94
* Fix android 2 scrolling caused by helpStruan Donald2013-08-15-1/+4
| | | | | | | Because the help overlay is not fixed height in android 2 it was causing the screen to be scrollable. Fixed by only showing the help when we actually need to display it and setting it to hidden the rest of the time
* remove debug outputStruan Donald2013-08-14-4/+0
|
* improve post help show callback readabilityStruan Donald2013-08-14-1/+5
|
* change help panel to overlay whole pageStruan Donald2013-08-14-3/+8
| | | | This prevents clicks on things 'behind' the help
* move help content to a templateStruan Donald2013-08-14-1/+4
| | | | Rather than hard coding it into index.html. Loaded by the help init code
* Tweak help panel to work on Android 2Struan Donald2013-08-13-2/+10
| | | | | | | Android 2 doesn't support overflow: scroll so instead make the panel full screen so you are scrolling what seems to be the screen. This means we need to reset scrollTop before hiding it as otherwise the underlying page is also scrolled.
* Scroll help to top once dismissedStruan Donald2013-08-13-1/+1
| | | | | Not sure if this is the correct thing to do but having the help re-appear scrolled to where you left it doesn't feel right.
* Display help the first time the app is runStruan Donald2013-08-12-0/+10
| | | | | | Also record when help has been viewed so we don't display it again. For #92.
* Add a help panel and buttons to access itStruan Donald2013-08-12-0/+40
| | | | | | | Always available, slides in from the side (ish). Content still a work in progress. Needs way to translate it. For #92.
* make photo upload timeout configurableStruan Donald2013-08-09-0/+1
|
* Force saving of draft if removing a photoStruan Donald2013-08-07-2/+2
| | | | | | | | Becuase we don't save drafts that are only a location once you remove the photo from a report that only has a location and a photo that change isn't saved as it becomes a report with only a location hence add a force option so saveCurrentDrafts and use it when removing a photo. Fixes #86
* resize loading screen to remove brown bar at bottom on Android 2Struan Donald2013-08-06-0/+1
|
* remove debug codeStruan Donald2013-08-02-2/+0
|
* detect and store iPhone model version on startupStruan Donald2013-08-01-0/+6
|
* make template language a config optionStruan Donald2013-07-30-1/+1
|
* pass in back button event from handlerStruan Donald2013-07-29-1/+1
| | | | | | | | This is so that the onClickButtonPrev method we eventually pass to requires an event so without having this we were breaking this and causing the back button to do nothing. Fixes #68.
* Pause and restart position updating on app pause and resume to stop ↵Struan Donald2013-07-22-2/+10
| | | | backgroud GPS tracking on Android. Fixes #61
* If we have a net connection when we resume then set app to onlineStruan Donald2013-07-19-0/+2
| | | | | mode otherwise it gets stuck in offline mode if it was there before the pause
* set flag on startup to use in checking for AndroidStruan Donald2013-07-16-0/+2
|
* display splash screen on androidStruan Donald2013-07-15-0/+3
|
* instead of using js to inject the correct cordova js file in toStruan Donald2013-07-12-0/+209
index.html restructure things so that the common files are a level down and the platofrm specific ones are directly placed in the relevant project. This both makes for less fuss and also avoids the error with Android < v3 instantiating cordova twice. Note that the iOS common assets are included by a build script rather than a symlink as symlinking doesn't seem to agree with Xcode