Changeset 413


Ignore:
Timestamp:
05/13/10 16:38:43 (15 years ago)
Author:
Kris Deugau
Message:

/trunk

Migrate body colour and font base defs to CSS, make <head>
sections more consistent. See #3.

Look for local.css so admins can override the default
colours. local.css is ignored on the working root as it
should be entirely a local file. See #14.

Location:
trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore set to
      local.css
  • trunk/alloctypes.html

    r344 r413  
    44
    55<link rel="stylesheet" type="text/css" href="/ip/ipdb.css">
     6<link rel="stylesheet" type="text/css" href="/ip/local.css">
    67
    78</head>
    8 <body bgcolor="#ffffff" text="#000000" link="#000000" vlink="#000000" alink="#ff0000" leftmargin="0" topmargin="0" marginwidth="0">
     9<body>
    910
    1011<table class="regular">
  • trunk/cgi-bin/admin.cgi

    r412 r413  
    4949if ($IPDBacl{$authuser} !~ /A/) {
    5050  print "Content-Type: text/html\n\n".
    51         "<html><head><title>Access denied</title></head>".
    52         qq(<body bgcolor="#ffffff" text="#000000" link="#000000" vlink="#000000" alink="#ff0000">\n).
    53         'Access to this tool is restricted.  Contact <a href="mailto:kdeugau@vianet.ca">Kris</a> '.
    54         "for more information.</body></html>\n";
     51        "<html>\n<head>\n\t<title>Access denied</title>\n".
     52        qq(\t<link rel="stylesheet" type="text/css" href="/ip/ipdb.css">\n).
     53        qq(\t<link rel="stylesheet" type="text/css" href="/ip/local.css">\n).
     54        "</head>\n<body>\n".
     55        qq(Access to this tool is restricted.  Contact <a href="mailto:kdeugau\@vianet.ca">Kris</a> \n).
     56        "for more information.\n</body>\n</html>\n";
    5557  exit;
    5658}
     
    6264        "<html>\n<head>\n\t<title>[IPDB admin tools]</title>\n".
    6365        qq(\t<link rel="stylesheet" type="text/css" href="/ip/ipdb.css">\n).
    64         qq(</head>\n<body bgcolor="#ffffff" text="#000000" link="#000000" vlink="#000000" alink="#ff0000">\n).
     66        qq(\t<link rel="stylesheet" type="text/css" href="/ip/local.css">\n).
     67        "</head>\n<body>\n".
    6568        "<h2>IPDB - Administrative Tools</h2>\n<hr>\n";
    6669
  • trunk/changes.html

    r232 r413  
    44
    55<link rel="stylesheet" type="text/css" href="/ip/ipdb.css" />
     6<link rel="stylesheet" type="text/css" href="/ip/local.css" />
    67
    78</head>
    8 <body bgcolor="#ffffff" text="#000000" link="#000000" vlink="#000000" alink="#ff0000" leftmargin="0" topmargin="0" marginwidth="0">
     9<body>
    910
    1011<table class="regular">
  • trunk/header.inc

    r412 r413  
    44        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    55        <link rel="stylesheet" type="text/css" href="/ip/ipdb.css">
     6        <link rel="stylesheet" type="text/css" href="/ip/local.css">
    67
    78<script language=javascript>
     
    2122
    2223</head>
    23 <body bgcolor="#ffffff" text="#000000" link="#000000" vlink="#000000" alink="#ff0000" leftmargin="0" topmargin="0" marginwidth="0" style="font-family: helvetica">
     24<body>
    2425
    2526<table width="98%" border="0" cellspacing="0" cellpadding="0" height="0">
  • trunk/help.html

    r371 r413  
    33<title>IP Database</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    44
    5 <link rel="stylesheet" type="text/css"
    6 href="/ip/ipdb.css" />
     5<link rel="stylesheet" type="text/css" href="/ip/ipdb.css" />
     6<link rel="stylesheet" type="text/css" href="/ip/local.css" />
    77
    88</head>
    9 <body bgcolor="#ffffff" text="#000000" link="#000000" vlink="#000000" alink="#ff0000" leftmargin="0" topmargin="0" marginwidth="0">
     9<body>
    1010
    1111<table class="regular">
  • trunk/ipdb.css

    r397 r413  
    1 a:active {
    2   text-decoration: underline;
    3   color: #ff0000;
     1body {
     2  background-color: #ffffff;
     3  text-color: #000000;
     4  font-family: helvetica;
     5  margin: 0;
    46}
    57
    6 a:hover {
    7   text-decoration: underline;
    8   color: #0000ff;
    9 }
    10 
    11 a:link {
    12   text-decoration: underline;
    13   color: #000000;
    14 }
    15 
    16 a:visited {
    17   text-decoration: underline;
    18   color: #683080;
    19 }
     8a { text-decoration: underline; }
     9a:link          { color:#3333ff; }      /* unvisited link */
     10a:visited       { color:#663366; }      /* visited link */
     11a:hover         { color:#dd00dd; }      /* mouse over link */
     12a:active        { color:#cc0000; }      /* selected link */
    2013
    2114tr.color0 {
  • trunk/newcity.html

    r139 r413  
    33        <title>IP Database - Add new city</title>
    44        <link rel="stylesheet" type="text/css" href="/ip/ipdb.css" />
     5        <link rel="stylesheet" type="text/css" href="/ip/local.css" />
    56
    67        <SCRIPT language="JavaScript" type="text/javascript">
     
    1617</head>
    1718
    18 <body bgcolor="#ffffff" text="#000000" link="#000000" vlink="#000000" alink="#ff0000" leftmargin="0" topmargin="0" marginwidth="0" onUnload="redoParent()">
     19<body onUnload="redoParent()">
    1920<table>
    2021<form action="cgi-bin/newcity.cgi" method="POST">
  • trunk/newnode.html

    r397 r413  
    33        <title>IP Database - Add new tower/demarc switch</title>
    44        <link rel="stylesheet" type="text/css" href="/ip/ipdb.css" />
     5        <link rel="stylesheet" type="text/css" href="/ip/local.css" />
    56
    67        <SCRIPT language="JavaScript" type="text/javascript">
     
    1617</head>
    1718
    18 <body bgcolor="#ffffff" text="#000000" link="#000000" vlink="#000000" alink="#ff0000" leftmargin="0" topmargin="0" marginwidth="0" onUnload="redoParent()">
     19<body onUnload="redoParent()">
    1920<table>
    2021<form action="cgi-bin/newnode.cgi" method="POST">
  • trunk/startsn.html

    r4 r413  
    44<title>IP Database</title>
    55
    6 <link rel="stylesheet" type="text/css"
    7 href="/ip/ipdb.css" />
     6<link rel="stylesheet" type="text/css" href="/ip/ipdb.css" />
     7<link rel="stylesheet" type="text/css" href="/ip/local.css" />
    88
    99</head>
    10 <body bgcolor="#ffffff" text="#000000" link="#000000" vlink="#000000" alink="#ff0000" leftmargin="0" topmargin="0" marginwidth="0">
     10<body>
Note: See TracChangeset for help on using the changeset viewer.