diff options
author | Guido Günther <agx@sigxcpu.org> | 2013-04-26 18:42:04 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2013-04-26 20:18:59 +0200 |
commit | 51966d70165d3f48a228fec7c47c1d0001b19efe (patch) | |
tree | 26d391a7a19a1ecdc1467bb55812edecf14fe59d /content/calendarAutoconfigDialog.xul |
Diffstat (limited to 'content/calendarAutoconfigDialog.xul')
-rw-r--r-- | content/calendarAutoconfigDialog.xul | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/content/calendarAutoconfigDialog.xul b/content/calendarAutoconfigDialog.xul new file mode 100644 index 0000000..6320043 --- /dev/null +++ b/content/calendarAutoconfigDialog.xul @@ -0,0 +1,32 @@ +<?xml version="1.0"?> +<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?> +<dialog id="calendar-autoconfig-dialog" title="Calendar Autoconfiguration" + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + buttons="accept,cancel" + ondialogaccept="return doOK();" + ondialogcancel="return doCancel();"> + + <script src="calendarAutoconfig.js"/> + <script src="caDNSResolver.js"/> + <script src="misc.js"/> + + <script> + function doOK() { + email = document.getElementById("calendar-autoconfig-email").value + do_calendarAutoconfig('email:' + email); + return true; + } + + function doCancel(){ + return true; + } + </script> + + <dialogheader title="Calendar Autoconfiguration" + description="Autoconfigure CalDAV and WebCal calenders"/> + + <vbox> + <label control="calendar-autoconfig-email" value="EMail:"/> + <textbox value="agx@sigxcpu.org" id="calendar-autoconfig-email"/> + </vbox> +</dialog> |