From 024f2019e6a3f23bec88d3c1100d67456e34adc9 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Sat, 21 Aug 2010 16:31:46 -0700 Subject: store default location --- view/jot-header.tpl | 2 +- view/jot.tpl | 2 +- view/settings.tpl | 7 +++++++ view/theme/default/style.css | 14 +++++++++++--- 4 files changed, 20 insertions(+), 5 deletions(-) (limited to 'view') diff --git a/view/jot-header.tpl b/view/jot-header.tpl index 39f8adc6e..8c7cce360 100644 --- a/view/jot-header.tpl +++ b/view/jot-header.tpl @@ -81,7 +81,7 @@ tinyMCE.init({ } function jotGetLocation() { - reply = prompt("Where are you right now?"); + reply = prompt("Where are you right now?", $('#jot-location').val()); if(reply && reply.length) { $('#jot-location').val(reply); } diff --git a/view/jot.tpl b/view/jot.tpl index 5ceb79503..586274c35 100644 --- a/view/jot.tpl +++ b/view/jot.tpl @@ -9,7 +9,7 @@ - + diff --git a/view/settings.tpl b/view/settings.tpl index ce13e2e2e..aa0bf17e0 100644 --- a/view/settings.tpl +++ b/view/settings.tpl @@ -25,6 +25,13 @@ $zoneselect
+
+ + +
+
+ +
$theme diff --git a/view/theme/default/style.css b/view/theme/default/style.css index 57d2888f4..92fb93887 100644 --- a/view/theme/default/style.css +++ b/view/theme/default/style.css @@ -282,7 +282,8 @@ input#dfrn-url { #settings-username-end, #settings-email-end, -#settings-nick-end, +#settings-nick-end, +#settings-defloc-end, #settings-timezone-end, #settings-theme-end, #settings-password-end, @@ -298,7 +299,8 @@ input#dfrn-url { #settings-username-label, #settings-email-label, -#settings-nick-label, +#settings-nick-label, +#settings-defloc-label, #settings-timezone-label, #settings-theme-label, #settings-password-label, @@ -315,6 +317,7 @@ input#dfrn-url { #settings-username, #settings-email, #settings-nick, +#settings-defloc, #timezone-select, #theme-select, #settings-password, @@ -328,7 +331,12 @@ input#dfrn-url { margin-bottom: 20px; } -#settings-theme-label { +#settings-theme-label, +#settings-defloc-label { + margin-top: 20px; +} + +#settings-defloc { margin-top: 20px; } -- cgit v1.2.3