[D-community-commits] r134 - in trunk/fai-config-dir: files/usr/share/ikiwiki/templates files/usr/share/ikiwiki/templates/dco-logo.png files/usr/share/ikiwiki/templates/dco.css files/usr/share/ikiwiki/templates/page.tmpl scripts/WEBSERVER

h01ger-guest at alioth.debian.org h01ger-guest at alioth.debian.org
Sat Jun 30 12:04:00 UTC 2007


Author: h01ger-guest
Date: 2007-06-30 12:04:00 +0000 (Sat, 30 Jun 2007)
New Revision: 134

Added:
   trunk/fai-config-dir/files/usr/share/ikiwiki/templates/dco-logo.png/
   trunk/fai-config-dir/files/usr/share/ikiwiki/templates/dco-logo.png/WEBSERVER
   trunk/fai-config-dir/files/usr/share/ikiwiki/templates/dco.css/
   trunk/fai-config-dir/files/usr/share/ikiwiki/templates/dco.css/WEBSERVER
   trunk/fai-config-dir/files/usr/share/ikiwiki/templates/page.tmpl/
   trunk/fai-config-dir/files/usr/share/ikiwiki/templates/page.tmpl/WEBSERVER
Modified:
   trunk/fai-config-dir/scripts/WEBSERVER/10-ikiwiki
Log:
copy the templates the FAI way

Added: trunk/fai-config-dir/files/usr/share/ikiwiki/templates/dco-logo.png/WEBSERVER
===================================================================
(Binary files differ)


Property changes on: trunk/fai-config-dir/files/usr/share/ikiwiki/templates/dco-logo.png/WEBSERVER
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/fai-config-dir/files/usr/share/ikiwiki/templates/dco.css/WEBSERVER
===================================================================
--- trunk/fai-config-dir/files/usr/share/ikiwiki/templates/dco.css/WEBSERVER	                        (rev 0)
+++ trunk/fai-config-dir/files/usr/share/ikiwiki/templates/dco.css/WEBSERVER	2007-06-30 12:04:00 UTC (rev 134)
@@ -0,0 +1,96 @@
+/* CSS for Debian-community.org */
+/* Public domain - do what you want */
+/* Written by Andrew Donnellan <ajdlinux at gmail dot com> 
+(no, I don't know if spambots search CSS files...) */
+
+
+/* Global styles */
+body {
+	font-family: sans-serif;
+	font-size: 12pt;
+	background-color: rgb(200,200,200);
+}
+
+P {
+        margin: 8px 6px;
+}
+
+/* Containers */
+#maindiv {
+	width: 95%;
+	background-color: rgb(255,255,255);
+	border: 2px solid black;
+	margin-left: auto; margin-right: auto;
+}
+
+#leftcol {
+        width: 180px;
+        border: none;
+        vertical-align: top;
+}
+
+#maincol {
+        border: none;
+        width: 100%;
+}
+
+#sidebar {
+        float: left;
+        width: 220px;
+        background-color: rgb(200,200,200);
+        border: 1px solid black;
+        margin : 4px;
+}
+
+#logo {
+        text-align: center;
+        padding: 4px;
+}
+
+#logo IMG {
+        width: 484px;
+        height: 100px;
+}
+
+#linkbar {
+        width: 100%;
+        background-color: rgb(210,0,0);
+        border: 0px none;
+        text-align: center;
+}
+
+#linkbar a {
+        color: rgb(255,255,255);
+        text-decoration: none;
+}
+
+#linkbar a:hover {
+        text-decoration: underline;
+}
+
+
+/* Text containers */
+.infobox {
+	width: 95%;
+	background-color: rgb(220,220,220);
+	border: 1px solid black;
+	margin: 4px auto;
+}
+
+.normbox {
+	width: 95%;
+	background-color: rgb(255,255,255);
+	border: 1px solid black;
+	margin: 4px auto;
+}
+
+/* Misc classes */
+
+.date {
+	font-weight: bold;
+}
+
+#copyright {
+        font-size: 8pt;
+        text-align: center;
+}
\ No newline at end of file

