diff options
author | Struan Donald <struan@exo.org.uk> | 2013-07-18 13:19:23 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-07-18 13:19:23 +0100 |
commit | a8e488de91e91042c75e86935bf871d48bf92485 (patch) | |
tree | 51e48aa97e48a3816e451ac6d95d6d53c202d517 /src | |
parent | 51600caac791a87fcba1489fa844c0bc828bcc55 (diff) |
Fix lack of right hand margin on large screen android phones for offline report page. For #55
Diffstat (limited to 'src')
-rw-r--r-- | src/templates/en/offline.html | 72 |
1 files changed, 37 insertions, 35 deletions
diff --git a/src/templates/en/offline.html b/src/templates/en/offline.html index 0f8dc66..0ae130c 100644 --- a/src/templates/en/offline.html +++ b/src/templates/en/offline.html @@ -15,47 +15,49 @@ </p> </div> <div data-role="content"> - <p class="notopmargin"> - Sorry, there doesn't seem to be any internet connection. You can create a report and complete it later though. - </p> + <div> + <p class="notopmargin"> + Sorry, there doesn't seem to be any internet connection. You can create a report and complete it later though. + </p> - <p id="locate_result"> - <% if ( lat ) { %> - Report has position ( <% print( lat.toFixed(2) + ', ' + lon.toFixed(2) ) %> ) - <% } else { %> - <input type="button" data-role="button" data-theme="a" id="locate" value="Locate" > - <% } %> - </p> + <p id="locate_result"> + <% if ( lat ) { %> + Report has position ( <% print( lat.toFixed(2) + ', ' + lon.toFixed(2) ) %> ) + <% } else { %> + <input type="button" data-role="button" data-theme="a" id="locate" value="Locate" > + <% } %> + </p> - <div class="inputcard"> - <div> - <input data-role="none" type="text" value="<%= title %>" name="title" id="form_title" placeholder="Provide a title" required> - </div> + <div class="inputcard"> + <div> + <input data-role="none" type="text" value="<%= title %>" name="title" id="form_title" placeholder="Provide a title" required> + </div> - <div> - <textarea data-role="none" rows="7" cols="26" name="detail" id="form_detail" placeholder="Please fill in details of the problem." required><%= details %></textarea> + <div> + <textarea data-role="none" rows="7" cols="26" name="detail" id="form_detail" placeholder="Please fill in details of the problem." required><%= details %></textarea> + </div> </div> - </div> - <% if ( file != '' ) { %> - <div id="add_photo" style="display: none"> - <% } else { %> - <div id="add_photo"> - <% } %> - <label>Add a Photo <em>(optional)</em></label> - <input data-icon="fms-photo-new" value="Take a new photo" type="button" name="photo_button" id="id_photo_button" data-role="button" data-theme="a"> - <input data-icon="fms-photo-existing" value="Add an existing photo" type="button" name="existing" id="id_existing" data-role="button" data-theme="c"> - </div> + <% if ( file != '' ) { %> + <div id="add_photo" style="display: none"> + <% } else { %> + <div id="add_photo"> + <% } %> + <label>Add a Photo <em>(optional)</em></label> + <input data-icon="fms-photo-new" value="Take a new photo" type="button" name="photo_button" id="id_photo_button" data-role="button" data-theme="a"> + <input data-icon="fms-photo-existing" value="Add an existing photo" type="button" name="existing" id="id_existing" data-role="button" data-theme="c"> + </div> - <% if ( file == '' ) { %> - <div id="display_photo" style="display: none"> - <% } else { %> - <div id="display_photo"> - <% } %> - <label>Your Photo</label> - <div class="photo"> - <img class="small" id="photo" src="<%= file %>" /> + <% if ( file == '' ) { %> + <div id="display_photo" style="display: none"> + <% } else { %> + <div id="display_photo"> + <% } %> + <label>Your Photo</label> + <div class="photo"> + <img class="small" id="photo" src="<%= file %>" /> + </div> + <input value="Remove Photo" type="button" name="del_photo_button" id="id_del_photo_button" data-role="button" data-theme="a"> </div> - <input value="Remove Photo" type="button" name="del_photo_button" id="id_del_photo_button" data-role="button" data-theme="a"> </div> </div> |