summaryrefslogtreecommitdiff
path: root/retro
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-02-02 14:12:46 -0600
committerDan McGee <dan@archlinux.org>2012-02-18 19:24:33 -0600
commit48f51dea411885e510cb9aa2887e83be289232f6 (patch)
tree5ca028fadb46ea1fffa351d3644983df273519cf /retro
parent03a0d27971898592698dbb0c5948b93c6a3a4741 (diff)
Add a retro site view and link it to a URL
This is from our friends at web.archive.org, who's earliest capture of the Arch Linux website was on March 28, 2002. Seems like something nice to do around the 10th anniversary of the website being up and the distro being around, and not hotlinking their servers also seems like a good idea. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'retro')
-rw-r--r--retro/__init__.py0
-rw-r--r--retro/models.py0
-rw-r--r--retro/static/archlogo_black-20020328.gifbin0 -> 8889 bytes
-rw-r--r--retro/static/main-20020328.css145
-rw-r--r--retro/static/sflogo-20020328.pngbin0 -> 2113 bytes
-rw-r--r--retro/templates/retro/index-20020328.html137
-rw-r--r--retro/tests.py0
-rw-r--r--retro/views.py19
8 files changed, 301 insertions, 0 deletions
diff --git a/retro/__init__.py b/retro/__init__.py
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/retro/__init__.py
diff --git a/retro/models.py b/retro/models.py
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/retro/models.py
diff --git a/retro/static/archlogo_black-20020328.gif b/retro/static/archlogo_black-20020328.gif
new file mode 100644
index 00000000..b4f979f4
--- /dev/null
+++ b/retro/static/archlogo_black-20020328.gif
Binary files differ
diff --git a/retro/static/main-20020328.css b/retro/static/main-20020328.css
new file mode 100644
index 00000000..82173c9e
--- /dev/null
+++ b/retro/static/main-20020328.css
@@ -0,0 +1,145 @@
+a:visited {
+ color: #dddddd;
+ text-decoration: none;
+ font-weight: bold;
+}
+
+a:link {
+ color: #dddddd;
+ text-decoration: none;
+ font-weight: bold;
+}
+
+a:hover {
+ color: #cccc00;
+ text-decoration: none;
+ font-weight: bold;
+}
+
+a.menu {
+ text-decoration: none;
+ color: #ffffff;
+ font-family: Arial;
+ font-size: 12pt;
+}
+
+body {
+ font-family: Arial;
+ background: #222222 none;
+}
+
+b {
+ font-weight: bold;
+ font-family: Arial;
+ font-size: 13pt;
+}
+
+b.normal {
+ font-weight: bold;
+ font-family: Arial;
+ font-size: 12pt;
+}
+
+.text {
+ font-family: Arial;
+ font-size: 12pt;
+}
+
+.quote {
+ font-family: Arial;
+ font-style: italic;
+ font-size: 11pt;
+}
+
+.technical {
+ font-family: Courier;
+ color: #eeeeee;
+ font-size: 10pt;
+}
+
+.fineprint {
+ font-family: Arial;
+ font-size: 10pt;
+}
+
+.header {
+ color: #cccccc;
+ font-family: Arial;
+ font-size: 28pt;
+ font-weight: bolder;
+}
+
+.subheader {
+ color: #eeeeee;
+ font-family: Arial;
+ font-size: 24pt;
+ font-weight: bold;
+}
+
+ul.plain {
+ list-style: none;
+ font-family: Arial;
+ font-size: 12pt;
+}
+
+ul.list {
+ list-style: square;
+ font-family: Arial;
+ font-size: 12pt;
+}
+
+table.border {
+ /*background-image: url('bg.gif');*/
+ background-repeat: no-repeat;
+ background-color: #000000;
+ border-bottom: #cccccc 1px solid;
+ border-left: #cccccc 1px solid;
+ border-right: #cccccc 1px solid;
+ border-top: #cccccc 1px solid;
+ width: 93%;
+ padding: 5px;
+}
+
+table.menu {
+ background-image: none;
+ background-color: none;
+ border-bottom: #cccccc 1px solid;
+ border-left: #cccccc 1px solid;
+ border-right: #cccccc 1px solid;
+ border-top: #cccccc 1px solid;
+ padding: none;
+ font-family: Arial;
+ font-size: 12pt;
+}
+
+table.normal {
+ border-bottom: #cccccc 1px solid;
+ border-top: #cccccc 1px solid;
+ padding: none;
+ font-family: Arial;
+ font-size: 12pt;
+}
+
+table.technical {
+ border-bottom: #cccccc 1px solid;
+ border-top: #cccccc 1px solid;
+ padding: none;
+ font-family: Courier;
+ font-size: 10pt;
+}
+
+td {
+ color: #dddddd;
+ font-family: Arial;
+ font-size: 12pt;
+}
+
+td.menu {
+ border-left: #cccccc 1px solid;
+ border-right: #cccccc 1px solid;
+ color: #dddddd;
+ text-align: center;
+ white-space: nowrap;
+ font-family: Arial;
+ font-size: 10pt;
+}
diff --git a/retro/static/sflogo-20020328.png b/retro/static/sflogo-20020328.png
new file mode 100644
index 00000000..1b2870c0
--- /dev/null
+++ b/retro/static/sflogo-20020328.png
Binary files differ
diff --git a/retro/templates/retro/index-20020328.html b/retro/templates/retro/index-20020328.html
new file mode 100644
index 00000000..3aec812b
--- /dev/null
+++ b/retro/templates/retro/index-20020328.html
@@ -0,0 +1,137 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<html><head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>Arch Linux</title>
+<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}main-20020328.css">
+</head>
+
+<body bgcolor="#000000" link="cccc00" text="#cccccc">
+<table class="border" align="center">
+<tbody><tr><td>
+
+<table width="100%">
+<tbody><tr><td valign="bottom">
+<table class="technical"><tbody><tr><td>
+Release: 0.1 (Homer)<br>
+Devel: &nbsp; 0.2
+</td></tr></tbody></table><br>
+<table>
+ <tbody><tr>
+ <td class="menu"><a href="http://web.archive.org/web/20020328043401/http://www.archlinux.org/install.php">&nbsp;installation&nbsp;</a></td>
+ <td class="menu"><a href="http://web.archive.org/web/20020328043401/http://www.archlinux.org/download.php">&nbsp;download&nbsp;</a></td>
+ <td class="menu"><a href="http://web.archive.org/web/20020328043401/http://www.archlinux.org/packages.php">&nbsp;package list&nbsp;</a></td>
+ </tr><tr>
+ <td class="menu"><a href="http://web.archive.org/web/20020328043401/http://www.archlinux.org/index.php">&nbsp;news&nbsp;</a></td>
+ <td class="menu"><a href="http://web.archive.org/web/20020328043401/http://www.archlinux.org/faq.php">&nbsp;faq&nbsp;</a></td>
+ <td class="menu"><a href="http://web.archive.org/web/20020328043401/http://www.archlinux.org/changelog.php">&nbsp;changelog&nbsp;</a></td>
+ </tr>
+</tbody></table>
+</td><td align="right">
+<img src="{{ STATIC_URL }}archlogo_black-20020328.gif" alt="Arch Logo"><br>
+<span class="quote">
+</span>
+</td></tr></tbody></table>
+<hr>
+
+<p><span class="subheader">News</span><br><br>
+<b>Mar 18 - pacman 1.2 released</b>
+</p><ul class="plain"><li>I've put a pacman-1.2 package up on the ftp site. This version
+ comes with the pacsync utility, which lets you automatically download and install
+ packages and otherwise keep your system up to date.</li></ul>
+<b>Mar 13 - rsync server in place</b>
+<ul class="plain"><li>I've set up an rsync server on archlinux.org. This will let
+ everybody keep their /usr/abs tree up to date, and it will also let you easily
+ mirror the ftp site. I'm in need of download mirrors, so please, if anybody would
+ like to volunteer, email me and I'll put you on the mirror page.<br><br>
+ If you don't already have it, create the directory /usr/abs. Then to
+ update your /usr/abs tree, you can do the following:<br>
+ <blockquote><pre># cd /usr/abs &amp;&amp; rsync -av archlinux.org::abs .</pre></blockquote>
+ </li></ul>
+<b>Mar 11 - Arch Linux 0.1 (Homer) released</b>
+<ul class="plain"><li>I've finally got a bootable iso image on the ftp site.
+ The bad news is that you don't get a pretty interactive installer. But if
+ you wanted one of those, you would have gone with RedHat, right? &nbsp; ;)<br><br>
+ Here's a short list of some future plans for 0.2:<ul class="list">
+ <li>Document ABS (Arch Build System) and provide a cvs-like update method so people
+ can start building their own packages.
+ </li><li>Finish the contrib area and start posting third-party packages.
+ </li><li>Finish pacman 1.2 -- this will allow you to update your entire system with
+ the latest stable version of all packages, all with one command.
+ </li><li>Add a pretty interactive installer. ;)
+ </li><li>Add more documentation -- our docs really suck right now. Please! If you have
+ questions, just <a href="mailto:jvinet@zeroflux.org">ask</a>! Also, if you
+ want to help out in any way, please <a href="mailto:jvinet@zeroflux.org">let me know</a>.
+ I'm a student so my free time comes and goes at the will of my evil profs.
+ </li></ul><br>
+ I'll try to get the docs up for ABS (Arch Build System) which, IMHO, is one
+ of the best advantages of Arch. With ABS, you can easily create new packages,
+ and it's trivial to rebuild existing packages with your own customizations.<br><br>
+ And on that note, if you start to use the ABS and build your own packages, I welcome
+ your submissions. My "development team" is working on a contrib area as we speak. ;)
+ </li></ul>
+<p></p>
+<br>
+
+<p><span class="subheader">About</span><br><br>
+<span class="text">Arch Linux is an i686-optimized linux distribution based on ideas from
+ <a href="http://web.archive.org/web/20020328043401/http://www.crux.nu/">CRUX</a>, a great distribution developed by Per Lidén. It is lightweight and
+ contains the latest stable versions of software. Packages are in .tar.gz format and are tracked
+ by a package manager that is designed to allow easy package upgrades. Arch is quite streamlined
+ compared to some other distributions. Things that are relatively unused (by me, anyway) are not
+ kept (info-pages, for example). A default Arch install leaves you with a solid base; from there,
+ you can add packages to create the custom installation you're looking for. Arch has a package
+ build system that allows you to easily create your own packages, which makes it very easy to
+ rebuild a package with your own custom configuration. Arch also aims to use the newer features
+ available to linux users, such as reiserfs/ext3 and devfs.
+</span></p>
+<br>
+
+<p><span class="subheader">Components</span><br><br>
+<span class="text">All components are optional, of course. It's your system -- build it however you want.</span><br>
+</p><ul class="list">
+ <li>Linux Kernel 2.4.18</li>
+ <li>XFree86 4.2.0</li>
+ <li>glibc 2.2.5</li>
+ <li>gcc 2.95.3</li>
+ <li>OpenSSH 3.1p1</li>
+ <li>Mozilla 0.9.9</li>
+ <li>WindowMaker 0.80.0</li>
+ <li>Vim 6.1</li>
+ <li>Reiserfsprogs 3.x.1b</li>
+ <li>devfsd 1.3.22</li>
+ <li>... and more ...</li>
+</ul>
+<p></p>
+<br>
+
+<p><span class="subheader">Mailing List</span><br><br>
+<span class="text">There is a mailing list in place for general discussion about
+Arch Linux. Here, you can post questions, problems, solutions, ideas, etc. To
+subscribe to the list, send an email to <b>arch-request@archlinux.org</b> with
+<b>subscribe</b> as the subject.<br><br>
+Alternatively, you can click <a href="http://web.archive.org/web/20020328043401/http://www.archlinux.org/mailman/listinfo/arch">
+here</a> to use the web interface.
+</span>
+</p>
+<br>
+
+<p><span class="subheader">IRC</span><br><br>
+<span class="text">The project is still in its early stages of development. If you are one
+ of those brave souls who has installed it and you're seeking help, you can usually find me
+ on #archlinux at <a href="http://web.archive.org/web/20020328043401/http://www.openprojects.net/">irc.openprojects.net</a>. My nick is
+ apeiro.</span>
+</p>
+
+</td></tr>
+</tbody></table>
+<center>
+<span class="fineprint">Questions? Comments? <a href="mailto:jvinet@zeroflux.org">Mail em here!</a></span>
+<p>
+<span class="fineprint">Copyright ©2002, Judd Vinet
+&lt;<a href="mailto:jvinet@zeroflux.org">jvinet@zeroflux.org</a>&gt;
+</span>
+<a href="http://web.archive.org/web/20020328043401/http://sourceforge.net/">
+ <img src="{{ STATIC_URL }}sflogo-20020328.png" alt="SourceForge Logo" align="right" border="0" height="31" width="105"></a>
+</p></center>
+
+</body></html>
diff --git a/retro/tests.py b/retro/tests.py
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/retro/tests.py
diff --git a/retro/views.py b/retro/views.py
new file mode 100644
index 00000000..ba1109b0
--- /dev/null
+++ b/retro/views.py
@@ -0,0 +1,19 @@
+from django.http import Http404
+from django.views.decorators.cache import cache_page
+from django.views.generic.simple import direct_to_template
+
+
+RETRO_YEAR_MAP = {
+ 2002: 'index-20020328.html',
+}
+
+
+@cache_page(1800)
+def retro_homepage(request, year):
+ year = int(year)
+ template = RETRO_YEAR_MAP.get(year, None)
+ if template is None:
+ raise Http404
+ return direct_to_template(request, 'retro/%s' % template, {})
+
+# vim: set ts=4 sw=4 et: