Panorama of AMANDA by Kurt

AMANDA Web page Template

Attached below is the template that I would like people to use for official AMANDA web pages. This template utilizes server side includes and cascading style sheets. This makes it easier to change the look and feel of the entire web site by editing a few files. It also produces good consistency.

By using a consistent look and feel we look professional, and organized:)

If you do not like the look and feel of the present page, bring it to our attention and we can discus changes and improvements.

One thing to keep in mind while writing web pages with this template is do not use formating tags such as <font>, and try and minimize the use of tables to things that are actually tables. By using tables as a formating tool, the value of cascading style sheets is compromised (changing a table style will alter page formating).

Think of html as a type setting language such as latex, and the cascading style sheet as a latex style guide. Do you really want to override the type or size of font used in headings when writing a latex document?

The template file is called /net/www/template.shtml

Things that need changing for each new page are, the document title (make it the same as the heading?), and the document heading. h1 tags will always be centered. Please do not try and over-ride this behavior. Instead use a h2 tags.

The file also need to be called somename.shtml. The .shtml lets everyone (server client applications) know about the other files.

I know it is very popular to use tables to fake frames, and put a row of buttons down the side. This produces very messy html, and is a kluge, using tables to produce formating. It also rules out using server side includes easily. You will probably notice many large web sites such as amazon using horizontal rows of buttons for common content for this reason (they often also have vertical buttons, but of a more specific to the page nature and using more complex CCS techniques).

To make a web page passwd protected, put a .htaccess and .htpasswd file in the same directory as the page you want protected. If you want to use the same protection as the AMANDA internal page, make links to these files in the /net/www/safe directory (this includes user names amanda, raytheon, and icecube). In the directory to be protected, and all below it, make the following links

ln -s /net/www/safe/.ht* ./

To make your own htpasswd file, read the man page for htpasswd.

Contact admin@amanda.physics.wisc.edu regarding this information.

% cat /net/www/template.shtml
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="AMANDA" content="Antarctic Muon and Neutrino Detector Array,
Telescope, South Pole, Astronomy and Physics">
<title> Document Title </title>
<link rel="stylesheet" type="text/css" href="/main.css">
<!--#include virtual="/navheader.ssi.html" -->
</head>
<body>
<!--#include virtual="/main-head.ssi.html" -->

<h1> Document Heading </h1>

<!-- Put Web Page here -->

<!--#include virtual="/main-tail.ssi.html" -->
</body>
</html>

Home Papers Events Outreach Links Data Simulation Computing Software People Internal Search