update of website
This commit is contained in:
parent
b99abdaaf7
commit
8fde119045
24 changed files with 591 additions and 361 deletions
45
README
Normal file
45
README
Normal file
|
@ -0,0 +1,45 @@
|
|||
!Warnung: dieses Pythonscript ist ein ein riesen Haufen Stinkescheisse!
|
||||
Ich hab mir damit nur laestige Schreibarbeit fuer die Erstellung einer
|
||||
Webseite gespart. Ich wollte schon immer mal ein eigenes
|
||||
Templatesystem schreiben 8]
|
||||
|
||||
|
||||
Die Funktionsweise ist recht einfach und schnell eingaenglich anhand
|
||||
eines Beispiels: (Das Beispiel laeuft nur, wenn es keine Verzeichnisse ausser den
|
||||
erwaehnten gibt. Verzeichnisse wie ".svn" wirken z.B. aeusserst stoerend.)
|
||||
|
||||
* in "gerippe.tmpl" kommen Platzhalter z.B. "<!-- $foo$ -->"
|
||||
* ins Verz. "placeholder" kommen Dateien mit gleichem Namen "foo", wie der Platzhalter
|
||||
* der Inhalt der Datei "foo" wird spaeter den gleichnamigen Platzhalter ersetzen
|
||||
* diese Ersetzungen finden fuer alle html Dateien statt, eignen sich also nur fuer Inhalte, die in jeder .html gleich sind
|
||||
|
||||
* ins Verz. "content" kommt jeweils ein Unterverzeichnis z.B. "bar"
|
||||
* daraus wird spaeter "bar.html"
|
||||
* Grundlage fuer "bar.html" bilden gerippe.tmpl + placeholder
|
||||
* im Verz. "bar" werden Dateien abgelegt, die nach Nummern benannt werden
|
||||
* diese Dateien bilden spaeter einen Eintrag, im Content der jeweiligen html Datei
|
||||
* die Nummerierung legt die Reihenfolge innerhalb der html Datei fest (1 ist der erste Eintrag)
|
||||
|
||||
|
||||
*
|
||||
|_ gerippe.tmpl
|
||||
|
|
||||
|_ placeholder +
|
||||
| |_ header
|
||||
| |_ footer
|
||||
| |_ immergleicherkrempel
|
||||
|
|
||||
|_ content +
|
||||
|_ index +
|
||||
| |_ 1
|
||||
| |_ 2
|
||||
|
|
||||
|_ kontakt +
|
||||
| |_ 1
|
||||
|
|
||||
|_ misc +
|
||||
|_ 1
|
||||
|_ 2
|
||||
|_ 3
|
||||
|
||||
|
66
contact.html
66
contact.html
|
@ -1,66 +0,0 @@
|
|||
<!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" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>CryptoBox</title>
|
||||
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
|
||||
<meta content="" name="keywords" />
|
||||
<meta name="description" content="a secure fileserver, live-CD, web front-end">
|
||||
<link rel="stylesheet" type="text/css" href="main.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
|
||||
<div class="header">
|
||||
</div>
|
||||
|
||||
<div class="navbar">
|
||||
<p><a href="index.html">Home</a>
|
||||
<a href="screenshots.html">Screenshots</a>
|
||||
<a href="download.html">Download</a>
|
||||
<a href="demo.html">Demo</a>
|
||||
<a href="participate.html">Participate</a>
|
||||
<a href="contact.html">Contact</a></p>
|
||||
</div>
|
||||
<br />
|
||||
<div class="left">
|
||||
<img border="0" src="gfx/antlogo.png">
|
||||
<div class="leftcontent">
|
||||
<h2>NEWS 02006-12-15</h2>
|
||||
<p>Release of the cryptobox-server Debian package v0.3.0!</p>
|
||||
</div>
|
||||
<div class="leftcontent">
|
||||
<h2>NEWS 02006-12-15</h2>
|
||||
<p>today is the day</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<h2>WELCOME TO THE CRYPTOBOX!</h2>
|
||||
<p> The CryptoBox is a Debian/Linux based live-cd. This CD boots up, starting a secure fileserver. Even non-technical users are able to store their data on its encrypted harddisk. There is no special knowledge about cryptography or servers required at all.
|
||||
The CryptoBox is fully controllable via your web browser and the data
|
||||
is available in your local network. Have a look at the ScreenShots or
|
||||
give the demo version a try.</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2>WHAT WE SHARE</h2>
|
||||
<p>We do our best to help you using the CryptoBox. You can find detailed information in the user manual. For further questions write an email to info@cryptobox.org .
|
||||
As we rollout the new release, some pages might be outdated for a
|
||||
while. Please contact us, if you find some.</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2>WHAT YOU MIGHT SHARE</h2>
|
||||
<p>You are not just a consumer. You can help others with your knowledge. We are looking for more translations. Take a look at the translation center. You can register there and use the webinterface for translations. It features a nice, motivating progress bar. For any questions ask us via info@cryptobox.org . Open up a ticket for feature requests or bugs. Or leave a note with your thoughts and ideas</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p>A project by <a href="http://senselab.org">Sense.Lab</a>. <a href="">Impressum</a></p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
8
content/demo/center2
Normal file
8
content/demo/center2
Normal file
|
@ -0,0 +1,8 @@
|
|||
<div class="content">
|
||||
<h2>Demonstration</h2>
|
||||
<p>With the new release, we proudly present a demo CryptoBox
|
||||
environment. It's very slow at the moment but should give you a
|
||||
better feeling, for how the CryptoBox works.</p>
|
||||
<p>Try: <a href="http://demo.cryptobox.org">demo.cryptobox.org</a> .</p>
|
||||
</div>
|
||||
|
6
content/demo/left
Normal file
6
content/demo/left
Normal file
|
@ -0,0 +1,6 @@
|
|||
<div class="left">
|
||||
<div class="leftcontent">
|
||||
<h2>Pardon</h2>
|
||||
<p>Don't worry if the <a href="http://demo.cryptobox.org">demo</a> is out for lunch. It'll be back soon.</p>
|
||||
</div>
|
||||
</div>
|
36
content/download/center
Normal file
36
content/download/center
Normal file
|
@ -0,0 +1,36 @@
|
|||
<div class="content">
|
||||
<h2>Debian, Ubuntu (cryptobox-server)</h2>
|
||||
<p>With the cryptobox-server package you recieve the newest
|
||||
version without downloading the hole CD.</p>
|
||||
<p>First add the following to your "/etc/apt/sources.list"<br />
|
||||
"deb http://systemausfall.org/toolforge/debian unstable main"</p>
|
||||
<p>Then run: <i>apt-get install cryptobox-server</p></i>
|
||||
<br />
|
||||
<p>This package may also be installable in other Debian based
|
||||
distributions, maybe not without some dependency trouble.</p>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<h2>Go with the sources</h2>
|
||||
<p>Use svn for access the latest source code of the CryptoBox. Trac provides a read-only webinterface for the svn repository.</p>
|
||||
<p>Full svn access is possible via commandline or your favorite
|
||||
tool. For commandline the following command creates a dir
|
||||
"cryptobox" and downloads the latest code. To stay bleeding edge,
|
||||
just repeat the second command everytime before you start browsing
|
||||
the code (once a day should be enough).</p>
|
||||
<ol>
|
||||
<li>svn checkout https://svn.systemausfall.org/svn/ cryptobox</li>
|
||||
<li>svn up</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<h2>Get the live-CD</h2>
|
||||
<p>Get the newest live-CD by following <a
|
||||
href="http://codecoop.org/frs/?group_id=60">this link</a>.
|
||||
<p>We'd like to thank <a href="http://codecoop.org">codecoop.org</a> for
|
||||
providing bandwidth.</p>
|
||||
<p>You could buy a Live-CD at <a href="http://www.opensoft.nl/cdshop/product_info.php/manufacturers_id/28/products_id/71">OpenSoft.nl</a> for 5.95 european bugs. Note: this is an unpaid advertisement link. So if you ask us kindly, we might send you a CD for a better price. ;)
|
||||
</p>
|
||||
</div>
|
||||
|
17
content/download/left
Normal file
17
content/download/left
Normal file
|
@ -0,0 +1,17 @@
|
|||
<div class="left">
|
||||
<div class="leftcontent">
|
||||
<h2>Hint</h2>
|
||||
<p>Fetch the latest CryptoBox-server
|
||||
package while it's hot!</p>
|
||||
</div>
|
||||
<div class="leftcontent">
|
||||
<h2>Live-CD 0.3</h2>
|
||||
<p>Sorry, v0.3.x is not available as live-CD yet.</p>
|
||||
</div>
|
||||
<div class="leftcontent">
|
||||
<h2>It's tested</h2>
|
||||
<p>The package installs fine on:<br /></p>
|
||||
<p>Debian/sid <br />
|
||||
Ubuntu/edgy_eft</p>
|
||||
</div>
|
||||
</div>
|
39
content/index/center
Normal file
39
content/index/center
Normal file
|
@ -0,0 +1,39 @@
|
|||
|
||||
<div class="content">
|
||||
<h2>NEWS: Cryptobox-server 0.3.0 release</h2>
|
||||
<p class="date">15/12/02006</p>
|
||||
<p>Here it comes, the earliest x-mas present 02006, the
|
||||
CryptoBox-server 0.3.0 package ready for Debian/sid and
|
||||
Ubuntu/edgy_eft. It is not a live-cd, but a software package that you can just install on your linux system.
|
||||
Take a look at the screenshots. It was a long ride and this is the
|
||||
first milestone reached. Be prepared fo another 1000 miles of code.
|
||||
The live-CD with the new version will appear in February 02007.</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2>NEWS: Python rewrite progress</h2>
|
||||
<p class="date">19/08/02006</p>
|
||||
<p>Finally the cryptobox-python-rewrite-process is in progress.
|
||||
From now on you can follow discussions and participate at the
|
||||
development mailinglist via gmane.</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2>NEWS: Download interception</h2>
|
||||
<p class="date">14/04/02006</p>
|
||||
<p>Sorry folks, codecoop.org is temporarly down. Update: it's up
|
||||
and running again. Fetch the latest version here</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2>NEWS: CryptoBox code splitting</h2>
|
||||
<p class="date">07/03/02006</p>
|
||||
<p>We're currently splitting the CryptoBox up in the
|
||||
CryptoBox-server and the Cryptobox-CD. This will let you use
|
||||
the CryptoBox-server in your favourite Linux Installation.
|
||||
stay tuned..</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2>NEWS: CryptoBox code splitting</h2>
|
||||
<p class="date">30/10/02005</p>
|
||||
<p>The new CryptoBox version 0.2.1 is available at
|
||||
codecoop.org!</p>
|
||||
</div>
|
||||
|
22
content/index/left
Normal file
22
content/index/left
Normal file
|
@ -0,0 +1,22 @@
|
|||
<div class="left">
|
||||
<a href="screenshots.html"><img border="0" src="gfx/screen_mini.png">
|
||||
<p>See more screenshots</p></a>
|
||||
<br />
|
||||
<div class="leftcontent">
|
||||
<h2>About</h2>
|
||||
<p>The CryptoBox is a Debian/Linux based live-cd. This CD boots
|
||||
up, starting a secure fileserver. Even non-technical users are
|
||||
able to store their data on its encrypted harddisk. There is no
|
||||
special knowledge about cryptography or servers required at
|
||||
all.</p>
|
||||
</div>
|
||||
<div class="leftcontent">
|
||||
<h2>Download</h2>
|
||||
<p>Fetch the latest release of the <a href="dowload.html">CryptoBox-server Debian
|
||||
package v0.3.0</a>.</p>
|
||||
</div>
|
||||
<div class="leftcontent">
|
||||
<h2>foo bar</h2>
|
||||
<p>today is the day</p>
|
||||
</div>
|
||||
</div>
|
21
content/screenshots/center
Normal file
21
content/screenshots/center
Normal file
|
@ -0,0 +1,21 @@
|
|||
<div class="onecolumn">
|
||||
<br />
|
||||
<h2>Versions 0.3.x</h2>
|
||||
<p>
|
||||
<img src="gfx/activate_volume.png"><br />
|
||||
activation of encrypted file system<br />
|
||||
</p>
|
||||
<p>
|
||||
<img src="gfx/system_preferences.png"><br />
|
||||
configuration<br />
|
||||
</p>
|
||||
<h2>Versions 0.2.x</h2>
|
||||
<p>
|
||||
<img src="gfx/en_mount.png"><br />
|
||||
activation of encrypted file system<br />
|
||||
</p>
|
||||
<p>
|
||||
<img src="gfx/en_config.png"><br />
|
||||
configuration<br />
|
||||
</p>
|
||||
</div>
|
107
demo.html
107
demo.html
|
@ -1,66 +1,49 @@
|
|||
<!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" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>CryptoBox</title>
|
||||
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
|
||||
<meta content="" name="keywords" />
|
||||
<meta name="description" content="a secure fileserver, live-CD, web front-end">
|
||||
<link rel="stylesheet" type="text/css" href="main.css" />
|
||||
</head>
|
||||
<!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" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>CryptoBox</title>
|
||||
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
|
||||
<meta content="" name="keywords" />
|
||||
<meta name="description" content="a secure fileserver, live-CD, web front-end">
|
||||
<link rel="stylesheet" type="text/css" href="gfx/main.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
|
||||
<div class="header"><!-- just the logo --></div>
|
||||
|
||||
<body>
|
||||
<div class="navbar">
|
||||
<p><a href="index.html">Home</a>
|
||||
<a href="download.html">Download</a>
|
||||
<a href="screenshots.html">Screenshots</a>
|
||||
<a href="demo.html">Demo</a>
|
||||
<a href="project.html">Project</a> </p>
|
||||
</div>
|
||||
<br />
|
||||
|
||||
<div class="container">
|
||||
<div class="left">
|
||||
<div class="leftcontent">
|
||||
<h2>Pardon</h2>
|
||||
<p>Don't worry if the <a href="http://demo.cryptobox.org">demo</a> is out for lunch. It'll be back soon.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2>Demonstration</h2>
|
||||
<p>With the new release, we proudly present a demo CryptoBox
|
||||
environment. It's very slow at the moment but should give you a
|
||||
better feeling, for how the CryptoBox works.</p>
|
||||
<p>Try: <a href="http://demo.cryptobox.org">demo.cryptobox.org</a> .</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="header">
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p>-- a <a href="http://senselab.org">Sense.Lab</a> project -- <a href="">Impressum</a> --</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<div class="navbar">
|
||||
<p><a href="index.html">Home</a>
|
||||
<a href="screenshots.html">Screenshots</a>
|
||||
<a href="download.html">Download</a>
|
||||
<a href="demo.html">Demo</a>
|
||||
<a href="participate.html">Participate</a>
|
||||
<a href="contact.html">Contact</a></p>
|
||||
</div>
|
||||
<br />
|
||||
<div class="left">
|
||||
<img border="0" src="gfx/antlogo.png">
|
||||
<div class="leftcontent">
|
||||
<h2>NEWS 02006-12-15</h2>
|
||||
<p>Release of the cryptobox-server Debian package v0.3.0!</p>
|
||||
</div>
|
||||
<div class="leftcontent">
|
||||
<h2>NEWS 02006-12-15</h2>
|
||||
<p>today is the day</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<h2>WELCOME TO THE CRYPTOBOX!</h2>
|
||||
<p> The CryptoBox is a Debian/Linux based live-cd. This CD boots up, starting a secure fileserver. Even non-technical users are able to store their data on its encrypted harddisk. There is no special knowledge about cryptography or servers required at all.
|
||||
The CryptoBox is fully controllable via your web browser and the data
|
||||
is available in your local network. Have a look at the ScreenShots or
|
||||
give the demo version a try.</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2>WHAT WE SHARE</h2>
|
||||
<p>We do our best to help you using the CryptoBox. You can find detailed information in the user manual. For further questions write an email to info@cryptobox.org .
|
||||
As we rollout the new release, some pages might be outdated for a
|
||||
while. Please contact us, if you find some.</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2>WHAT YOU MIGHT SHARE</h2>
|
||||
<p>You are not just a consumer. You can help others with your knowledge. We are looking for more translations. Take a look at the translation center. You can register there and use the webinterface for translations. It features a nice, motivating progress bar. For any questions ask us via info@cryptobox.org . Open up a ticket for feature requests or bugs. Or leave a note with your thoughts and ideas</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p>A project by <a href="http://senselab.org">Sense.Lab</a>. <a href="">Impressum</a></p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
132
download.html
132
download.html
|
@ -1,66 +1,88 @@
|
|||
<!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" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>CryptoBox</title>
|
||||
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
|
||||
<meta content="" name="keywords" />
|
||||
<meta name="description" content="a secure fileserver, live-CD, web front-end">
|
||||
<link rel="stylesheet" type="text/css" href="main.css" />
|
||||
</head>
|
||||
<!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" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>CryptoBox</title>
|
||||
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
|
||||
<meta content="" name="keywords" />
|
||||
<meta name="description" content="a secure fileserver, live-CD, web front-end">
|
||||
<link rel="stylesheet" type="text/css" href="gfx/main.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
|
||||
<div class="header"><!-- just the logo --></div>
|
||||
|
||||
<body>
|
||||
<div class="navbar">
|
||||
<p><a href="index.html">Home</a>
|
||||
<a href="download.html">Download</a>
|
||||
<a href="screenshots.html">Screenshots</a>
|
||||
<a href="demo.html">Demo</a>
|
||||
<a href="project.html">Project</a> </p>
|
||||
</div>
|
||||
<br />
|
||||
|
||||
<div class="container">
|
||||
|
||||
<div class="header">
|
||||
</div>
|
||||
|
||||
<div class="navbar">
|
||||
<p><a href="index.html">Home</a>
|
||||
<a href="screenshots.html">Screenshots</a>
|
||||
<a href="download.html">Download</a>
|
||||
<a href="demo.html">Demo</a>
|
||||
<a href="participate.html">Participate</a>
|
||||
<a href="contact.html">Contact</a></p>
|
||||
</div>
|
||||
<br />
|
||||
<div class="left">
|
||||
<img border="0" src="gfx/antlogo.png">
|
||||
<div class="leftcontent">
|
||||
<h2>NEWS 02006-12-15</h2>
|
||||
<p>Release of the cryptobox-server Debian package v0.3.0!</p>
|
||||
</div>
|
||||
<div class="leftcontent">
|
||||
<h2>NEWS 02006-12-15</h2>
|
||||
<p>today is the day</p>
|
||||
</div>
|
||||
<div class="left">
|
||||
<div class="leftcontent">
|
||||
<h2>Hint</h2>
|
||||
<p>Fetch the latest CryptoBox-server
|
||||
package while it's hot!</p>
|
||||
</div>
|
||||
<div class="leftcontent">
|
||||
<h2>Live-CD 0.3</h2>
|
||||
<p>Sorry, v0.3.x is not available as live-CD yet.</p>
|
||||
</div>
|
||||
<div class="leftcontent">
|
||||
<h2>It's tested</h2>
|
||||
<p>The package installs fine on:<br /></p>
|
||||
<p>Debian/sid <br />
|
||||
Ubuntu/edgy_eft</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2>Debian, Ubuntu (cryptobox-server)</h2>
|
||||
<p>With the cryptobox-server package you recieve the newest
|
||||
version without downloading the hole CD.</p>
|
||||
<p>First add the following to your "/etc/apt/sources.list"<br />
|
||||
"deb http://systemausfall.org/toolforge/debian unstable main"</p>
|
||||
<p>Then run: <i>apt-get install cryptobox-server</p></i>
|
||||
<br />
|
||||
<p>This package may also be installable in other Debian based
|
||||
distributions, maybe not without some dependency trouble.</p>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<h2>WELCOME TO THE CRYPTOBOX!</h2>
|
||||
<p> The CryptoBox is a Debian/Linux based live-cd. This CD boots up, starting a secure fileserver. Even non-technical users are able to store their data on its encrypted harddisk. There is no special knowledge about cryptography or servers required at all.
|
||||
The CryptoBox is fully controllable via your web browser and the data
|
||||
is available in your local network. Have a look at the ScreenShots or
|
||||
give the demo version a try.</p>
|
||||
<h2>Go with the sources</h2>
|
||||
<p>Use svn for access the latest source code of the CryptoBox. Trac provides a read-only webinterface for the svn repository.</p>
|
||||
<p>Full svn access is possible via commandline or your favorite
|
||||
tool. For commandline the following command creates a dir
|
||||
"cryptobox" and downloads the latest code. To stay bleeding edge,
|
||||
just repeat the second command everytime before you start browsing
|
||||
the code (once a day should be enough).</p>
|
||||
<ol>
|
||||
<li>svn checkout https://svn.systemausfall.org/svn/ cryptobox</li>
|
||||
<li>svn up</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<h2>WHAT WE SHARE</h2>
|
||||
<p>We do our best to help you using the CryptoBox. You can find detailed information in the user manual. For further questions write an email to info@cryptobox.org .
|
||||
As we rollout the new release, some pages might be outdated for a
|
||||
while. Please contact us, if you find some.</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2>WHAT YOU MIGHT SHARE</h2>
|
||||
<p>You are not just a consumer. You can help others with your knowledge. We are looking for more translations. Take a look at the translation center. You can register there and use the webinterface for translations. It features a nice, motivating progress bar. For any questions ask us via info@cryptobox.org . Open up a ticket for feature requests or bugs. Or leave a note with your thoughts and ideas</p>
|
||||
|
||||
<h2>Get the live-CD</h2>
|
||||
<p>Get the newest live-CD by following <a
|
||||
href="http://codecoop.org/frs/?group_id=60">this link</a>.
|
||||
<p>We'd like to thank <a href="http://codecoop.org">codecoop.org</a> for
|
||||
providing bandwidth.</p>
|
||||
<p>You could buy a Live-CD at <a href="http://www.opensoft.nl/cdshop/product_info.php/manufacturers_id/28/products_id/71">OpenSoft.nl</a> for 5.95 european bugs. Note: this is an unpaid advertisement link. So if you ask us kindly, we might send you a CD for a better price. ;)
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p>A project by <a href="http://senselab.org">Sense.Lab</a>. <a href="">Impressum</a></p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p>-- a <a href="http://senselab.org">Sense.Lab</a> project -- <a href="">Impressum</a> --</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
BIN
gfx/header.jpg
BIN
gfx/header.jpg
Binary file not shown.
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 16 KiB |
BIN
gfx/header2.jpg
BIN
gfx/header2.jpg
Binary file not shown.
Before Width: | Height: | Size: 16 KiB |
BIN
gfx/header4.jpg
BIN
gfx/header4.jpg
Binary file not shown.
Before Width: | Height: | Size: 14 KiB |
|
@ -5,7 +5,6 @@ body {
|
|||
font-size: 80%;
|
||||
color: #545454;
|
||||
background-color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
p {
|
||||
|
@ -28,6 +27,7 @@ h2 {
|
|||
font-size: 100%;
|
||||
font-weight: normal;
|
||||
text-align: left;
|
||||
font-weight:800;
|
||||
}
|
||||
|
||||
div {
|
||||
|
@ -43,8 +43,7 @@ div {
|
|||
width: 740px;
|
||||
}
|
||||
.container a:link, a:visited {
|
||||
color: #545454;
|
||||
/*color: #4169E1; */
|
||||
color: #666666;
|
||||
text-decoration: none;
|
||||
}
|
||||
.container a:hover, a:active {
|
||||
|
@ -55,8 +54,7 @@ div {
|
|||
.header {
|
||||
padding: 2em;
|
||||
margin: 0;
|
||||
text-align: left;
|
||||
background-image: url(gfx/header2.jpg);
|
||||
background-image: url(header.jpg);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
height: 78px;
|
||||
|
@ -70,13 +68,15 @@ div {
|
|||
padding: 5px 0 5px 0;
|
||||
border-top: 1px solid #C4C4C4;
|
||||
border-bottom: 1px solid #C4C4C4;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
.left {
|
||||
float: left;
|
||||
width: 25%;
|
||||
margin: 0em 0 0 0.1em;
|
||||
width: 30%;
|
||||
margin: 0 0 0 0.1em;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
}
|
||||
.left h2 {
|
||||
text-align: left;
|
||||
|
@ -86,8 +86,8 @@ div {
|
|||
.leftcontent {
|
||||
margin: 0.2em 0.4em 0.3em 0;
|
||||
padding: 0.3em;
|
||||
border: 1px solid #C4C4C4;
|
||||
text-align: left;
|
||||
border: 1px solid #e0e0e0;
|
||||
}
|
||||
|
||||
.leftcontent p {
|
||||
|
@ -95,24 +95,29 @@ div {
|
|||
}
|
||||
|
||||
.content {
|
||||
text-align: left;
|
||||
margin: 5px 5px 5px 25.5%;
|
||||
margin: 5px 5px 9px 30.5%;
|
||||
padding: 0.3em 1ex 0.3em 1ex;
|
||||
border: 1px solid #C4C4C4;
|
||||
border: 1px solid #e0e0e0;
|
||||
}
|
||||
|
||||
.content h2 {
|
||||
/* these are 2 pixels higher then those on the left side */
|
||||
padding: 0.1em 0 0.1em 0.5em;
|
||||
margin-bottom: 0em;
|
||||
margin: 0.1em 0 0.1em 0;
|
||||
}
|
||||
.content p {
|
||||
padding: 01em;
|
||||
padding: 0.1em 0.8em 0.1em 0.8em;
|
||||
}
|
||||
|
||||
.date {
|
||||
text-align: right;
|
||||
font-style: italic;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.onecolumn p {
|
||||
margin-bottom: 35px;
|
||||
text-align: center;
|
||||
}
|
||||
.onecolumn h2 {
|
||||
margin: 0 0.5em 0.8em 0.5em;
|
BIN
gfx/screen_mini.png
Normal file
BIN
gfx/screen_mini.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
154
index.html
154
index.html
|
@ -1,66 +1,96 @@
|
|||
<!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" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>CryptoBox</title>
|
||||
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
|
||||
<meta content="" name="keywords" />
|
||||
<meta name="description" content="a secure fileserver, live-CD, web front-end">
|
||||
<link rel="stylesheet" type="text/css" href="main.css" />
|
||||
</head>
|
||||
<!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" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>CryptoBox</title>
|
||||
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
|
||||
<meta content="" name="keywords" />
|
||||
<meta name="description" content="a secure fileserver, live-CD, web front-end">
|
||||
<link rel="stylesheet" type="text/css" href="gfx/main.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
|
||||
<div class="header"><!-- just the logo --></div>
|
||||
|
||||
<body>
|
||||
<div class="navbar">
|
||||
<p><a href="index.html">Home</a>
|
||||
<a href="download.html">Download</a>
|
||||
<a href="screenshots.html">Screenshots</a>
|
||||
<a href="demo.html">Demo</a>
|
||||
<a href="project.html">Project</a> </p>
|
||||
</div>
|
||||
<br />
|
||||
|
||||
<div class="container">
|
||||
<div class="left">
|
||||
<a href="screenshots.html"><img border="0" src="gfx/screen_mini.png">
|
||||
<p>See more screenshots</p></a>
|
||||
<br />
|
||||
<div class="leftcontent">
|
||||
<h2>About</h2>
|
||||
<p>The CryptoBox is a Debian/Linux based live-cd. This CD boots
|
||||
up, starting a secure fileserver. Even non-technical users are
|
||||
able to store their data on its encrypted harddisk. There is no
|
||||
special knowledge about cryptography or servers required at
|
||||
all.</p>
|
||||
</div>
|
||||
<div class="leftcontent">
|
||||
<h2>Download</h2>
|
||||
<p>Fetch the latest release of the <a href="dowload.html">CryptoBox-server Debian
|
||||
package v0.3.0</a>.</p>
|
||||
</div>
|
||||
<div class="leftcontent">
|
||||
<h2>foo bar</h2>
|
||||
<p>today is the day</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<h2>NEWS: Cryptobox-server 0.3.0 release</h2>
|
||||
<p class="date">15/12/02006</p>
|
||||
<p>Here it comes, the earliest x-mas present 02006, the
|
||||
CryptoBox-server 0.3.0 package ready for Debian/sid and
|
||||
Ubuntu/edgy_eft. It is not a live-cd, but a software package that you can just install on your linux system.
|
||||
Take a look at the screenshots. It was a long ride and this is the
|
||||
first milestone reached. Be prepared fo another 1000 miles of code.
|
||||
The live-CD with the new version will appear in February 02007.</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2>NEWS: Python rewrite progress</h2>
|
||||
<p class="date">19/08/02006</p>
|
||||
<p>Finally the cryptobox-python-rewrite-process is in progress.
|
||||
From now on you can follow discussions and participate at the
|
||||
development mailinglist via gmane.</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2>NEWS: Download interception</h2>
|
||||
<p class="date">14/04/02006</p>
|
||||
<p>Sorry folks, codecoop.org is temporarly down. Update: it's up
|
||||
and running again. Fetch the latest version here</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2>NEWS: CryptoBox code splitting</h2>
|
||||
<p class="date">07/03/02006</p>
|
||||
<p>We're currently splitting the CryptoBox up in the
|
||||
CryptoBox-server and the Cryptobox-CD. This will let you use
|
||||
the CryptoBox-server in your favourite Linux Installation.
|
||||
stay tuned..</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2>NEWS: CryptoBox code splitting</h2>
|
||||
<p class="date">30/10/02005</p>
|
||||
<p>The new CryptoBox version 0.2.1 is available at
|
||||
codecoop.org!</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="header">
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p>-- a <a href="http://senselab.org">Sense.Lab</a> project -- <a href="">Impressum</a> --</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<div class="navbar">
|
||||
<p><a href="index.html">Home</a>
|
||||
<a href="screenshots.html">Screenshots</a>
|
||||
<a href="download.html">Download</a>
|
||||
<a href="demo.html">Demo</a>
|
||||
<a href="participate.html">Participate</a>
|
||||
<a href="contact.html">Contact</a></p>
|
||||
</div>
|
||||
<br />
|
||||
<div class="left">
|
||||
<img border="0" src="gfx/antlogo.png">
|
||||
<div class="leftcontent">
|
||||
<h2>NEWS 02006-12-15</h2>
|
||||
<p>Release of the cryptobox-server Debian package v0.3.0!</p>
|
||||
</div>
|
||||
<div class="leftcontent">
|
||||
<h2>NEWS 02006-12-15</h2>
|
||||
<p>today is the day</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<h2>WELCOME TO THE CRYPTOBOX!</h2>
|
||||
<p> The CryptoBox is a Debian/Linux based live-cd. This CD boots up, starting a secure fileserver. Even non-technical users are able to store their data on its encrypted harddisk. There is no special knowledge about cryptography or servers required at all.
|
||||
The CryptoBox is fully controllable via your web browser and the data
|
||||
is available in your local network. Have a look at the ScreenShots or
|
||||
give the demo version a try.</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2>WHAT WE SHARE</h2>
|
||||
<p>We do our best to help you using the CryptoBox. You can find detailed information in the user manual. For further questions write an email to info@cryptobox.org .
|
||||
As we rollout the new release, some pages might be outdated for a
|
||||
while. Please contact us, if you find some.</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2>WHAT YOU MIGHT SHARE</h2>
|
||||
<p>You are not just a consumer. You can help others with your knowledge. We are looking for more translations. Take a look at the translation center. You can register there and use the webinterface for translations. It features a nice, motivating progress bar. For any questions ask us via info@cryptobox.org . Open up a ticket for feature requests or bugs. Or leave a note with your thoughts and ideas</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p>A project by <a href="http://senselab.org">Sense.Lab</a>. <a href="">Impressum</a></p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,66 +0,0 @@
|
|||
<!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" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>CryptoBox</title>
|
||||
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
|
||||
<meta content="" name="keywords" />
|
||||
<meta name="description" content="a secure fileserver, live-CD, web front-end">
|
||||
<link rel="stylesheet" type="text/css" href="main.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
|
||||
<div class="header">
|
||||
</div>
|
||||
|
||||
<div class="navbar">
|
||||
<p><a href="index.html">Home</a>
|
||||
<a href="screenshots.html">Screenshots</a>
|
||||
<a href="download.html">Download</a>
|
||||
<a href="demo.html">Demo</a>
|
||||
<a href="participate.html">Participate</a>
|
||||
<a href="contact.html">Contact</a></p>
|
||||
</div>
|
||||
<br />
|
||||
<div class="left">
|
||||
<img border="0" src="gfx/antlogo.png">
|
||||
<div class="leftcontent">
|
||||
<h2>NEWS 02006-12-15</h2>
|
||||
<p>Release of the cryptobox-server Debian package v0.3.0!</p>
|
||||
</div>
|
||||
<div class="leftcontent">
|
||||
<h2>NEWS 02006-12-15</h2>
|
||||
<p>today is the day</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<h2>WELCOME TO THE CRYPTOBOX!</h2>
|
||||
<p> The CryptoBox is a Debian/Linux based live-cd. This CD boots up, starting a secure fileserver. Even non-technical users are able to store their data on its encrypted harddisk. There is no special knowledge about cryptography or servers required at all.
|
||||
The CryptoBox is fully controllable via your web browser and the data
|
||||
is available in your local network. Have a look at the ScreenShots or
|
||||
give the demo version a try.</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2>WHAT WE SHARE</h2>
|
||||
<p>We do our best to help you using the CryptoBox. You can find detailed information in the user manual. For further questions write an email to info@cryptobox.org .
|
||||
As we rollout the new release, some pages might be outdated for a
|
||||
while. Please contact us, if you find some.</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2>WHAT YOU MIGHT SHARE</h2>
|
||||
<p>You are not just a consumer. You can help others with your knowledge. We are looking for more translations. Take a look at the translation center. You can register there and use the webinterface for translations. It features a nice, motivating progress bar. For any questions ask us via info@cryptobox.org . Open up a ticket for feature requests or bugs. Or leave a note with your thoughts and ideas</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p>A project by <a href="http://senselab.org">Sense.Lab</a>. <a href="">Impressum</a></p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
8
placeholder/footer
Normal file
8
placeholder/footer
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
<div class="footer">
|
||||
<p>-- a <a href="http://senselab.org">Sense.Lab</a> project -- <a href="">Impressum</a> --</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
15
placeholder/header
Normal file
15
placeholder/header
Normal file
|
@ -0,0 +1,15 @@
|
|||
<!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" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>CryptoBox</title>
|
||||
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
|
||||
<meta content="" name="keywords" />
|
||||
<meta name="description" content="a secure fileserver, live-CD, web front-end">
|
||||
<link rel="stylesheet" type="text/css" href="gfx/main.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
|
||||
<div class="header"><!-- just the logo --></div>
|
8
placeholder/nav
Normal file
8
placeholder/nav
Normal file
|
@ -0,0 +1,8 @@
|
|||
<div class="navbar">
|
||||
<p><a href="index.html">Home</a>
|
||||
<a href="download.html">Download</a>
|
||||
<a href="screenshots.html">Screenshots</a>
|
||||
<a href="demo.html">Demo</a>
|
||||
<a href="project.html">Project</a> </p>
|
||||
</div>
|
||||
<br />
|
35
project.html
Normal file
35
project.html
Normal file
|
@ -0,0 +1,35 @@
|
|||
<!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" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>CryptoBox</title>
|
||||
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
|
||||
<meta content="" name="keywords" />
|
||||
<meta name="description" content="a secure fileserver, live-CD, web front-end">
|
||||
<link rel="stylesheet" type="text/css" href="gfx/main.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
|
||||
<div class="header"><!-- just the logo --></div>
|
||||
|
||||
<div class="navbar">
|
||||
<p><a href="index.html">Home</a>
|
||||
<a href="download.html">Download</a>
|
||||
<a href="screenshots.html">Screenshots</a>
|
||||
<a href="demo.html">Demo</a>
|
||||
<a href="project.html">Project</a> </p>
|
||||
</div>
|
||||
<br />
|
||||
|
||||
|
||||
|
||||
<div class="footer">
|
||||
<p>-- a <a href="http://senselab.org">Sense.Lab</a> project -- <a href="">Impressum</a> --</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,58 +1,56 @@
|
|||
<!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" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>CryptoBox</title>
|
||||
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
|
||||
<meta content="" name="keywords" />
|
||||
<meta name="description" content="a secure fileserver, live-CD, web front-end">
|
||||
<link rel="stylesheet" type="text/css" href="main.css" />
|
||||
</head>
|
||||
<!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" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>CryptoBox</title>
|
||||
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
|
||||
<meta content="" name="keywords" />
|
||||
<meta name="description" content="a secure fileserver, live-CD, web front-end">
|
||||
<link rel="stylesheet" type="text/css" href="gfx/main.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
|
||||
<div class="header"><!-- just the logo --></div>
|
||||
|
||||
<body>
|
||||
<div class="navbar">
|
||||
<p><a href="index.html">Home</a>
|
||||
<a href="download.html">Download</a>
|
||||
<a href="screenshots.html">Screenshots</a>
|
||||
<a href="demo.html">Demo</a>
|
||||
<a href="project.html">Project</a> </p>
|
||||
</div>
|
||||
<br />
|
||||
|
||||
<div class="container">
|
||||
|
||||
<div class="header">
|
||||
</div>
|
||||
|
||||
<div class="navbar">
|
||||
<p><a href="index.html">Home</a>
|
||||
<a href="screenshots.html">Screenshots</a>
|
||||
<a href="download.html">Download</a>
|
||||
<a href="demo.html">Demo</a>
|
||||
<a href="participate.html">Participate</a>
|
||||
<a href="contact.html">Contact</a></p>
|
||||
</div>
|
||||
<div class="onecolumn">
|
||||
<div class="onecolumn">
|
||||
<br />
|
||||
<h2>Versions 0.3.x</h2>
|
||||
<p>
|
||||
<img src="gfx/activate_volume.png"><br />
|
||||
activation of encrypted file system<br />
|
||||
Aktivierung des verschlüsselten Dateisystems
|
||||
</p>
|
||||
<p>
|
||||
<img src="gfx/activate_volume.png"><br />
|
||||
<img src="gfx/system_preferences.png"><br />
|
||||
configuration<br />
|
||||
Konfiguration
|
||||
</p>
|
||||
<h2>Versions 0.2.x</h2>
|
||||
<p>
|
||||
<img src="gfx/en_mount.png"><br />
|
||||
activation of encrypted file system<br />
|
||||
Aktivierung des verschlüsselten Dateisystems
|
||||
</p>
|
||||
<p>
|
||||
<img src="gfx/en_config.png"><br />
|
||||
configuration<br />
|
||||
Konfiguration
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p>A project by <a href="http://senselab.org">Sense.Lab</a>. <a href="">Impressum</a></p>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p>-- a <a href="http://senselab.org">Sense.Lab</a> project -- <a href="">Impressum</a> --</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
64
templatewriter.py
Executable file
64
templatewriter.py
Executable file
|
@ -0,0 +1,64 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import string, os
|
||||
|
||||
class TemplateWriter:
|
||||
templatefile = "gerippe.tmpl"
|
||||
tmpldir = "./placeholder"
|
||||
contentdir = "./content"
|
||||
tmplfileext = ".tmpl"
|
||||
outfileext = ".html"
|
||||
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def string_replace(self, infile, outfile):
|
||||
template = open(infile).read()
|
||||
open(outfile,"w").write(template)
|
||||
text = {}
|
||||
for tmpl in os.listdir(self.tmpldir):
|
||||
tmplfile = str(self.tmpldir+"/"+tmpl)
|
||||
if not os.path.isfile(tmplfile):
|
||||
print " str.repl: cancelling "+tmplfile+" - not a file"
|
||||
else:
|
||||
template = open(outfile).read()
|
||||
print " str.repl: using "+tmplfile
|
||||
newcontent = open(tmplfile).read()
|
||||
text[tmpl] = string.replace(template,"<!-- $"+tmpl+"$ -->",newcontent)
|
||||
open(outfile,"w").write(text[tmpl])
|
||||
return
|
||||
|
||||
def build_sites(self):
|
||||
'''use all files ending with .tmpl'''
|
||||
for tmplfile in os.listdir("./"):
|
||||
if tmplfile.rfind(self.tmplfileext) >= 1:
|
||||
infile = tmplfile
|
||||
(tmplfilename, tmplfileext)=os.path.splitext(tmplfile)
|
||||
outfile = tmplfilename + self.outfileext
|
||||
print "building: "+tmplfile+" -> "+outfile
|
||||
self.string_replace(infile, outfile)
|
||||
return
|
||||
|
||||
def build_sites_from_gerippe(self):
|
||||
print "Let's build some html files from: "+self.templatefile
|
||||
for html in os.listdir(self.contentdir):
|
||||
print " building: "+html+self.outfileext
|
||||
entries = ""
|
||||
for entry in os.listdir(self.contentdir+"/"+html):
|
||||
print " adding entry: "+entry
|
||||
entries += open(self.contentdir+"/"+html+"/"+entry).read()
|
||||
|
||||
template = open(self.templatefile).read()
|
||||
text = string.replace(template,"<!-- $entries$ -->",entries)
|
||||
infile = html+".tmp"
|
||||
open(infile,"w").write(text)
|
||||
outfile = html+self.outfileext
|
||||
self.string_replace(infile, outfile)
|
||||
return
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
foo = TemplateWriter()
|
||||
foo.build_sites_from_gerippe()
|
||||
#foo.string_replace("gerippe.tmpl", "gerippe.html) # for single tests
|
||||
#foo.build_sites() # oldfashiond version
|
Loading…
Reference in a new issue