Added: trunk/fai-config-dir/files/usr/share/ikiwiki/templates/page.tmpl/WEBSERVER
===================================================================
--- trunk/fai-config-dir/files/usr/share/ikiwiki/templates/page.tmpl/WEBSERVER	                        (rev 0)
+++ trunk/fai-config-dir/files/usr/share/ikiwiki/templates/page.tmpl/WEBSERVER	2007-06-30 12:04:00 UTC (rev 134)
@@ -0,0 +1,96 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+<head>
+<title>debian-community.org - <TMPL_VAR TITLE></title>
+<link rel="stylesheet" type="text/css" href="<TMPL_VAR BASEURL>dco.css" />
+<TMPL_IF NAME="FAVICON">
+<link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/x-icon" />
+</TMPL_IF>
+<TMPL_IF NAME="FEEDLINKS"><TMPL_VAR FEEDLINKS></TMPL_IF>
+<TMPL_IF NAME="META"><TMPL_VAR META></TMPL_IF>
+</head>
+<body>
+<div id="maindiv">
+<!-- logo -->
+<div id="logo"><img src="<TMPL_VAR BASEURL>dco-logo.png" alt="Debian-Community.org logo" /></div>
+
+
+<!-- linkbar -->
+<div id="linkbar"><a href="index.html"><b>Home</b></a> - LINKS HERE</div>
+
+
+<!-- inner table -->
+<table id="innertbl"><tr>
+<!-- sidebar -->
+<td id="leftcol">
+<div id="sidebar">
+<TMPL_IF SIDEBAR>
+<TMPL_VAR SIDEBAR>
+</TMPL_IF>
+<TMPL_IF NAME="SEARCHFORM">
+<TMPL_VAR SEARCHFORM>
+</TMPL_IF>
+<TMPL_IF NAME="HAVE_ACTIONS">
+<hr>
+<ul>
+<TMPL_IF NAME="EDITURL">
+<li><a href="<TMPL_VAR EDITURL>">Edit</a></li>
+</TMPL_IF>
+<TMPL_IF NAME="RECENTCHANGESURL">
+<li><a href="<TMPL_VAR RECENTCHANGESURL>">RecentChanges</a></li>
+</TMPL_IF>
+<TMPL_IF NAME="HISTORYURL">
+<li><a href="<TMPL_VAR HISTORYURL>">History</a></li>
+</TMPL_IF>
+<TMPL_IF NAME="PREFSURL">
+<li><a href="<TMPL_VAR PREFSURL>">Preferences</a></li>
+</TMPL_IF>
+<TMPL_IF NAME="DISCUSSIONLINK">
+<li><TMPL_VAR DISCUSSIONLINK><br /></li>
+</TMPL_IF>
+</ul>
+</TMPL_IF>
+</div>
+</td>
+
+<!-- example content -->
+<td id="maincol">
+<div class="infobox"><h2><TMPL_LOOP NAME="PARENTLINKS">
+<a href="<TMPL_VAR NAME=URL>"><TMPL_VAR NAME=PAGE></a>/ 
+</TMPL_LOOP>
+<TMPL_VAR TITLE></h2></div>
+
+<p>
+<TMPL_VAR CONTENT>
+</p>
+
+<div class="infobox">
+<TMPL_IF NAME="TAGS">
+Tags:
+<TMPL_LOOP NAME="TAGS">
+<TMPL_VAR NAME=LINK>
+</TMPL_LOOP>
+</TMPL_IF>
+</div>
+
+<div id="infobox">
+<TMPL_IF NAME="BACKLINKS">
+Links:
+<TMPL_LOOP NAME="BACKLINKS">
+<a href="<TMPL_VAR NAME=URL>"><TMPL_VAR NAME=PAGE></a>
+</TMPL_LOOP>
+</TMPL_IF>
+</div>
+
+</td></tr></table>
+</div>
+
+
+
+<!-- copyright -->
+<div id="copyright">Copyright &copy; 2007 The Debian-Community.org Team - <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License v2</a> - <a href="http://ikiwiki.info">Powered by IkiWiki</a><br />
+Last edited <TMPL_VAR NAME=MTIME><br />
+<a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Strict" height="31" width="88" style="border: none;" /></a>
+</div>
+
+</body></html>

Modified: trunk/fai-config-dir/scripts/WEBSERVER/10-ikiwiki
===================================================================
--- trunk/fai-config-dir/scripts/WEBSERVER/10-ikiwiki	2007-06-30 11:59:05 UTC (rev 133)
+++ trunk/fai-config-dir/scripts/WEBSERVER/10-ikiwiki	2007-06-30 12:04:00 UTC (rev 134)
@@ -21,6 +21,9 @@
 # for cgi-support
 $ROOTCMD ln -sf /etc/apache2/mods-available/cgi.load /etc/apache2/mods-enabled/
 
+# copy the templates
+fcopy -M -r -i /usr/share/ikiwiki/templates
+
 # build the wiki
 $ROOTCMD su - ikiwiki -c "ikiwiki --setup .ikiwiki/ikiwiki.setup"
 




More information about the D-community-commits mailing list