Subversion Repositories DevTools

Rev

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