index.cgi #5

  • //
  • guest/
  • fredric_fredricson/
  • P4DB/
  • main/
  • index.cgi
  • View
  • Commits
  • Open Download .zip Download (1 KB)
#!/usr/bin/perl -w
# -*- perl -*-
use P4CGI ;
use strict ;
#
#################################################################
#  CONFIGURATION INFORMATION 
#  All config info should be in P4CGI.pm
#
#################################################################
#
#  P4 depot browser, top
#
#################################################################

my $startPage=P4CGI::cgi()->param("STARTPAGE") ;

$startPage = "intro.cgi" unless defined $startPage ;

my $framepage="main.html" ;
print "content-type: text/html\n\n" ;
while(<DATA>) {
    s/"default.cgi"/$startPage/ ;
    print ;
}
#
# That's all folks
#

__END__

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
   "http://www.w3.org/TR/html4/frameset.dtd">
<HTML>
<HEAD>
<TITLE>P4DB 3.0</TITLE>
<link rel="stylesheet" type="text/css" href="P4DB.css" />
</HEAD>
<FRAMESET rows="50, *">
    <FRAME src="header.cgi"
           name="Header" 
           frameborder="0" 
 	   marginwidth="0"
           marginheight="0"
	   title="This is the header frame">
    <FRAME src="default.cgi" 
           name="Data"
           frameborder="0" 
	   marginwidth="0"
           marginheight="0"
	   title="This is the data frame">
    <NOFRAMES>
    <P>
        Sorry, this version of P4DB needs a frame-aware browser.
    <P>
        Try one of the more recent versions of Netscape Navigator or
        MS-Explorer. 
    </NOFRAMES>
</FRAMESET>
</HTML>
# Change User Description Committed
#8 4313 Fredric Fredricson P4DB:
- Removed some error messages (that clobbers the error log for the web server)
- Added a CSS file that works for people with color vision deficiency
- Fixed minor bug in the scripts that creates the tarball and zip-file
#7 4152 Fredric Fredricson P4DB: Some more work on tha way to version 3.1....
#6 4046 Fredric Fredricson P4DB: First submit for 3.1.
* Removed frame-stuff and some related files
* Added new page header
* Started update of documentation
* Changed a lot of CGI:s to conform to new "look and feel"
Still a lot to do:
- clean up stuff (especially the javascript)
- Fix the file list to use new annotate-command
- Clean up and document css-file
- and more.......
#5 3573 Fredric Fredricson P4DB: Added a link to page that can be used in emails etc.
#4 2903 Fredric Fredricson P4DB: Increased header frame size from 45 to 50.
#3 2875 Fredric Fredricson P4DB 3.0 first beta...
#2 1920 Fredric Fredricson P4DB: Mainly some user interface fixes:
* Added a small arrow that points to selection in list of options
* Added tooltip help
* Added user prefereces to turn the above off (or on)
* Some other user interface fixes
And fixed a bug in jobList.cgi and some minor bugs in label and branch
viewers.
#1 1638 Fredric Fredricson P4DB: Added all (I think) files for P4DB