diff --git a/README b/README new file mode 100644 index 0000000..18db344 --- /dev/null +++ b/README @@ -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. "" + * 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 + + diff --git a/contact.html b/contact.html deleted file mode 100644 index dfd2066..0000000 --- a/contact.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - CryptoBox - - - - - - - - -
- -
-
- - -
-
- -
-

NEWS 02006-12-15

-

Release of the cryptobox-server Debian package v0.3.0!

-
-
-

NEWS 02006-12-15

-

today is the day

-
-
- -
-

WELCOME TO THE CRYPTOBOX!

-

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.

-
-
-

WHAT WE SHARE

-

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.

-
-
-

WHAT YOU MIGHT SHARE

-

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

- -
- - - -
- - - diff --git a/content/demo/center2 b/content/demo/center2 new file mode 100644 index 0000000..fc022b4 --- /dev/null +++ b/content/demo/center2 @@ -0,0 +1,8 @@ +
+

Demonstration

+

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.

+

Try: demo.cryptobox.org .

+
+ diff --git a/content/demo/left b/content/demo/left new file mode 100644 index 0000000..a7b29ae --- /dev/null +++ b/content/demo/left @@ -0,0 +1,6 @@ +
+
+

Pardon

+

Don't worry if the demo is out for lunch. It'll be back soon.

+
+
diff --git a/content/download/center b/content/download/center new file mode 100644 index 0000000..8c8766f --- /dev/null +++ b/content/download/center @@ -0,0 +1,36 @@ +
+

Debian, Ubuntu (cryptobox-server)

+

With the cryptobox-server package you recieve the newest + version without downloading the hole CD.

+

First add the following to your "/etc/apt/sources.list"
+ "deb http://systemausfall.org/toolforge/debian unstable main"

+

Then run: apt-get install cryptobox-server

+
+

This package may also be installable in other Debian based + distributions, maybe not without some dependency trouble.

+
+ +
+

Go with the sources

+

Use svn for access the latest source code of the CryptoBox. Trac provides a read-only webinterface for the svn repository.

+

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).

+
    +
  1. svn checkout https://svn.systemausfall.org/svn/ cryptobox
  2. +
  3. svn up
  4. +
+
+ +
+

Get the live-CD

+

Get the newest live-CD by following this link. +

We'd like to thank codecoop.org for + providing bandwidth.

+

You could buy a Live-CD at OpenSoft.nl 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. ;) +

+
+ diff --git a/content/download/left b/content/download/left new file mode 100644 index 0000000..d12fc9e --- /dev/null +++ b/content/download/left @@ -0,0 +1,17 @@ +
+
+

Hint

+

Fetch the latest CryptoBox-server + package while it's hot!

+
+
+

Live-CD 0.3

+

Sorry, v0.3.x is not available as live-CD yet.

+
+
+

It's tested

+

The package installs fine on:

+

Debian/sid
+ Ubuntu/edgy_eft

+
+
diff --git a/content/index/center b/content/index/center new file mode 100644 index 0000000..32d0528 --- /dev/null +++ b/content/index/center @@ -0,0 +1,39 @@ + +
+

NEWS: Cryptobox-server 0.3.0 release

+

15/12/02006

+

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.

+
+
+

NEWS: Python rewrite progress

+

19/08/02006

+

Finally the cryptobox-python-rewrite-process is in progress. + From now on you can follow discussions and participate at the + development mailinglist via gmane.

+
+
+

NEWS: Download interception

+

14/04/02006

+

Sorry folks, codecoop.org is temporarly down. Update: it's up + and running again. Fetch the latest version here

+
+
+

NEWS: CryptoBox code splitting

+

07/03/02006

+

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..

+
+
+

NEWS: CryptoBox code splitting

+

30/10/02005

+

The new CryptoBox version 0.2.1 is available at + codecoop.org!

+
+ diff --git a/content/index/left b/content/index/left new file mode 100644 index 0000000..6be2210 --- /dev/null +++ b/content/index/left @@ -0,0 +1,22 @@ +
+ +

See more screenshots

+
+
+

About

+

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.

+
+
+

Download

+

Fetch the latest release of the CryptoBox-server Debian + package v0.3.0.

