Subversion Repositories DevTools

Rev

Rev 5957 | Rev 6048 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5357 dpurdie 1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
3
'=====================================================
4
'|                                                   |
5
'|                  ADMIN Page                       |
6
'|  admin_gbe_buildstandard.asp
7
'|                                                   |
8
'=====================================================
9
%>
10
<%
11
Option explicit
12
' Good idea to set when using redirect
13
Response.Expires = 0    ' always load the page, dont store
14
%>
15
<!--#include file="common/conf.asp"-->
16
<!--#include file="common/globals.asp"-->
17
<!--#include file="common/formating.asp"-->
18
<!--#include file="common/qstr.asp"-->
19
<!--#include file="common/common_subs.asp"-->
20
<!--#include file="sec/Crypt.asp"-->
21
<!--#include file="common/_form_window_common.asp"-->
22
<!--#include file="_action_buttons.asp"-->
23
 
24
<!--#include file="class/classActionButtonControl.asp"-->
25
 
26
<%
27
'------------ ACCESS CONTROL ------------------
28
%>
29
<!--#include file="_access_control_general.asp"-->
30
<%
31
'------------ Variable Definition -------------
32
Dim objBtnControl
33
'------------ Constants Declaration -----------
34
'------------ Variable Init -------------------
35
Set objBtnControl = New ActionButtonControl
36
'----------------------------------------------
37
%>
38
 
39
 
40
 
41
<%
42
' Page Access Condition
43
If NOT canActionControl("ConfigureBuildService") Then
5957 dpurdie 44
    Call Destroy_All_Objects
5357 dpurdie 45
    Response.Redirect("message.asp?msg=401-9")
46
End If
47
%>
48
<html>
49
<head>
50
 
51
<title>GBE Build Standard Addendum</title>
52
<link rel="shortcut icon" href="<%=FavIcon%>"/>
53
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
54
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
55
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
56
<link rel="stylesheet" href="images/navigation.css" type="text/css">
57
<script language="JavaScript" src="images/common.js"></script>
5983 dpurdie 58
<!--#include file="_jquery_includes.asp"-->
5357 dpurdie 59
<!-- DROPDOWN MENUS -->
60
<!--#include file="_menu_def.asp"-->
61
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
62
</head>
63
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
64
<!-- MENU LAYERS -------------------------------------->
65
<div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)"> 
66
</div>
67
<!-- TIPS LAYERS -------------------------------------->
68
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
69
<!-- HEADER -->
70
<!--#include file="_header.asp"-->
71
 
72
  <%
73
  '-- FROM START ---------------------------------------------------------------------------------------------------------
74
  objFormComponent.FormName = "GBE_BUILDSTANDARD"
5590 dpurdie 75
  objFormComponent.FormClass = "form_tight"
5357 dpurdie 76
  objFormComponent.Action = ScriptName
77
  objFormComponent.OnSubmit = "ShowProgress();"
78
  Call objFormComponent.FormStart()
79
  %>   
80
  <div class="div_table">
81
    <table class="center_table" >
82
      <tr>
83
        <td background="images/bg_bage_0a.gif">
84
            <div align="center" class=" body_col">Build Standards</div>
85
            <table width="100%"  border="0" cellspacing="1" cellpadding="2">
86
            <tr>
87
            <!-- BSA DETAILS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
88
            <td background="images/bg_bage_0.gif" align="center"></td>
89
            <td align="left" nowrap background="images/bg_table_col.gif" class="body_col">Id</td>
90
            <td align="left" nowrap background="images/bg_table_col.gif" class="body_col">Build Standard</td>
91
            <td align="left" nowrap background="images/bg_table_col.gif" class="body_col">Sub Type</td>
92
            </tr>
93
 
94
          <%
95
          ' Load some action buttons
96
          Call objBtnControl.LoadActionButtons ( Array("btnEditGBE_BuildStandard", "btnDeleteGBE_BuildStandard"), OraDatabase )
97
          objBtnControl.ButtonSpacer = 1
98
 
99
          Dim bsa_id,rsQry
100
 
101
          Set rsQry = OraDatabase.DbCreateDynaset( "SELECT * FROM BUILD_STANDARDS BS, BUILD_STANDARDS_ADDENDUM BSA WHERE BSA.BS_ID=BS.BS_ID(+) ORDER BY BSA.BS_ID, BSA_ID", ORADYN_DEFAULT )
102
          While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
103
              bsa_id = rsQry("bsa_id")
104
              %>
105
              <tr>  
106
                <td background="images/bg_bage_0.gif"></td>
107
                <td bgcolor="#FFFFFF" class="body_row" nowrap><%=bsa_id%></td>
108
                <td bgcolor="#FFFFFF" class="body_row" nowrap><%=rsQry("bs_name")%></td>
109
                <td bgcolor="#FFFFFF" class="body_row" nowrap><%=rsQry("bsa_name")%></td>
110
                <td bgcolor="#FFFFFF" class="body_row" nowrap><%Call objBtnControl.Render( Array("btnEditGBE_BuildStandard", "btnDeleteGBE_BuildStandard"), objAccessControl )%></td>
111
              </tr> 
112
              <%
113
              rsQry.MoveNext()
114
          Wend
115
          rsQry.Close()
116
          Set rsQry = nothing
117
          %>
118
 
119
        <tr>
120
            <td background="images/bg_bage_0.gif"></td>
121
            <td bgcolor="#FFFFFF" class="body_row" nowrap colspan=3></td>
5983 dpurdie 122
            <td bgcolor="#FFFFFF" class="body_row" nowrap><%Call Action_Buttons("Add GBE_BUILDSTANDARD")%></td>
5357 dpurdie 123
        </tr>
124
 
125
    </table>
126
    <%=objPMod.ComposeHiddenTags()%>
127
    <input type="hidden" name="action" value="true">
128
    <%Call objFormComponent.FormEnd()%>
129
    </table>
130
    </div>
5957 dpurdie 131
<!-- FOOTER -->
132
<!--#include file="_footer.asp"-->
5357 dpurdie 133
</body>
134
</html>