[CalendarServer-changes] [7908] CalendarServer/branches/users/glyph/imip-and-admin-html

source_changes at macosforge.org source_changes at macosforge.org
Thu Aug 11 21:41:36 PDT 2011


Revision: 7908
          http://trac.macosforge.org/projects/calendarserver/changeset/7908
Author:   glyph at apple.com
Date:     2011-08-11 21:41:36 -0700 (Thu, 11 Aug 2011)
Log Message:
-----------
start working on a template for the admin application

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/imip-and-admin-html/setup.py

Added Paths:
-----------
    CalendarServer/branches/users/glyph/imip-and-admin-html/calendarserver/webadmin/template.html

Added: CalendarServer/branches/users/glyph/imip-and-admin-html/calendarserver/webadmin/template.html
===================================================================
--- CalendarServer/branches/users/glyph/imip-and-admin-html/calendarserver/webadmin/template.html	                        (rev 0)
+++ CalendarServer/branches/users/glyph/imip-and-admin-html/calendarserver/webadmin/template.html	2011-08-12 04:41:36 UTC (rev 7908)
@@ -0,0 +1,54 @@
+<html xmlns:t="http://twistedmatrix.com/ns/twisted.web.template/0.1">
+    <head>
+        <style>
+            th, .even td, .odd td {
+                padding-right: 0.5em;
+                font-family: monospace;
+            }
+            .even-dir {
+                background-color: #efe0ef;
+            }
+            .even {
+                background-color: #eee;
+            }
+            .odd-dir {
+                background-color: #f0d0ef;
+            }
+            .odd {
+                background-color: #dedede;
+            }
+            .icon {
+                text-align: center;
+            }
+            .listing {
+                margin-left: auto;
+                margin-right: auto;
+                width: 50%;
+                padding: 0.1em;
+            }
+            .content {
+                padding-left: 10px;
+                padding-right: 10px;
+            }
+            body {
+                border: 0;
+                padding: 0;
+                margin: 0;
+                background-color: #efefef;
+            }
+            h1 {
+                padding: 0.1em;
+                padding-left:10px;
+                padding-right:10px;
+                background-color: #777;
+                color: white;
+                border-bottom: thin white dashed;
+            }
+        </style>
+        <title><t:slot name="title" /></title>
+    </head>
+    <body>
+        <div class="content">
+        </div>
+    </body>
+</html>

Modified: CalendarServer/branches/users/glyph/imip-and-admin-html/setup.py
===================================================================
--- CalendarServer/branches/users/glyph/imip-and-admin-html/setup.py	2011-08-12 04:41:24 UTC (rev 7907)
+++ CalendarServer/branches/users/glyph/imip-and-admin-html/setup.py	2011-08-12 04:41:36 UTC (rev 7908)
@@ -113,6 +113,12 @@
                                "zoneinfo/*/*/*.ics",
                                "images/*/*.jpg",
                              ],
+                             "calendarserver.webadmin": [
+                                 "*.html"
+                             ],
+                             "twistedcaldav": [
+                                 "*.html"
+                             ],
                              "txdav.common.datastore": [
                                "sql_schema/*.sql",
                                "sql_schema/*/*.sql",
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110811/4a225b78/attachment-0001.html>


More information about the calendarserver-changes mailing list