X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=root%2Fsrc%2Fsettings%2Findex.tt2;h=78e1a145970ddb76135cd15436fa6dbcb5d37783;hb=07d0555058636b2b6ebb8c6bd757f9dfde072dba;hp=d52509a1f49466f07d8496a15e7d558c15ae8157;hpb=15e271f8e65bfc35d311f9b9cad581e3a1c70def;p=ndwebbie.git diff --git a/root/src/settings/index.tt2 b/root/src/settings/index.tt2 index d52509a..78e1a14 100644 --- a/root/src/settings/index.tt2 +++ b/root/src/settings/index.tt2 @@ -9,9 +9,31 @@
+
+
SMS +

Number: + + Info to DCs: +

+

+ Wake me up if needed: + + +

+
+
+
Discord ID + +
+
+
Email + +
+
Birthday YYYY-MM-DD: - +
Change password @@ -23,6 +45,31 @@

+
Timezone + + +
+

+

+

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

+
+
+
Hostname +

Hostname: + + +

+
+
+ [%- site.stylesheets = ['ui/ui.datepicker.css'] %] @@ -33,7 +80,26 @@ $(document).ready(function(){ yearRange: "-80:+0", dateFormat: $.datepicker.ATOM, firstDay: 1, - showOn: "both", + showOn: "both" + }); + $("#tzcategory").change(function(){ + if ($(this).val() == 'GMT'){ + $("#timezone").val($(this).val()); + $("#tzcountry").empty(); + }else{ + $.get("/jsrpc/tzcountries/" + $(this).val(),function(xml){ + $("#tzcountry").empty(); + $("country",xml).each(function(i){ + var opt = $('