Addressed remaining parts of #511 (Cosmetic Changes):

- Removed 'I&C...' banner
 - Added help text to username and password on login page (page 101)
 - Set the 'login' menu item as current for login page
 - Aligned the login, new password and forgotten password buttons under the username and password

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4935 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
hardya
2008-05-01 15:56:23 +00:00
parent 1997cb63a4
commit f41e9a1173
2 changed files with 189 additions and 102 deletions

View File

@@ -148,8 +148,6 @@ c1:=c1||'>'||chr(10)||
' </div>'||chr(10)||
''||chr(10)||
' <div id="rowSiteNav">'||chr(10)||
' <p>I &amp; C Online Quotation System'||chr(10)||
' &SYSTEM_ENVIRONMENT.</p>'||chr(10)||
' </div>';
c2:=c2||'<div id="rowFooter"><!-- bottom strip of info -->'||chr(10)||
@@ -279,7 +277,9 @@ c3:=c3||'<table summary="" cellpadding="0" width="100%" cellspacing="0" border="
'<td width="100%" valign="top"><div class="t4messages">#SUCCESS_MESSAGE##NOTIFICATION_MESSAGE#</div>#BOX_BODY##REGION_POSITION_01##REGION_POSITION_02##REGION_POSITION_04##REGION_POSITION_05##REGION_POSITION_06##REGION_POSITION_07##REGION_POSITION_08#</td>'||chr(10)||
'<td valign="top">#REGION_POSITION_03#<br /></td>'||chr(10)||
'</tr>'||chr(10)||
'</table>';
'</tab';
c3:=c3||'le>';
wwv_flow_api.create_template(
p_id=> 28032741339354418 + wwv_flow_api.g_id_offset,
@@ -310,7 +310,6 @@ wwv_flow_api.create_template(
p_region_table_cattributes=> ' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"',
p_theme_id => wwv_flow.g_flow_theme_id,
p_theme_class_id => 4,
p_translate_this_template => 'N',
p_template_comment => '');
end;
@@ -351,9 +350,9 @@ c3:=c3||'<table summary="" cellpadding="0" width="100%" cellspacing="0" border="
'<table summary="" cellpadding="0" width="100%" cellspacing="0" border="0">'||chr(10)||
'<tr>'||chr(10)||
'<td width="100%" valign="top">'||chr(10)||
'<div style="border:1px solid black;">#SUCCESS_MESSAG';
'<div style="border:1px solid black;">#SUCCE';
c3:=c3||'E##NOTIFICATION_MESSAGE#</div>'||chr(10)||
c3:=c3||'SS_MESSAGE##NOTIFICATION_MESSAGE#</div>'||chr(10)||
'#BOX_BODY##REGION_POSITION_04#</td>'||chr(10)||
'<td valign="top">#REGION_POSITION_03#<br /></td>'||chr(10)||
'</tr>'||chr(10)||
@@ -391,7 +390,6 @@ wwv_flow_api.create_template(
p_region_table_cattributes=> ' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"',
p_theme_id => wwv_flow.g_flow_theme_id,
p_theme_class_id => 5,
p_translate_this_template => 'N',
p_template_comment => '3');
end;
@@ -435,7 +433,6 @@ c1:=c1||' out of the system" accesskey="2">Logout</a>&nbsp;|&nbsp;<!--a href="/g
'</div>'||chr(10)||
'</div>'||chr(10)||
'<div id="rowSiteNav">'||chr(10)||
'<p>I &amp; C Online Quotation System &SYSTEM_ENVIRONMENT.</p> '||chr(10)||
'</div>'||chr(10)||
''||chr(10)||
'<script type="text/javascript">'||chr(10)||
@@ -443,12 +440,12 @@ c1:=c1||' out of the system" accesskey="2">Logout</a>&nbsp;|&nbsp;<!--a href="/g
'function MyErrorPage(p_err_item,p_err_process)'||chr(10)||
'{'||chr(10)||
''||chr(10)||
' var vElementList = nul';
c1:=c1||'l;'||chr(10)||
' var vElementList = null;'||chr(10)||
' var vElement = null;'||chr(10)||
' var vErrorStack = null;'||chr(10)||
' var vOraErrorStack = null;'||chr(10)||
' var v';
c1:=c1||'OraErrorStack = null;'||chr(10)||
' var vOraError = null;'||chr(10)||
' var vOraCode = null;'||chr(10)||
' var vAjaxRequest = null;'||chr(10)||
@@ -462,13 +459,13 @@ c1:=c1||'l;'||chr(10)||
' return;'||chr(10)||
''||chr(10)||
' vElementList = window.document.getElementsByTagName("div");'||chr(10)||
' for (i=0; i < vElementList.len';
c1:=c1||'gth; i++)'||chr(10)||
' for (i=0; i < vElementList.length; i++)'||chr(10)||
' {'||chr(10)||
' vElement = vElementList[i];'||chr(10)||
' '||chr(10)||
' if (vElement.className == "ErrorPageMessage")'||chr(10)||
' if (vElement.';
c1:=c1||'className == "ErrorPageMessage")'||chr(10)||
' {'||chr(10)||
' vErrorStack = (vErrorStack ==null?"":vErrorStack)+vElement.innerHTML;'||chr(10)||
' vOraErrorStack = vErrorStack.split("ORA-");'||chr(10)||
@@ -476,9 +473,9 @@ c1:=c1||'gth; i++)'||chr(10)||
' vElement.innerHTML = ''''; '||chr(10)||
' for(var j=1; j < vOraErrorStack.length; j++) {'||chr(10)||
' vOraError = vOraErrorStack[j];'||chr(10)||
' ';
' vAjaxRequest = new htmldb_Get(null,&APP_ID.,''APPLICATION_PROCESS';
c1:=c1||'vAjaxRequest = new htmldb_Get(null,&APP_ID.,''APPLICATION_PROCESS=''+p_err_process,0);'||chr(10)||
c1:=c1||'=''+p_err_process,0);'||chr(10)||
' vAjaxRequest.add(p_err_item,vOraError);'||chr(10)||
' vAjaxResult = vAjaxRequest.get();'||chr(10)||
' if (vAjaxResult) {'||chr(10)||
@@ -488,20 +485,20 @@ c1:=c1||'vAjaxRequest = new htmldb_Get(null,&APP_ID.,''APPLICATION_PROCESS=''+p_
' }'||chr(10)||
' }'||chr(10)||
' }'||chr(10)||
'if (document.getElementById && document.createElement ';
'if (document.getElementById && document.createElement && vMyMsg.length > 0) {'||chr(10)||
' var divA = document.getElementById(''';
c1:=c1||'&& vMyMsg.length > 0) {'||chr(10)||
' var divA = document.getElementById(''ErrorOutputDiv'');'||chr(10)||
c1:=c1||'ErrorOutputDiv'');'||chr(10)||
' var oH = document.createElement(''h1'');'||chr(10)||
' oH.appendChild(document.createTextNode(''Validation failed because:''));'||chr(10)||
' var oP = document.createElement(''p'');'||chr(10)||
' oP.id = ''FriendlyError'';'||chr(10)||
' oP.appendChild(document.createTextNode(vMyMsg));'||chr(10)||
' // Insert the heading as the first child of the element'||chr(10)||
' divA.insertB';
' divA.insertBefore(oP, divA.firstChild);'||chr(10)||
' divA.insertBefore(oH, divA.first';
c1:=c1||'efore(oP, divA.firstChild);'||chr(10)||
' divA.insertBefore(oH, divA.firstChild);'||chr(10)||
c1:=c1||'Child);'||chr(10)||
' }'||chr(10)||
' }'||chr(10)||
' }'||chr(10)||
@@ -715,9 +712,9 @@ t:=t||'<h1 class="regionheader">#TITLE#<a name="#REGION_STATIC_ID#"> </a></h1>'|
'</tr>'||chr(10)||
'-->'||chr(10)||
'<tr>'||chr(10)||
'<td class="t4RegionBody">#BODY#';
'<td class="t4RegionBody">#BODY#<img alt=';
t:=t||'<img alt="" src="#IMAGE_PREFIX#themes/theme_4/1px_trans.gif" style="display:block;" width="600" height="1" /></td>'||chr(10)||
t:=t||'"" src="#IMAGE_PREFIX#themes/theme_4/1px_trans.gif" style="display:block;" width="600" height="1" /></td>'||chr(10)||
'</tr>'||chr(10)||
'</table>';
@@ -732,6 +729,7 @@ wwv_flow_api.create_plug_template (
p_theme_class_id => 8,
p_plug_heading_bgcolor => '#f7f7e7',
p_plug_font_size => '-1',
p_translate_this_template => 'N',
p_template_comment => '');
end;
null;