Subversion Repositories DevTools

Rev

Rev 5590 | Rev 5983 | 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>
58
<!-- DROPDOWN MENUS -->
59
<!--#include file="_menu_def.asp"-->
60
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
61
</head>
62
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
63
<!-- MENU LAYERS -------------------------------------->
64
<div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)"> 
65
</div>
66
<!-- TIPS LAYERS -------------------------------------->
67
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
68
<!-- HEADER -->
69
<!--#include file="_header.asp"-->
70
 
71
  <%
72
  '-- FROM START ---------------------------------------------------------------------------------------------------------
73
  objFormComponent.FormName = "GBE_BUILDSTANDARD"
5590 dpurdie 74
  objFormComponent.FormClass = "form_tight"
5357 dpurdie 75
  objFormComponent.Action = ScriptName
76
  objFormComponent.OnSubmit = "ShowProgress();"
77
  Call objFormComponent.FormStart()
78
  %>   
79
  <div class="div_table">
80
    <table class="center_table" >
81
      <tr>
82
        <td background="images/bg_bage_0a.gif">
83
            <div align="center" class=" body_col">Build Standards</div>
84
            <table width="100%"  border="0" cellspacing="1" cellpadding="2">
85
            <tr>
86
            <!-- BSA DETAILS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
87
            <td background="images/bg_bage_0.gif" align="center"></td>
88
            <td align="left" nowrap background="images/bg_table_col.gif" class="body_col">Id</td>
89
            <td align="left" nowrap background="images/bg_table_col.gif" class="body_col">Build Standard</td>
90
            <td align="left" nowrap background="images/bg_table_col.gif" class="body_col">Sub Type</td>
91
            </tr>
92
 
93
          <%
94
          ' Load some action buttons
95
          Call objBtnControl.LoadActionButtons ( Array("btnEditGBE_BuildStandard", "btnDeleteGBE_BuildStandard"), OraDatabase )
96
          objBtnControl.ButtonSpacer = 1
97
 
98
          Dim bsa_id,rsQry
99
 
100
          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 )
101
          While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
102
              bsa_id = rsQry("bsa_id")
103
              %>
104
              <tr>  
105
                <td background="images/bg_bage_0.gif"></td>
106
                <td bgcolor="#FFFFFF" class="body_row" nowrap><%=bsa_id%></td>
107
                <td bgcolor="#FFFFFF" class="body_row" nowrap><%=rsQry("bs_name")%></td>
108
                <td bgcolor="#FFFFFF" class="body_row" nowrap><%=rsQry("bsa_name")%></td>
109
                <td bgcolor="#FFFFFF" class="body_row" nowrap><%Call objBtnControl.Render( Array("btnEditGBE_BuildStandard", "btnDeleteGBE_BuildStandard"), objAccessControl )%></td>
110
              </tr> 
111
              <%
112
              rsQry.MoveNext()
113
          Wend
114
          rsQry.Close()
115
          Set rsQry = nothing
116
          %>
117
 
118
        <tr>
119
            <td background="images/bg_bage_0.gif"></td>
120
            <td bgcolor="#FFFFFF" class="body_row" nowrap colspan=3></td>
121
            <td bgcolor="#FFFFFF" class="body_row" nowrap><a href=""><%Call Action_Buttons("Add GBE_BUILDSTANDARD")%></a></td>
122
        </tr>
123
 
124
    </table>
125
    <%=objPMod.ComposeHiddenTags()%>
126
    <input type="hidden" name="action" value="true">
127
    <%Call objFormComponent.FormEnd()%>
128
    </table>
129
    </div>
5957 dpurdie 130
<!-- FOOTER -->
131
<!--#include file="_footer.asp"-->
5357 dpurdie 132
</body>
133
</html>