git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@50874 248e525c-4dfb-0310-94bc-949c084e9493

This commit is contained in:
andrew.gilmore
2012-03-19 11:57:19 +00:00
parent 2a0f4900c3
commit 0e9ca75d77
1587 changed files with 500863 additions and 0 deletions

View File

@@ -0,0 +1,866 @@
create or replace package body eft_nom.EFNOW094$ is
PROCEDURE nominations_css IS
BEGIN
htp.p('
.nomSiteTable {
border : 1px solid;
}
.nomSiteTH {
background-color : #F21C0A;
text-align : center;
width : 165px;
border-style : none;
font-weight : normal;
height : 16px;
}
.nomSiteInput1 {
background-color : #FEFFE8;
color : #000000;
text-shadow : none;
text-decoration : none;
border-style : none;
width : 165px;
height : 16px;
padding : 0px;
margin : 0px;
}
.nomSiteInput2 {
background-color : #F2FEFF;
color : #000000;
text-shadow : none;
text-decoration : none;
border-style : none;
width : 165px;
height : 16px;
padding : 0px;
margin : 0px;
}
.nomDateInput1 {
background-color : #FEFFE8;
color : #000000;
text-align : right;
text-shadow : none;
text-decoration : none;
border-style : none;
width : 70px;
height : 16px;
padding : 0px;
margin : 0px;
}
.nomDateInput2 {
background-color : #F2FEFF;
color : #000000;
text-align : right;
text-shadow : none;
text-decoration : none;
border-style : none;
width : 70px;
height : 16px;
padding : 0px;
margin : 0px;
}
.nomTable {
border : 1px solid;
}
.nomTH {
background-color : #F21C0A;
text-align : center;
width : 200px;
font-weight : normal;
border-style : none;
height : 16px;
}
.nomTR1 {
background-color : #FEFFE8;
text-align : right;
border-style : none;
}
.nomTR2 {
background-color : #F2FEFF;
text-align : right;
border-style : none;
}
.nomInput1 {
background-color : #FEFFE8;
width : 200px;
text-align : right;
border-style : none;
height : 16px;
padding : 0px;
margin : 0px;
}
.nomInput2 {
background-color : #F2FEFF;
width : 200px;
text-align : right;
border-style : none;
height : 16px;
padding : 0px;
margin : 0px;
}
');
END nominations_css;
PROCEDURE startup2 IS
BEGIN
--
-- htp.p(' <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"');
-- htp.p(' "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');
htp.p(' <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">');
--
wsgl.openpagehead(g_title);
wsgl.metatag;
htp.p('<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><LINK REL=stylesheet HREF="caco_system.css?p_type=content" >');
htp.p(' <link rel="stylesheet" media="all" type="text/css" href="'||g_package_name||'.nominations_css" />');
--
caco_system.clock_js;
--
wsgl.closepagehead;
wsgl.openpagebody(FALSE);
htp.p(caco_system.menu);
--
htp.p('
<div style="margin:15px;">
<div>
<h2>Enter Nomination</h2>
<table>
<tr>
<td><b>Contract Number </b></td>
<td style="border: 1px solid;">
0123456789 ABC/DEF1
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td><b>Gas Day (from)</b></td>
<td style="border: 1px solid;">01/01/2007</td>
<td><input type="button" value="Date" /></td>
<td><b>Gas Day (to)&nbsp;</b></td>
<td style="border: 1px solid;">03/01/2007</td>
<td><input type="button" value="Date" /></td>
<td><input type="button" value="Generate Nom" /></td>
</tr>
</table>
<p />
<table>
<tr style="text-align:center;">
<td><input style="font-weight:bold;" type="button" value="Submit Nomination" /></td>
<td><input type="button" value="Reset Values" /></td>
<td><input type="button" value="Import Spreadsheet" /></td>
<td><input type="button" value="Copy Previous Nom" /></td>
</tr>
</table>
</div>
<p style="text-decoration:underline;"><b>Nomination Values</b></p>
<div id="siteListDiv" style="width: 250px; float: left;">
<table class="nomSiteTable">
<tr>
<th class="nomSiteTH">Network Point</th>
<th class="nomSiteTH">Gas Day</th>
</tr>
<tr class="nomTR1" id="site01_1">
<td>
<input disabled class="nomSiteInput1" type="text" value="Fadd 1+2" />
</td>
<td>
<input disabled class="nomDateInput1" type="text" value="01/01/2007" />
</td>
</tr>
<tr class="nomTR2" id="site01_2">
<td>
<input disabled class="nomSiteInput2" type="text" value="Fadd 1+2" />
</td>
<td>
<input disabled class="nomDateInput2" type="text" value="02/01/2007" />
</td>
</tr>
<tr class="nomTR1" id="site01_3">
<td>
<input disabled class="nomSiteInput1" type="text" value="Fadd 1+2" />
</td>
<td>
<input disabled class="nomDateInput1" type="text" value="03/01/2007" />
</td>
</tr>
<tr class="nomTR2" id="site02_1">
<td>
<input disabled class="nomSiteInput2" type="text" value="Batmonostor 1+2" />
</td>
<td>
<input disabled class="nomDateInput2" type="text" value="01/01/2007" />
</td>
</tr>
<tr class="nomTR1" id="site02_2">
<td>
<input disabled class="nomSiteInput1" type="text" value="Batmonostor 1+2" />
</td>
<td>
<input disabled class="nomDateInput1" type="text" value="02/01/2007" />
</td>
</tr>
<tr class="nomTR2" id="site02_3">
<td>
<input disabled class="nomSiteInput2" type="text" value="Batmonostor 1+2" />
</td>
<td>
<input disabled class="nomDateInput2" type="text" value="03/01/2007" />
</td>
</tr>
<tr class="nomTR1" id="site04_1">
<td>
<input disabled class="nomSiteInput1" type="text" value="Site 04" />
</td>
<td>
<input disabled class="nomDateInput1" type="text" value="01/01/2007" />
</td>
</tr>
<tr class="nomTR2" id="site04_2">
<td>
<input disabled class="nomSiteInput2" type="text" value="Site 04" />
</td>
<td>
<input disabled class="nomDateInput2" type="text" value="02/01/2007" />
</td>
</tr>
<tr class="nomTR1" id="site04_3">
<td>
<input disabled class="nomSiteInput1" type="text" value="Site 04" />
</td>
<td>
<input disabled class="nomDateInput1" type="text" value="03/01/2007" />
</td>
</tr>
<tr class="nomTR2" id="site05_1">
<td>
<input disabled class="nomSiteInput2" type="text" value="Site 05" />
</td>
<td>
<input disabled class="nomDateInput2" type="text" value="01/01/2007" />
</td>
</tr>
<tr class="nomTR1" id="site05_2">
<td>
<input disabled class="nomSiteInput1" type="text" value="Site 05" />
</td>
<td>
<input disabled class="nomDateInput1" type="text" value="02/01/2007" />
</td>
</tr>
<tr class="nomTR2" id="site05_3">
<td>
<input disabled class="nomSiteInput2" type="text" value="Site 05" />
</td>
<td>
<input disabled class="nomDateInput2" type="text" value="03/01/2007" />
</td>
</tr>
<tr class="nomTR1" id="site06_1">
<td>
<input disabled class="nomSiteInput1" type="text" value="Site 06" />
</td>
<td>
<input disabled class="nomDateInput1" type="text" value="01/01/2007" />
</td>
</tr>
<tr class="nomTR2" id="site06_2">
<td>
<input disabled class="nomSiteInput2" type="text" value="Site 06" />
</td>
<td>
<input disabled class="nomDateInput2" type="text" value="02/01/2007" />
</td>
</tr>
<tr class="nomTR1" id="site06_3">
<td>
<input disabled class="nomSiteInput1" type="text" value="Site 06" />
</td>
<td>
<input disabled class="nomDateInput1" type="text" value="03/01/2007" />
</td>
</tr>
</table>
</div>
<div id="nppvDiv" style="width: 560px; overflow-x: scroll; overflow-y:hidden;">
<form name="npp_Values">
<table class="nomTable">
<tr>
<th class="nomTH">category01.DMax</th>
<th class="nomTH">category02.DMax</th>
<th class="nomTH">category03.DMax.randomtexttoshowextensionofcell</th>
<th class="nomTH">category04.DMax</th>
<th class="nomTH">category05.DMax</th>
<th class="nomTH">category06.DMax</th>
</tr>
<tr class="nomTR1" id="site01_1">
<td>
<input class="nomInput1" id="site01category01_1" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site01category02_1" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site01category03_1" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site01category04_1" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site01category05_1" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site01category06_1" type="text" value="0.0" />
</td>
</tr>
<tr class="nomTR2" id="site01_2">
<td>
<input class="nomInput2" id="site01category01_2" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site01category02_2" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site01category03_2" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site01category04_2" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site01category05_2" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site01category06_2" type="text" value="0.0" />
</td>
</tr>
<tr class="nomTR1" id="site01_3">
<td>
<input class="nomInput1" id="site01category01_3" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site01category02_3" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site01category03_3" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site01category04_3" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site01category05_3" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site01category06_3" type="text" value="0.0" />
</td>
</tr>
<tr class="nomTR2" id="site02_1">
<td>
<input class="nomInput2" id="site02category01_1" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site02category02_1" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site02category03_1" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site02category04_1" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site02category05_1" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site02category06_1" type="text" value="0.0" />
</td>
</tr>
<tr class="nomTR1" id="site02_2">
<td>
<input class="nomInput1" id="site02category01_2" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site02category02_2" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site02category03_2" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site02category04_2" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site02category05_2" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site02category06_2" type="text" value="0.0" />
</td>
</tr>
<tr class="nomTR2" id="site02_3">
<td>
<input class="nomInput2" id="site02category01_3" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site02category02_3" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site02category03_3" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site02category04_3" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site02category05_3" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site02category06_3" type="text" value="0.0" />
</td>
</tr>
<tr class="nomTR1" id="site04_1">
<td>
<input class="nomInput1" id="site04category01_1" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site04category02_1" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site04category03_1" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site04category04_1" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site04category05_1" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site04category06_1" type="text" value="0.0" />
</td>
</tr>
<tr class="nomTR2" id="site04_2">
<td>
<input class="nomInput2" id="site04category01_2" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site04category02_2" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site04category03_2" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site04category04_2" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site04category05_2" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site04category06_2" type="text" value="0.0" />
</td>
</tr>
<tr class="nomTR1" id="site04_3">
<td>
<input class="nomInput1" id="site04category01_3" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site04category02_3" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site04category03_3" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site04category04_3" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site04category05_3" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site04category06_3" type="text" value="0.0" />
</td>
</tr>
<tr class="nomTR2" id="site05_1">
<td>
<input class="nomInput2" id="site05category01_1" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site05category02_1" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site05category03_1" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site05category04_1" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site05category05_1" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site05category06_1" type="text" value="0.0" />
</td>
</tr>
<tr class="nomTR1" id="site05_2">
<td>
<input class="nomInput1" id="site05category01_2" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site05category02_2" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site05category03_2" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site05category04_2" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site05category05_2" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site05category06_2" type="text" value="0.0" />
</td>
</tr>
<tr class="nomTR2" id="site05_3">
<td>
<input class="nomInput2" id="site05category01_3" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site05category02_3" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site05category03_3" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site05category04_3" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site05category05_3" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site05category06_3" type="text" value="0.0" />
</td>
</tr>
<tr class="nomTR1" id="site06_1">
<td>
<input class="nomInput1" id="site06category01_1" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site06category02_1" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site06category03_1" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site06category04_1" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site06category05_1" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site06category06_1" type="text" value="0.0" />
</td>
</tr>
<tr class="nomTR2" id="site06_2">
<td>
<input class="nomInput2" id="site06category01_2" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site06category02_2" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site06category03_2" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site06category04_2" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site06category05_2" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site06category06_2" type="text" value="0.0" />
</td>
</tr>
<tr class="nomTR1" id="site06_3">
<td>
<input class="nomInput1" id="site06category01_3" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site06category02_3" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site06category03_3" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site06category04_3" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site06category05_3" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site06category06_3" type="text" value="0.0" />
</td>
</tr>
</table>
</form>
</div>
</div>
</body>
</html>
');
END startup2;
PROCEDURE startup3 IS
BEGIN
--
-- htp.p(' <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"');
-- htp.p(' "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');
htp.p(' <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">');
--
wsgl.openpagehead(g_title);
wsgl.metatag;
htp.p('<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><LINK REL=stylesheet HREF="caco_system.css?p_type=content" >');
htp.p(' <link rel="stylesheet" media="all" type="text/css" href="'||g_package_name||'.nominations_css" />');
caco_system.clock_js;
wsgl.closepagehead;
wsgl.openpagebody(FALSE);
htp.p(caco_system.menu);
--
htp.p('
<div style="margin:15px;">
<div>
<h2>Enter Nomination</h2>
<table>
<tr>
<td><b>Contract Number </b></td>
<td style="border: 1px solid;">
0123456789 ABC/DEF1
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td><b>Gas Day</b></td>
<td style="border: 1px solid;">dd/mm/yyyy</td>
<td><input type="button" value="Date Lookup" /></td>
</tr>
</table>
<p />
<table>
<tr style="text-align:center;">
<td><input style="font-weight:bold;" type="button" value="Submit Nomination" /></td>
<td><input type="button" value="Reset Values" /></td>
<td><input type="button" value="Import Spreadsheet" /></td>
<td><input type="button" value="Copy Previous Nom" /></td>
</tr>
</table>
</div>
<p style="text-decoration:underline;"><b>Nomination Values</b></p>
<div id="siteListDiv" style="width: 170px; float: left;">
<table class="nomSiteTable">
<tr>
<th class="nomSiteTH">Network Point</th>
</tr>
<tr class="nomTR1" id="site01">
<td>
<input disabled class="nomSiteInput1" type="text" value="Fadd 1+2" />
</td>
</tr>
<tr class="nomTR2" id="site02">
<td>
<input disabled class="nomSiteInput2" type="text" value="Batmonostor 1+2" />
</td>
</tr>
<tr class="nomTR1" id="site04">
<td>
<input disabled class="nomSiteInput1" type="text" value="Site 04" />
</td>
</tr>
<tr class="nomTR2" id="site05">
<td>
<input disabled class="nomSiteInput2" type="text" value="Site 05" />
</td>
</tr>
<tr class="nomTR1" id="site06">
<td>
<input disabled class="nomSiteInput1" type="text" value="Site 06" />
</td>
</tr>
</table>
</div>
<div id="nppvDiv" style="width: 640px; overflow-x: scroll; overflow-y:hidden;">
<form name="npp_Values">
<table class="nomTable">
<tr>
<th class="nomTH">category01.DMax</th>
<th class="nomTH">category02.DMax</th>
<th class="nomTH">category03.DMax.randomtexttoshowextensionofcell</th>
<th class="nomTH">category04.DMax</th>
<th class="nomTH">category05.DMax</th>
<th class="nomTH">category06.DMax</th>
</tr>
<tr class="nomTR1" id="site01">
<td>
<input class="nomInput1" id="site01category01" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site01category02" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site01category03" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site01category04" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site01category05" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site01category06" type="text" value="0.0" />
</td>
</tr>
<tr class="nomTR2" id="site02">
<td>
<input class="nomInput2" id="site02category01" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site02category02" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site02category03" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site02category04" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site02category05" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site02category06" type="text" value="0.0" />
</td>
</tr>
<tr class="nomTR1" id="site04">
<td>
<input class="nomInput1" id="site04category01" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site04category02" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site04category03" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site04category04" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site04category05" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site04category06" type="text" value="0.0" />
</td>
</tr>
<tr class="nomTR2" id="site05">
<td>
<input class="nomInput2" id="site05category01" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site05category02" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site05category03" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site05category04" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site05category05" type="text" value="0.0" />
</td>
<td>
<input class="nomInput2" id="site05category06" type="text" value="0.0" />
</td>
</tr>
<tr class="nomTR1" id="site06">
<td>
<input class="nomInput1" id="site06category01" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site06category02" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site06category03" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site06category04" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site06category05" type="text" value="0.0" />
</td>
<td>
<input class="nomInput1" id="site06category06" type="text" value="0.0" />
</td>
</tr>
</table>
</form>
</div>
</div>
</body>
</html>
');
--
END startup3;
BEGIN
-- Initialization
NULL;
END EFNOW094$;
/