summaryrefslogtreecommitdiff
path: root/content/calendarAutoconfigDialog.xul
diff options
context:
space:
mode:
Diffstat (limited to 'content/calendarAutoconfigDialog.xul')
-rw-r--r--content/calendarAutoconfigDialog.xul32
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>