+
+
+

foo bar

+

today is the day

+
+
diff --git a/content/screenshots/center b/content/screenshots/center new file mode 100644 index 0000000..5d26014 --- /dev/null +++ b/content/screenshots/center @@ -0,0 +1,21 @@ +
+
+

Versions 0.3.x

+

+
+ activation of encrypted file system
+

+

+
+ configuration
+

+

Versions 0.2.x

+

+
+ activation of encrypted file system
+

+

+
+ configuration
+

+
diff --git a/demo.html b/demo.html index dfd2066..31647ae 100644 --- a/demo.html +++ b/demo.html @@ -1,66 +1,49 @@ - - - - - CryptoBox - - - - - + + + + + CryptoBox + + + + + + + +
+ +
- + +
-
+
+
+

Pardon

+

Don't worry if the demo is out for lunch. It'll be back soon.

+
+
+
+

Demonstration

+

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.

+

Try: demo.cryptobox.org .

+
+ -
-
+ + + +
+ + - -
-
- -
-

NEWS 02006-12-15

-

Release of the cryptobox-server Debian package v0.3.0!

-
-
-

NEWS 02006-12-15

-

today is the day

-
-
- -
-

WELCOME TO THE CRYPTOBOX!

-

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.

-
-
-

WHAT WE SHARE

-

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.

-
-
-

WHAT YOU MIGHT SHARE

-

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

- -
- - - -
- - - diff --git a/download.html b/download.html index dfd2066..9e14a0f 100644 --- a/download.html +++ b/download.html @@ -1,66 +1,88 @@ - - - - - CryptoBox - - - - - + + + + + CryptoBox + + + + + + + +
+ +
- + +
-
- -
-
- - -
-
- -
-

NEWS 02006-12-15

-

Release of the cryptobox-server Debian package v0.3.0!

-
-
-

NEWS 02006-12-15

-

today is the day

-
+
+
+

Hint

+

Fetch the latest CryptoBox-server + package while it's hot!

+
+
+

Live-CD 0.3

+

Sorry, v0.3.x is not available as live-CD yet.

+
+
+

It's tested

+

The package installs fine on:

+

Debian/sid
+ Ubuntu/edgy_eft

+
+
+
+

Debian, Ubuntu (cryptobox-server)

+

With the cryptobox-server package you recieve the newest + version without downloading the hole CD.

+

First add the following to your "/etc/apt/sources.list"
+ "deb http://systemausfall.org/toolforge/debian unstable main"

+

Then run: apt-get install cryptobox-server

+
+

This package may also be installable in other Debian based + distributions, maybe not without some dependency trouble.

-

WELCOME TO THE CRYPTOBOX!

-

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.

+

Go with the sources

+

Use svn for access the latest source code of the CryptoBox. Trac provides a read-only webinterface for the svn repository.

+

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).

+
    +
  1. svn checkout https://svn.systemausfall.org/svn/ cryptobox
  2. +
  3. svn up
  4. +
+
-

WHAT WE SHARE

-

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.

-
-
-

WHAT YOU MIGHT SHARE

-

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

- +

Get the live-CD

+

Get the newest live-CD by following this link. +

We'd like to thank codecoop.org for + providing bandwidth.

+

You could buy a Live-CD at OpenSoft.nl 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. ;) +

- -
+ + + +
+ + - - diff --git a/gfx/header.jpg b/gfx/header.jpg index a516bd9..0921fe4 100644 Binary files a/gfx/header.jpg and b/gfx/header.jpg differ diff --git a/gfx/header2.jpg b/gfx/header2.jpg deleted file mode 100644 index 0921fe4..0000000 Binary files a/gfx/header2.jpg and /dev/null differ diff --git a/gfx/header4.jpg b/gfx/header4.jpg deleted file mode 100644 index ba85f7a..0000000 Binary files a/gfx/header4.jpg and /dev/null differ diff --git a/main.css b/gfx/main.css similarity index 82% rename from main.css rename to gfx/main.css index d829fe9..2d7717a 100644 --- a/main.css +++ b/gfx/main.css @@ -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; diff --git a/gfx/screen_mini.png b/gfx/screen_mini.png new file mode 100644 index 0000000..bf1615a Binary files /dev/null and b/gfx/screen_mini.png differ diff --git a/index.html b/index.html index dfd2066..34b42cb 100644 --- a/index.html +++ b/index.html @@ -1,66 +1,96 @@ - - - - - CryptoBox - - - - - + + + + + CryptoBox + + + + + + + +
+ +
- + +
-
+
+ +

