[CalendarServer-changes] [8063] CalendarServer/branches/users/glyph/other-html/twistedcaldav
source_changes at macosforge.org
source_changes at macosforge.org
Tue Sep 13 12:08:16 PDT 2011
Revision: 8063
http://trac.macosforge.org/projects/calendarserver/changeset/8063
Author: glyph at apple.com
Date: 2011-09-13 12:08:16 -0700 (Tue, 13 Sep 2011)
Log Message:
-----------
basic templates for all the different directory listing types
Added Paths:
-----------
CalendarServer/branches/users/glyph/other-html/twistedcaldav/directory/calendar-user-proxy-principal-resource.html
CalendarServer/branches/users/glyph/other-html/twistedcaldav/directory/directory-principal-resource.html
CalendarServer/branches/users/glyph/other-html/twistedcaldav/directory-listing.html
Added: CalendarServer/branches/users/glyph/other-html/twistedcaldav/directory/calendar-user-proxy-principal-resource.html
===================================================================
--- CalendarServer/branches/users/glyph/other-html/twistedcaldav/directory/calendar-user-proxy-principal-resource.html (rev 0)
+++ CalendarServer/branches/users/glyph/other-html/twistedcaldav/directory/calendar-user-proxy-principal-resource.html 2011-09-13 19:08:16 UTC (rev 8063)
@@ -0,0 +1,38 @@
+<?xml version="1.0"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<t:transparent xmlns:t="http://twistedmatrix.com/ns/twisted.web.template/0.1"
+ t:render="principal">
+ <div class="directory-listing">
+ <h1>Principal Details</h1>
+<pre><blockquote>Directory Information
+---------------------
+Directory GUID: <t:slot name="directoryGUID"></t:slot>
+Realm: <t:slot name="realm"></t:slot>
+
+Parent Principal Information
+---------------------
+GUID: <t:slot name="guid"></t:slot>
+Record type: <t:slot name="recordType"></t:slot>
+Short names: <t:slot name="shortNames"></t:slot>
+Full name: <t:slot name="fullName"></t:slot>
+Principal UID: <t:slot name="principalUID"></t:slot>
+Principal URL: <t:slot name="principalURL"></t:slot>
+
+Proxy Principal Information
+---------------------
+Principal UID: <t:slot name="proxyPrincipalUID"></t:slot>
+Principal URL: <t:slot name="proxyPrincipalURL"></t:slot>
+
+Alternate URIs:
+<t:slot name="alternateURIs"></t:slot>
+Group members:
+<t:slot name="groupMembers"></t:slot>
+Group memberships:
+<t:slot name="groupMemberships"></t:slot>
+</blockquote></pre>
+</div>
+<t:transparent t:render="output">
+<!-- parent / superclass output goes here -->
+</t:transparent>
+</t:transparent>
Added: CalendarServer/branches/users/glyph/other-html/twistedcaldav/directory/directory-principal-resource.html
===================================================================
--- CalendarServer/branches/users/glyph/other-html/twistedcaldav/directory/directory-principal-resource.html (rev 0)
+++ CalendarServer/branches/users/glyph/other-html/twistedcaldav/directory/directory-principal-resource.html 2011-09-13 19:08:16 UTC (rev 8063)
@@ -0,0 +1,41 @@
+<div xmlns:t="http://twistedmatrix.com/ns/twisted.web.template/0.1"
+ t:render="principal" class="directory-listing">
+ <h1>Principal Details</h1><pre><blockquote>Directory Information
+---------------------
+Directory GUID: <t:slot name="directoryGUID"></t:slot>
+Realm: <t:slot name="realm"></t:slot>
+Hosted-At: <t:slot name="hostedAt"></t:slot>
+Partition: <t:slot name="partition"></t:slot>
+
+Principal Information
+---------------------
+GUID: <t:slot name="principalGUID"></t:slot>
+Record type: <t:slot name="recordType"></t:slot>
+Short names: <t:slot name="shortNames"></t:slot>
+Security Identities: <t:slot name="securityIDs"></t:slot>
+Full name: <t:slot name="fullName"></t:slot>
+First name: <t:slot name="firstName"></t:slot>
+Last name: <t:slot name="lastName"></t:slot>
+Email addresses:
+Principal UID: <t:slot name="principalUID"></t:slot>
+Principal URL: <t:slot name="principalURL"></t:slot>
+
+Alternate URIs:
+<t:slot name="alternateURIs"></t:slot>
+Group members:
+<t:slot name="groupMembers"></t:slot>)
+Group memberships:
+<t:slot name="groupMemberships"></t:slot>Read-write Proxy For:
+<t:slot name="readWriteProxyFor"></t:slot>
+Read-only Proxy For:
+<t:slot name="readOnlyProxyFor"></t:slot><t:transparent
+t:render="extra"><t:transparent t:render="enabledForCalendaring" />
+Calendar Homes: <t:slot name="calendarHomes" />
+Calendar user addresses: <t:slot name="calendarUserAddresses" /><t:transparent
+t:render="enabledForAddressBooks">
+Address Book homes:<t:slot name="addressBookHomes" />
+</t:transparent></t:transparent>
+</blockquote></pre>
+
+ </div>
+
Added: CalendarServer/branches/users/glyph/other-html/twistedcaldav/directory-listing.html
===================================================================
--- CalendarServer/branches/users/glyph/other-html/twistedcaldav/directory-listing.html (rev 0)
+++ CalendarServer/branches/users/glyph/other-html/twistedcaldav/directory-listing.html 2011-09-13 19:08:16 UTC (rev 8063)
@@ -0,0 +1,34 @@
+<?xml version="1.0"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<t:transparent t:render="directoryBody"
+ xmlns:t="http://twistedmatrix.com/ns/twisted.web.template/0.1">
+ <div class="directory-listing">
+ <h1>Collection Listing</h1>
+ <table>
+ <tr>
+ <th>Name</th><th>Size</th><th>Last Modified</th>
+ <th>MIME Type</th>
+ </tr>
+ <tr>
+ <t:attr name="class"><t:slot name="even"/></t:attr>
+ <td><a><t:slot name="name"/><t:attr
+ name="href"><t:slot name="url"/></t:attr></a></td>
+ <td align="right"><t:slot name="size"/></td>
+ <td><t:slot name="lastModified"/></td>
+ <td><t:slot name="type"/></td>
+ </tr>
+ </table>
+ </div>
+ <div class="directory-listing">
+ <h1>Properties</h1>
+ <table>
+ <tr><th>Name</th><th>Value</th></tr>
+ <tr>
+ <td valign="top"><t:slot name="name"/></td>
+ <td><pre><t:slot name="value"/></pre></td>
+ <t:attr name="class"><t:slot name="even"/></t:attr>
+ </tr>
+ </table>
+ </div>
+</t:transparent>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110913/bb3797fe/attachment-0001.html>
More information about the calendarserver-changes
mailing list