X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=root%2Fsrc%2Fsettings%2Findex.tt2;h=8cafbf4890200404918ffe880fd707d3a62eff55;hb=1c1d02cdc0bc44f244597b84ebc79fd2f1523db8;hp=6291e33cddcf3684b067b4da5f943167687e9a85;hpb=eb3bda37d084c0e6b13c97f88f06d5563c40d2fb;p=ndwebbie.git diff --git a/root/src/settings/index.tt2 b/root/src/settings/index.tt2 index 6291e33..8cafbf4 100644 --- a/root/src/settings/index.tt2 +++ b/root/src/settings/index.tt2 @@ -9,6 +9,14 @@
+
Discord ID + +
+
+
Email + +
+
Birthday YYYY-MM-DD: @@ -23,7 +31,7 @@

-
Timezone +
Timezone -
+ +

+

Remember that GMT stays the same all year, so if you're in the UK you should pick Europe/London.

-
+
[%- site.stylesheets = ['ui/ui.datepicker.css'] %] @@ -50,12 +60,23 @@ $(document).ready(function(){ showOn: "both" }); $("#tzcategory").change(function(){ - $.get("/jsrpc/tzcountries/" + $(this).val(),function(xml){ + if ($(this).val() == 'GMT'){ + $("#timezone").val($(this).val()); $("#tzcountry").empty(); - $("country",xml).each(function(i){ - $("#tzcountry").append(''); + }else{ + $.get("/jsrpc/tzcountries/" + $(this).val(),function(xml){ + $("#tzcountry").empty(); + $("country",xml).each(function(i){ + var opt = $('