Commit c83fab21 authored by Franco Fichtner's avatar Franco Fichtner

www: remove cruft that has no shared library anymore

parent 37c62e42
* {
}
body {
margin: 0em;
background-color: #FFFFFF;
background-image: url("fred-bg.gif");
background-repeat: no-repeat;
white-space: normal;
font-weight: bold;
color: navy;
font-family: 'Arial', 'Helvetica', 'Verdana', sans-serif;
}
div.mainness {
margin-top: 0em;
padding-top: 0em;
}
div.maintitle {
background: #DDEEDD;
font-style: italic;
padding-top: 1.0em;
padding-left: 4%;
font-size: large;
border-bottom: thin solid #000000;
}
div.title {
background: #EEEEEE;
font-weight: bold;
padding-top: 0.5em;
padding-left: 8%;
border-bottom: thin solid #AAAAAA;
}
div.textbox {
border: thin solid #000000;
margin-bottom: 0.5em;
margin-top: 1.5em;
margin-left: 10%; margin-right: 10%;
padding: 0.5em;
background: #FFFFFF;
text-align: center;
}
div.monospaced {
border: thin solid #000000;
margin-bottom: 0.5em;
margin-top: 1.5em;
margin-left: 10%; margin-right: 10%;
padding: 0.5em;
background: #FFFFFF;
white-space: pre;
font-family: monospace;
font-weight: normal;
font-size: 90%;
}
div.mainform {
text-align: center;
margin: 0.5em;
}
table.maintable {
text-align: left;
margin: 1em auto;
width: 50%;
}
td.colhead {
font-weight: bold;
text-align: center;
}
.note {
font-style: italic;
color: #AAAAAA;
font-size: smaller;
}
input.button {
font-weight: bold;
color: navy;
font-family: 'Arial', 'Helvetica', 'Verdana', sans-serif;
}
// Global Variables
var rowname = new Array(99);
var rowtype = new Array(99);
for (i = 0; i < 99; i++) {
rowname[i] = '';
rowtype[i] = '';
}
var field_counter_js = 0;
var loaded = 0;
var is_streaming_progress_bar = 0;
var temp_streaming_text = "";
var addRowTo = (function() {
return (function (tableId) {
var d, tbody, tr, td, bgc, i, ii, j;
d = document;
tbody = d.getElementById(tableId).getElementsByTagName("tbody").item(0);
tr = d.createElement("tr");
totalrows++;
for (i = 0; i < field_counter_js; i++) {
td = d.createElement("td");
if(rowtype[i] == 'textbox') {
td.innerHTML="<INPUT type='hidden' value='" + totalrows +"' name='" + rowname[i] + "_row-" + totalrows + "'></input><input name='" + rowname[i] + "-" + totalrows + "'></input> ";
} else {
td.innerHTML="<INPUT type='hidden' value='" + totalrows +"' name='" + rowname[i] + "_row-" + totalrows + "'></input><input type='checkbox' name='" + rowname[i] + "-" + totalrows + "'></input> ";
}
tr.appendChild(td);
}
td = d.createElement("td");
td.rowSpan = "1";
td.innerHTML = '<input type="button" value="Delete" onclick="removeRow(this)">';
tr.appendChild(td);
tbody.appendChild(tr);
});
})();
function removeRow(el) {
var cel;
while (el && el.nodeName.toLowerCase() != "tr")
el = el.parentNode;
if (el && el.parentNode) {
cel = el.getElementsByTagName("td").item(0);
el.parentNode.removeChild(el);
}
}
function find_unique_field_name(field_name) {
// loop through field_name and strip off -NUMBER
var last_found_dash = 0;
for (var i = 0; i < field_name.length; i++) {
// is this a dash, if so, update
// last_found_dash
if (field_name.substr(i,1) == "-" )
last_found_dash = i;
}
if (last_found_dash < 1)
return field_name;
return(field_name.substr(0,last_found_dash));
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment