-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathcollection.xml
131 lines (131 loc) · 5.5 KB
/
collection.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta charset="utf-8" />
<title>kcaldav: collection</title>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.min.css" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.6.0/pure-min.css" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css" />
<link rel="stylesheet" href="@HTDOCS@/style.css" type="text/css" />
<script src="@HTDOCS@/collection.min.js"></script>
</head>
<body onload="load();">
<section id="loggedout" class="hide">
<p>
The nonce for this HTTP-authorised session has been deleted.
To complete your logout, you'll need to close the browser window to destroy your credentials.
</p>
</section>
<section id="loading">
<p>
<i class="fa fa-spin fa-spinner"></i> Loading <i>k</i>CalDAV...
</p>
</section>
<section id="loaded" class="hide">
<header>
<div>
<h1>
CalDAV <span class="bigonly">Management</span>
</h1><nav>
<a href="@HTDOCS@/home.html">home</a>
<a href="#" onclick="logout();">logout</a>
</nav>
</div>
</header>
<article>
<p>
Welcome, <span class="kcalendar-field kcalendar-principal-name"></span>.
Your principal has <span class="kcalendar-field kcalendar-principal-quota-used"></span> used and <span
class="kcalendar-field kcalendar-principal-quota-avail"></span> available.
</p>
<section>
<h2>
Calendar Address
</h2>
<ul>
<li>
<span class="kcalendar-coln-uri"></span>
</li>
</ul>
<p class="setcolnprops-error error hide" id="setcolnprops-error-form">
Missing or invalid fields.
</p>
<p class="setcolnprops-error error hide" id="setcolnprops-error-sys">
A system failure has occurred.
</p>
<form class="pure-form" method="post" action="@CGIURI@/delcoln.json" onsubmit="return(setcolnprops(this, 'setcolnprops-delete'));">
<input type="hidden" name="id" class="kcalendar-coln-id" />
<button type="submit" class="pure-button pure-button-primary" id="setcolnprops-delete-btn">
<i class="fa fa-fw fa-remove"></i>
<span class="bigonly">Delete Calendar</span>
</button>
<button type="submit" class="hide pure-button pure-button-primary" id="setcolnprops-delete-pbtn">
<i class="fa fa-fw fa-spin fa-spinner"></i>
<span class="bigonly">Deleting...</span>
</button>
</form>
<h2>
Calendar Display Name
</h2>
<p>
This is the display name as defined in <a href="https://tools.ietf.org/html/rfc4918#section-15.2">RFC 4918, 15.2</a>.
It can be any UTF-8 string less than 1024 bytes in length.
</p>
<form class="pure-form" method="post" action="@CGIURI@/setcolnprops.json" onsubmit="return(setcolnprops(this, 'setcolnprops-name'));">
<input type="hidden" name="id" class="kcalendar-coln-id" />
<input class="kcalendar-coln-displayname" name="name" type="text" required="required" />
<button type="submit" class="pure-button pure-button-primary" id="setcolnprops-name-btn">
<i class="fa fa-fw fa-calendar"></i>
<span class="bigonly">Change</span>
</button>
<button type="submit" class="hide pure-button pure-button-primary" id="setcolnprops-name-pbtn">
<i class="fa fa-fw fa-spin fa-spinner"></i>
<span class="bigonly">Changing...</span>
</button>
</form>
<h2>
Calendar Colour
</h2>
<p>
This is an Apple extension that will probably only work with Apple iCal systems.
</p>
<form class="pure-form" method="post" action="@CGIURI@/setcolnprops.json" onsubmit="return(setcolnprops(this, 'setcolnprops-colour'));">
<input type="hidden" name="id" class="kcalendar-coln-id" />
<input class="kcalendar-coln-colour" name="colour" type="color" required="required" />
<button type="submit" class="pure-button pure-button-primary" id="setcolnprops-colour-btn">
<i class="fa fa-fw fa-paint-brush"></i>
<span class="bigonly">Change</span>
</button>
<button type="submit" class="hide pure-button pure-button-primary" id="setcolnprops-colour-pbtn">
<i class="fa fa-fw fa-spin fa-spinner"></i>
<span class="bigonly">Changing...</span>
</button>
</form>
<h2>
Calendar Description
</h2>
<p>
This is the calendar description as defined in <a href="https://tools.ietf.org/html/rfc4791#section-5.2.1">RFC 4791, 5.2.1</a>.
It can be any UTF-8 string less than 4096 bytes in length.
</p>
<form class="pure-form" method="post" action="@CGIURI@/setcolnprops.json" onsubmit="return(setcolnprops(this, 'setcolnprops-desc'));">
<input type="hidden" name="id" class="kcalendar-coln-id" />
<textarea class="kcalendar-coln-description" name="description" required="required"></textarea>
<button type="submit" class="pure-button pure-button-primary" id="setcolnprops-desc-btn">
<i class="fa fa-fw fa-file-text-o"></i>
<span class="bigonly">Change</span>
</button>
<button type="submit" class="hide pure-button pure-button-primary" id="setcolnprops-desc-pbtn">
<i class="fa fa-fw fa-spin fa-spinner"></i>
<span class="bigonly">Changing...</span>
</button>
</form>
</section>
</article>
<footer>
<a href="https://kristaps.bsd.lv/kcaldav"><i>k</i>CalDAV</a> version @VERSION@
</footer>
</section>
</body>
</html>