[Bio] / RAST / rast.cgi Repository:
ViewVC logotype

View of /RAST/rast.cgi

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (download) (annotate)
Fri Jan 11 15:50:01 2008 UTC (11 years, 11 months ago) by paarmann
Branch: MAIN
Changes since 1.1: +1 -0 lines
added title prefix

use strict;
use warnings;

use DBMaster;
use WebApplication;
use WebMenu;
use WebLayout;
use WebConfig;

my $layout = WebLayout->new('./Html/RASTLayout.tmpl');
$layout->add_css(TMPL_PATH.'/default.css');
$layout->add_css(TMPL_PATH.'/rast.css');

my $menu = WebMenu->new();
$menu->add_category('Home', 'rast.cgi', undef, [ 'login' ]);
$menu->add_category('Your Jobs', 'rast.cgi?page=Jobs', undef, [ 'login' ]);
$menu->add_entry('Your Jobs', 'Jobs Overview', 'rast.cgi?page=Jobs');
$menu->add_entry('Your Jobs', 'Upload New Job', 'rast.cgi?page=Upload');


my $WebApp = WebApplication->new( { id       => 'RAST',
                                    menu     => $menu,
                                    layout   => $layout,
                                    default  => 'Home',
                                  } );

$WebApp->page_title_prefix('RAST Server - ');
$WebApp->run();

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3