Web Front End

Overall design

The web front end is one .shtml file with a navigator created from perl and included as a “include virtual” ssi. This navigator loads files created dynamically by perl in to an iframe for the main content. All layout should be controlled by CSS and be W3C compliant.

The idea is to have as little static html as possible with all content loaded dynamically. The reason for this is several fields have drop down options, the contents of which are derived from the database at the time of page creation. This could perhaps be done with AJAX but it was felt that this method was simpler.

The screen dump shows how the pieces fit together.

Add New A record

Fields passed to script, format is below. All type is TEXT except where mentioned.

IPaddress, set of four octets, name=“….” :-

  • octet1
  • octet2
  • octet3
  • octet4

MAC address:- name=“macaddress”, size 20,
Hostname:- name=“hostname”, size=20,
Domainsuffix:- name=“domainsuffix”, type=select from dropdown box,
Description:- name=“description”, type = textarea, 4×60,
Username:- name=“username”, size=10,
Password:- name=“userpassword”, size=20, type=password,
Team:- name=“team”, type=select from drop down box.

<form name=“addipaddress” action=“/cgi-bin/dns-management/add-new-A-record.pl” method=“post”>

 
rb-projects-dns/dnsmgmtwebfrontend.txt · Last modified: 10/10/2013 14:21 by 127.0.0.1