import torrus 1.0.9
[freeside.git] / torrus / templates / adminfo.html
diff --git a/torrus/templates/adminfo.html b/torrus/templates/adminfo.html
new file mode 100644 (file)
index 0000000..a041e00
--- /dev/null
@@ -0,0 +1,38 @@
+[% PROCESS 'html-incblocks.txt' %]
+[% INCLUDE htmlstart
+     title='Administrative information: ' _ path(token)
+     contentClass="SingleColumnContent"
+     noTopMenu=1 %]
+
+<H1>Administrative information</H1>
+[% INCLUDE treename %]
+<P>Path: [% path(token) %]</P>
+
+[%
+FOREACH category = adminfo.keys.sort;
+%]
+<H2>[% category %]</H2>
+<DIV CLASS="Listing">
+[%
+  counter = 0;
+  evenRow = 0;
+
+  FOREACH pname = adminfo.$category.keys.sort;
+    counter = counter + 1;
+    IF counter % 2 == 0;
+      evenRow = 1;
+    ELSE;
+      evenRow = 0;
+    END;
+%]
+  <DIV CLASS="[% evenRow ? 'ListRowEven' : 'ListRow' %]">
+    <SPAN CLASS="NodeName">[% pname %]</SPAN>
+    <SPAN CLASS="NodeDescr">[% adminfo.$category.$pname %]</SPAN>
+    </SPAN>
+  </DIV>
+[% END %]
+</DIV>
+[%
+END %]
+
+[% INCLUDE htmlend %]