diff options
author | Marius Halden <marius.h@lden.org> | 2017-05-27 22:31:48 +0200 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2017-05-27 22:31:48 +0200 |
commit | d57de932e03d82b6ee2cea5df30233ac3379be8f (patch) | |
tree | 79ddcb510e57c5bb0d4c7773d13f218d4fd445ed /www/templates/nb/offline.html | |
parent | aa1d51557cd1d835ed68d8103b2a1ed4ae3a370e (diff) |
Translation stuff
Diffstat (limited to 'www/templates/nb/offline.html')
-rw-r--r-- | www/templates/nb/offline.html | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/www/templates/nb/offline.html b/www/templates/nb/offline.html new file mode 100644 index 0000000..edd3902 --- /dev/null +++ b/www/templates/nb/offline.html @@ -0,0 +1,71 @@ +<div data-role="header" data-position="fixed"> + <a id="offline-prev-btn" class="ui-btn-left">Prøv igjen</a> + <h1>Frakoblet</h1> + <a id="offline-next-btn" data-icon="arrow-r" data-iconpos="right" class="ui-btn-right">Hopp over</a> +</div> + <div id="locating" class="nodisplay"> + <div class="radar"></div> + <div id="progress"> + <div id="progress-bar"> + </div> + </div> + + <p> + Leter etter plasseringen din + </p> + + <p> + <input data-theme="c" type="button" id="locate_cancel" value="Avbryt"> + </p> + </div> +<div data-role="content"> + <div> + <p class="notopmargin"> + <% if ( typeof id != 'undefined' ) { %> + Vi kan ikke oppdage en internettforbindelse. Men du kan fortsatt redigere rapporten nå og sende den senere. + <% } else { %> + Vi kan ikke oppdage en internettforbindelse. Men du kan fortsatt starte en rapport nå og fullføre den senere, ved å gå til "utkast" når du er tilbake på nettet. + <% } %> + </p> + + <p id="locate_result"> + <% if ( lat ) { %> + Denne rapporten har en plassering + <% } else { %> + <input type="button" data-role="button" data-theme="a" id="locate" value="Finn posisjon (valgfritt)" > + <% } %> + </p> + + <div class="inputcard"> + <div> + <input data-role="none" type="text" value="<%= title %>" name="title" id="form_title" placeholder="Vennligst legg inn en tittel" 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> + </div> + + <% if ( file != '' ) { %> + <div id="add_photo" style="display: none"> + <% } else { %> + <div id="add_photo"> + <% } %> + <label>Legg til et bilde <em>(valgfritt)</em></label> + <input data-icon="fms-photo-new" value="Ta nytt bilde" type="button" name="photo_button" id="id_photo_button" data-role="button" data-theme="a"> + <input data-icon="fms-photo-existing" value="Legg til et eksisterende bilde" 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>Ditt bilde</label> + <div class="photo"> + <img class="small" id="photo" src="<%= file %>" /> + </div> + <input value="Fjern bilde" type="button" name="del_photo_button" id="id_del_photo_button" data-role="button" data-theme="a"> + </div> + </div> +</div> |