summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--macros.py2
-rw-r--r--r2w.ini22
-rw-r--r--src/img/index.txt10
-rw-r--r--src/img/logo.pngbin0 -> 7852 bytes
-rw-r--r--src/template.txt61
5 files changed, 95 insertions, 0 deletions
diff --git a/macros.py b/macros.py
new file mode 100644
index 0000000..d289e09
--- /dev/null
+++ b/macros.py
@@ -0,0 +1,2 @@
+
+pass
diff --git a/r2w.ini b/r2w.ini
new file mode 100644
index 0000000..3ebd221
--- /dev/null
+++ b/r2w.ini
@@ -0,0 +1,22 @@
+
+# Run settings
+psyco = False
+pause = False
+skiperrors = False
+DEBUG = False
+
+# Files and directories
+start_directory = 'src'
+target_directory = 'build'
+compare_directory = 'old-build'
+log_file = 'log.txt'
+macros = 'macros.py'
+
+# Build settings
+promote_headers = True
+
+[uservalues]
+__encoding__ = 'UTF8'
+
+[Macro Paths]
+
diff --git a/src/img/index.txt b/src/img/index.txt
new file mode 100644
index 0000000..b535283
--- /dev/null
+++ b/src/img/index.txt
@@ -0,0 +1,10 @@
+..
+ restindex
+ include: no
+ file: logo.png
+ /restindex
+
+ uservalues
+ created: 1970-01-01T00:00:01Z
+ /uservalues
+
diff --git a/src/img/logo.png b/src/img/logo.png
new file mode 100644
index 0000000..5e1d4b9
--- /dev/null
+++ b/src/img/logo.png
Binary files differ
diff --git a/src/template.txt b/src/template.txt
new file mode 100644
index 0000000..942038d
--- /dev/null
+++ b/src/template.txt
@@ -0,0 +1,61 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="it" xml:lang="it">
+<head>
+ <title><% title %> - LIFO</title>
+ <meta http-equiv="Content-Type"
+ content="text/html; charset=<% final_encoding %>" />
+ <link rel="stylesheet"
+ href="<% path_to_root %>style/default.css"
+ type="text/css" />
+</head>
+<body>
+
+<div id="menubar">
+ <div><img src="<% path_to_root %>img/logo.png" width="160" height="160" /></div>
+ <#
+ minibar(sections,
+ item='<span class="nav-item"><span class="hidden">[</span><a href="%s">%s</a><span class="hidden">]</span></span>',
+ intro='<span class="nav-header">pagine</span>',
+ subintro='<span class="nav-header">sezioni</span>',
+ liststart='',
+ listend='',
+ displayval='crumb'
+ )
+ #>
+</div>
+
+<div id="crumbs">
+ <# print_crumbs(breadcrumbs,item='%s',divider = '»',) #>
+</div>
+
+<div id="main">
+ <a name="startcontent" id="startcontent"></a>
+ <% body %>
+ <address><a href="mailto:info@lifolab.org">Invia un commento</a></address>
+ <div id="end">
+ <p><a href="#startcontent">Torna all'inizio</a></p>
+ </div>
+</div>
+
+<div id="footer">
+ <div id="last-update">
+ Ultimo aggiornamento: <% modtime %>
+ </div>
+ <div id="source">
+ Pagina proveniente da http://www.lifolab.org/<% pagepath %>
+ </div>
+ <div id="copyright">
+ © Copyright
+ </div>
+
+ <div id="rest2web">
+ Generato con
+ <a href="http://www.voidspace.org.uk/python/rest2web/">rest2web</a>
+ a partire da
+ <a href="http://docutils.sourceforge.net">ReStructured Text</a>.
+ </div>
+</div>
+
+</body>
+</html>