See more screenshots

+
+
+

About

+

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.

+
+
+

Download

+

Fetch the latest release of the CryptoBox-server Debian + package v0.3.0.

+
+
+

foo bar

+

today is the day

+
+
+ +
+

NEWS: Cryptobox-server 0.3.0 release

+

15/12/02006

+

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.

+
+
+

NEWS: Python rewrite progress

+

19/08/02006

+

Finally the cryptobox-python-rewrite-process is in progress. + From now on you can follow discussions and participate at the + development mailinglist via gmane.

+
+
+

NEWS: Download interception

+

14/04/02006

+

Sorry folks, codecoop.org is temporarly down. Update: it's up + and running again. Fetch the latest version here

+
+
+

NEWS: CryptoBox code splitting

+

07/03/02006

+

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..

+
+
+

NEWS: CryptoBox code splitting

+

30/10/02005

+

The new CryptoBox version 0.2.1 is available at + codecoop.org!

+
+ -
-
+ + + +
+ + - -
-
- -
-

NEWS 02006-12-15

-

Release of the cryptobox-server Debian package v0.3.0!

-
-
-

NEWS 02006-12-15

-

today is the day

-
-
- -
-

WELCOME TO THE CRYPTOBOX!

-

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.

-
-
-

WHAT WE SHARE

-

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.

-
-
-

WHAT YOU MIGHT SHARE

-

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

- -
- - - -
- - - diff --git a/participate.html b/participate.html deleted file mode 100644 index dfd2066..0000000 --- a/participate.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - CryptoBox - - - - - - - - -
- -
-
- - -
-
- -
-

NEWS 02006-12-15

-

Release of the cryptobox-server Debian package v0.3.0!

-
-
-

NEWS 02006-12-15

-

today is the day

-
-
- -
-

WELCOME TO THE CRYPTOBOX!

-

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.

-
-
-

WHAT WE SHARE

-

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.

-
-
-

WHAT YOU MIGHT SHARE

-

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

- -
- - - -
- - - diff --git a/placeholder/footer b/placeholder/footer new file mode 100644 index 0000000..ce2f2a8 --- /dev/null +++ b/placeholder/footer @@ -0,0 +1,8 @@ + + + +
+ + diff --git a/placeholder/header b/placeholder/header new file mode 100644 index 0000000..93fba3e --- /dev/null +++ b/placeholder/header @@ -0,0 +1,15 @@ + + + + + CryptoBox + + + + + + + +
+ +
diff --git a/placeholder/nav b/placeholder/nav new file mode 100644 index 0000000..51ce2f4 --- /dev/null +++ b/placeholder/nav @@ -0,0 +1,8 @@ + +
diff --git a/project.html b/project.html new file mode 100644 index 0000000..c31c8ee --- /dev/null +++ b/project.html @@ -0,0 +1,35 @@ + + + + + CryptoBox + + + + + + + +
+ +
+ + +
+ + + + + +
+ + + diff --git a/screenshots.html b/screenshots.html index 635bbd9..3a818b4 100644 --- a/screenshots.html +++ b/screenshots.html @@ -1,58 +1,56 @@ - - - - - CryptoBox - - - - - + + + + + CryptoBox + + + + + + + +
+ +
- + +
-
- -
-
- - -
+

Versions 0.3.x


activation of encrypted file system
- Aktivierung des verschlüsselten Dateisystems

-
+
configuration
- Konfiguration

Versions 0.2.x


activation of encrypted file system
- Aktivierung des verschlüsselten Dateisystems

+


configuration
- Konfiguration +

- + + + +
+ + -
- - - diff --git a/templatewriter.py b/templatewriter.py new file mode 100755 index 0000000..1f19325 --- /dev/null +++ b/templatewriter.py @@ -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,"",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) + 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