aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/css/fms.css9
-rw-r--r--www/templates/en/login.html12
-rw-r--r--www/templates/en/photo.html8
-rw-r--r--www/templates/en/submit_confirm.html4
-rw-r--r--www/templates/en/submit_email.html8
-rw-r--r--www/templates/en/submit_name.html4
-rw-r--r--www/templates/en/submit_password.html8
-rw-r--r--www/templates/en/submit_set_password.html4
8 files changed, 43 insertions, 14 deletions
diff --git a/www/css/fms.css b/www/css/fms.css
index f81dfdc..0c6c1d3 100644
--- a/www/css/fms.css
+++ b/www/css/fms.css
@@ -154,6 +154,7 @@
}
div[data-role='content'] {
+ position: relative;
width: 95%;
margin: 20px auto;
background-color: rgba(255, 255, 255, 0.8);
@@ -171,6 +172,7 @@
}
#details-page div[data-role='content'] {
+ position: static;
padding: 0px;
margin-bottom: 0px;
}
@@ -288,6 +290,13 @@
right: 15px;
}
+ .bottom-btn {
+ position: absolute;
+ bottom: 5px;
+ left: 15px;
+ right: 15px;
+ }
+
#confirm,
#confirm-map,
#reposition,
diff --git a/www/templates/en/login.html b/www/templates/en/login.html
index 02733da..ce3b1ce 100644
--- a/www/templates/en/login.html
+++ b/www/templates/en/login.html
@@ -8,7 +8,9 @@
<div id="signed_in_row">
<p>You are signed in as <%= email %></p>
<div id="err" class="nodisplay"></div>
- <input type="button" id="logout" name="logout" value="Sign Out" data-theme="a">
+ <div class="bottom-btn">
+ <input type="button" id="logout" name="logout" value="Sign Out" data-theme="a">
+ </div>
</div>
<div id="password_row" class="nodisplay">
<p>
@@ -24,7 +26,9 @@
<div>
<input data-role="none" type="password" value="" name="password" id="form_password" placeholder="Your password" required>
</div>
- <input type="submit" id="login" name="login" value="Login" data-theme="a">
+ <div class="bottom-btn">
+ <input type="submit" id="login" name="login" value="Login" data-theme="a">
+ </div>
</form>
</div>
<div id="success_row" class="nodisplay">
@@ -32,6 +36,8 @@
Signed in!
</p>
<div id="err" class="nodisplay"></div>
- <input type="button" id="logout" name="logout" value="Sign Out" data-theme="a">
+ <div class="bottom-btn">
+ <input type="button" id="logout" name="logout" value="Sign Out" data-theme="a">
+ </div>
</div>
</div>
diff --git a/www/templates/en/photo.html b/www/templates/en/photo.html
index 7ba6a00..b195833 100644
--- a/www/templates/en/photo.html
+++ b/www/templates/en/photo.html
@@ -15,7 +15,9 @@
<img class="small" id="photo" src="<%= file %>" />
<% } %>
</div>
- <input type="button" id="id_existing" data-theme="c" value="Add an existing photo" >
- <input id="id_photo_button" type="button" data-theme="a" value="Take a new photo">
- <input id="id_del_photo_button" type="button" data-theme="a" value="Remove Photo">
+ <div class="bottom-btn">
+ <input type="button" id="id_existing" data-theme="c" value="Add an existing photo" >
+ <input id="id_photo_button" type="button" data-theme="a" value="Take a new photo">
+ <input id="id_del_photo_button" type="button" data-theme="a" value="Remove Photo">
+ </div>
</div>
diff --git a/www/templates/en/submit_confirm.html b/www/templates/en/submit_confirm.html
index 6961583..7d3f32b 100644
--- a/www/templates/en/submit_confirm.html
+++ b/www/templates/en/submit_confirm.html
@@ -25,5 +25,7 @@
<label class="inline" for="form_may_show_name">Show my name publicly</label>
</div>
</div>
- <input data-role="button" data-theme="a" type="button" id="report" name="report" value="Report">
+ <div class="bottom-btn">
+ <input data-role="button" data-theme="a" type="button" id="report" name="report" value="Report">
+ </div>
</div>
diff --git a/www/templates/en/submit_email.html b/www/templates/en/submit_email.html
index 352fdd2..3eaf26a 100644
--- a/www/templates/en/submit_email.html
+++ b/www/templates/en/submit_email.html
@@ -17,7 +17,9 @@
To skip this step in future, you can set a password now.
</p>
- <input data-role="button" data-theme="a" type="button" id="email_confirm" name="email_confirm" value="I don't want to set a password">
- <input data-role="button" data-theme="a" type="button" id="set_password" name="set_password" value="I'd like to set a password">
- <input data-role="button" data-theme="a" type="button" id="have_password" name="have_password" value="I've already got one - login">
+ <div class="bottom-btn">
+ <input data-role="button" data-theme="a" type="button" id="email_confirm" name="email_confirm" value="I don't want to set a password">
+ <input data-role="button" data-theme="a" type="button" id="set_password" name="set_password" value="I'd like to set a password">
+ <input data-role="button" data-theme="a" type="button" id="have_password" name="have_password" value="I've already got one - login">
+ </div>
</div>
diff --git a/www/templates/en/submit_name.html b/www/templates/en/submit_name.html
index 33c0325..bbfa219 100644
--- a/www/templates/en/submit_name.html
+++ b/www/templates/en/submit_name.html
@@ -26,5 +26,7 @@
</fieldset>
</div>
</div>
- <input data-role="button" data-theme="a" type="button" id="send_confirm" name="send_confirm" value="Send confirmation email">
+ <div class="bottom-btn">
+ <input data-role="button" data-theme="a" type="button" id="send_confirm" name="send_confirm" value="Send confirmation email">
+ </div>
</div>
diff --git a/www/templates/en/submit_password.html b/www/templates/en/submit_password.html
index df78969..07fb8ac 100644
--- a/www/templates/en/submit_password.html
+++ b/www/templates/en/submit_password.html
@@ -11,7 +11,9 @@
<input data-role="none" type="password" value="" name="password" id="form_password" placeholder="Your password" required>
</div>
</div>
- <input data-role="button" data-theme="a" type="submit" id="report" name="report" value="Report">
+ <div class="bottom-btn">
+ <input data-role="button" data-theme="a" type="submit" id="report" name="report" value="Report">
+ </div>
</div>
<div id="check_name" class="nodisplay">
<div class="inputcard">
@@ -28,7 +30,9 @@
</fieldset>
</div>
</div>
- <input data-role="button" data-theme="a" type="submit" id="confirm_name" name="report" value="Confirm name">
+ <div class="bottom-btn">
+ <input data-role="button" data-theme="a" type="submit" id="confirm_name" name="report" value="Confirm name">
+ </div>
</div>
</form>
</div>
diff --git a/www/templates/en/submit_set_password.html b/www/templates/en/submit_set_password.html
index 5d63c0a..f265ee6 100644
--- a/www/templates/en/submit_set_password.html
+++ b/www/templates/en/submit_set_password.html
@@ -11,7 +11,9 @@
<input data-role="none" type="password" value="" name="password" id="form_password" placeholder="Your password" required>
</div>
</div>
- <input data-role="button" data-theme="a" type="submit" id="continue" name="report" value="Continue">
+ <div class="bottom-btn">
+ <input data-role="button" data-theme="a" type="submit" id="continue" name="report" value="Continue">
+ </div>
</div>
</form>
</div>