[Bio] / SeedViewer / seedviewer.cgi Repository:
ViewVC logotype

Diff of /SeedViewer/seedviewer.cgi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1, Thu Jun 7 15:05:39 2007 UTC revision 1.4, Wed Nov 7 17:09:12 2007 UTC
# Line 34  Line 34 
34    
35      # initialize layout      # initialize layout
36      my $layout = WebLayout->new('./Html/SeedViewer.tmpl');      my $layout = WebLayout->new('./Html/SeedViewer.tmpl');
37        $layout->add_css('./Html/default.css');
38      $layout->add_css('./Html/seedviewer.css');      $layout->add_css('./Html/seedviewer.css');
39    
40      # build menu      # build menu
41      my $menu = WebMenu->new();      my $menu = WebMenu->new();
42      $menu->add_category('Navigate', 'index.cgi?page=Home');      $menu->add_category('»Navigate', '?page=Home');
43      $menu->add_entry('Navigate', 'Search', 'index.cgi?page=Home');      $menu->add_entry('»Navigate', 'Search', '?page=Home');
44      $menu->add_entry('Navigate', 'Functional Roles', 'index.cgi?page=FunctionalRole');      $menu->add_entry('»Navigate', 'Subsystems', '?page=SubsystemSelect');
45      $menu->add_entry('Navigate', 'Subsystems', 'index.cgi?page=Subsystem');      $menu->add_entry('»Navigate', 'Organisms', '?page=OrganismSelect');
46      $menu->add_entry('Navigate', 'Organisms', 'index.cgi?page=Organism');      $menu->add_category('»Teacher', '?page=Teach', undef, ['edit', 'problem_list'], 96);
47      $menu->add_entry('Navigate', 'Annotations', 'index.cgi?page=Annotation');      $menu->add_category('»Admin', '?page=Admin', undef, ['edit', 'scope', '*'], 99);
48      $menu->add_category('Help', 'http://biofiler.mcs.anl.gov', 'help');      $menu->add_category('»Help', 'http://www.theseed.org', 'help', undef, 98);
49      $menu->add_entry('Help', 'What is the SEED', 'www.theseed.org');      $menu->add_entry('»Help', 'What is the SEED', 'http://www.theseed.org/wiki/Home_of_the_SEED');
50      $menu->add_entry('Help', 'HowTo use the SEED Viewer', 'www.theseed.org');      $menu->add_entry('»Help', 'HowTo use the SEED Viewer', 'http://www.theseed.org/wiki/SEED_Viewer_Tutorial');
51      $menu->add_entry('Help', 'Submitting Data to SEED', 'www.theseed.org');      $menu->add_entry('»Help', 'Submitting Data to SEED', 'http://www.theseed.org/wiki/RAST_Tutorial');
52      $menu->add_entry('Help', 'Contact', 'www.theseed.org');      $menu->add_entry('»Help', 'Contact', 'http://www.theseed.org/wiki/Contact');
53      $menu->add_entry('Help', 'Register', 'www.theseed.org');      $menu->add_entry('»Help', 'Register', '?page=Register');
     $menu->add_category('Logout', 'index.cgi?action=perform_logout', undef, ['login']);  
54    
55      # initialize application      # initialize application
56      my $WebApp = WebApplication->new( { id => 'SeedViewer',      my $WebApp = WebApplication->new( { id => 'SeedViewer',

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3