#! /usr/bin/perl
#
# $Id$
-# Main page of 'My::Project::icp'
+# Main page Perl template.
# Copyright (C) 2003 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
#
# This program is free software; you can redistribute it and/or modify
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+package Index;
require 5.6.0; # at least 'use warnings;' but we need some 5.6.0+ modules anyway
use vars qw($VERSION $CVS_ID);
$VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
use strict;
use warnings;
+BEGIN{ open F,"Makefile"; our $top_dir=pop @{[split /\s/,(grep /^top_srcdir/,<F>)[0]]}; eval "use lib '$top_dir'"; close F; }
use My::Web;
-use project::icp::ListItem;
+require 'CGI';
+require 'My::Project';
-My::Web->init_project(
- "ListItem"=>\%My::Project::icp::ListItem,
+my $W=My::Web->init(
+ "__PACKAGE__"=>__PACKAGE__,
+ "title"=>'CV - Jan Kratochvil',
+ "footer_ids"=>0,
);
+My::Web->heading();
-print <<'HERE';
-<iframe src="Islet/" width="90%" height="500" />
-<a href="Islet/">Program on-line</a>.
-</iframe>
-HERE
-print '<table border="0"><tr><td align="center">'.My::Web::img("Islet.png","Applet demo screen").'</td></tr></table>'."\n";
+print "<h1>Nothing to see here, move along.</h1>\n";
+
My::Web->footer();