Changeset 210


Ignore:
Timestamp:
12/21/11 15:33:48 (13 years ago)
Author:
Kris Deugau
Message:

/trunk

The lets-call-it-a-release commit, for sure this time!
Fill in some lingering details in the UI - company name in the
header, version on the login and footer, identify *what* you're
logging in to on the login page.

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    • Property svn:keywords set to Id
    r201 r210  
    1 # $Id: Makefile 417 2010-06-30 21:48:03Z kdeugau $
     1# $Id$
    22# DNS Admin makefile
    33
  • trunk/dns.cgi

    r209 r210  
    136136my $header = HTML::Template->new(filename => "$templatedir/header.tmpl");
    137137my $footer = HTML::Template->new(filename => "$templatedir/footer.tmpl");
     138$header->param(orgname => $config{orgname}) if $config{orgname} ne 'Example Corp';
     139$footer->param(version => $DNSDB::VERSION);
    138140
    139141## set up "URL to self"
     
    279281  $page->param(loginfailed => 1) if $webvar{loginfailed};
    280282  $page->param(sessexpired => 1) if $webvar{sessexpired};
     283#  $page->param(orgname => $config{orgname}) if $config{orgname} ne 'Example Corp';
     284  $page->param(version => $DNSDB::VERSION);
    281285
    282286} elsif ($webvar{page} eq 'domlist' or $webvar{page} eq 'index') {
  • trunk/templates/dns.css

    r173 r210  
    225225        margin: 17% auto;
    226226        padding: 3px;
     227        font-size: 1.1em;
     228}
     229#login2 {
     230        margin: auto;
    227231        border: thin solid #000000;
    228232}
  • trunk/templates/footer.tmpl

    r166 r210  
    44<div id="footer">
    55<div id="contact">
    6 <a href="https://secure.deepnet.cx/trac/dnsadmin">dnsadmin</a>
     6<a href="https://secure.deepnet.cx/trac/dnsadmin">dnsadmin</a> <TMPL_VAR NAME=version>
    77&copy; 2008-2011 <a href="mailto:kdeugau@deepnet.cx">Kris Deugau</a>/<a href="http://www.deepnet.cx">deepnet</a><br />
    88Written for standards-based browsers (eg <a href="http://www.firefox.com">FireFox</a>/<a href="http://www.mozilla.org">Mozilla</a>)
  • trunk/templates/header.tmpl

    r166 r210  
    33    <head>
    44        <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    5         <title><TMPL_IF compname><TMPL_VAR NAME=compname> - </TMPL_IF>DNS Administration</title>
     5        <title><TMPL_IF orgname><TMPL_VAR NAME=orgname> - </TMPL_IF>DNS Administration</title>
    66        <!-- General stylesheet for most content, all browsers -->
    77        <link rel="stylesheet" type="text/css" href="templates/dns.css" />
    88
    99        <!--
    10           Fair warning:  this does NOT validate according to the DTD above!
     10          Fair warning:  this validates according to the DTD above but breaks in IE<7 (at least).
    1111          Unlike in the body these if/endif constructs don't work for IE6 if
    1212          fully embedded in proper comment tags.  >:(
  • trunk/templates/login.tmpl

    r163 r210  
    44<input type="hidden" name="page" value="login" />
    55
    6 <table id="login">
     6<div id="login">
     7<div class="center">DeepNet DNS Administrator v<TMPL_VAR NAME=version></div>
     8<br />
     9<table id="login2">
    710<TMPL_IF loginfailed><tr><td colspan="2" class="errmsg" align="center">Error logging in:  Invalid username or password</td></tr></TMPL_IF>
    811<TMPL_IF sessexpired><tr><td colspan="2" class="errmsg" align="center">Your session has expired</td></tr></TMPL_IF>
     
    1215<tr><td colspan="2" class="tblsubmit" align="right"><input type="submit" value="Login" /></td></tr>
    1316</table>
     17</div>
    1418
    1519</fieldset>
Note: See TracChangeset for help on using the changeset viewer.