Subversion Repositories DevTools

Rev

Rev 6579 | Rev 7225 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<%@LANGUAGE="VBSCRIPT"%>
<%
'=====================================================
'|                                                   |
'|                  ADMIN Page                       |
'|  admin_gbe_buildstandard.asp
'|                                                   |
'=====================================================
%>
<%
Option explicit
' Good idea to set when using redirect
Response.Expires = 0    ' always load the page, dont store
%>
<!--#include file="common/conf.asp"-->
<!--#include file="common/globals.asp"-->
<!--#include file="common/formating.asp"-->
<!--#include file="common/qstr.asp"-->
<!--#include file="common/common_subs.asp"-->
<!--#include file="sec/Crypt.asp"-->
<!--#include file="common/_form_window_common.asp"-->
<!--#include file="_action_buttons.asp"-->

<!--#include file="class/classActionButtonControl.asp"-->

<%
'------------ ACCESS CONTROL ------------------
%>
<!--#include file="_access_control_login_optional.asp"-->
<!--#include file="_access_control_general.asp"-->
<%
'------------ Variable Definition -------------
Dim objBtnControl
Dim bCanEdit
'------------ Constants Declaration -----------
'------------ Variable Init -------------------
Set objBtnControl = New ActionButtonControl
bCanEdit = canActionControl("ConfigureBuildService") 
'----------------------------------------------
%>
<html>
<head>
<title>GBE Build Standard Addendum</title>
<link rel="shortcut icon" href="<%=FavIcon%>"/>
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="images/release_manager_style.css?ver=<%=VixVerNum%>" type="text/css">
<link rel="stylesheet" href="images/navigation.css?ver=<%=VixVerNum%>" type="text/css">
<script language="JavaScript" src="images/common.js?ver=<%=VixVerNum%>"></script>
<!--#include file="_jquery_includes.asp"-->
<!-- DROPDOWN MENUS -->
<!--#include file="_menu_def.asp"-->
<script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
<!-- HEADER -->
<!--#include file="_header.asp"-->
  <div class="div_table">
        <table border="0" cellspacing="1" cellpadding="2" class="stdBrown center_table">
            <caption>Build Standards</caption>
            <thead>
            <tr>
            <!-- BSA DETAILS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
            <th>Id</th>
            <th>Build Standard</th>
            <th>Sub Type</th>
            <th>Edit</th>
            </tr>
            </thead>

      <%
      ' Load some action buttons
      Call objBtnControl.LoadActionButtons ( Array("btnEditGBE_BuildStandard", "btnDeleteGBE_BuildStandard"), OraDatabase )
      objBtnControl.ButtonSpacer = 1

      If NOT bCanEdit Then
        Call objBtnControl.Active  ( "btnEditGBE_BuildStandard", "N" )
        Call objBtnControl.Active  ( "btnDeleteGBE_BuildStandard", "N" )
      End If

      
      Dim bsa_id,rsQry ,GBE_VALUE

      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 )
      While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
          bsa_id = rsQry("bsa_id")
          GBE_VALUE = rsQry("bs_name") & " - " & rsQry("bsa_name")
          %>
          <tr>  
            <td nowrap><%=bsa_id%></td>
            <td nowrap><%=rsQry("bs_name")%></td>
            <td nowrap><%=rsQry("bsa_name")%></td>
            <td nowrap><%Call objBtnControl.Render( Array("btnEditGBE_BuildStandard", "btnDeleteGBE_BuildStandard"), objAccessControl )%></td>
          </tr> 
          <%
          rsQry.MoveNext()
      Wend
      rsQry.Close()
      Set rsQry = nothing
      %>
    
    <tr>
        <td colspan=3></td>
        <td><%Call Action_Buttons_State("Add GBE_BUILDSTANDARD", bCanEdit)%></td>
    </tr>

</table>
    </div>
<!-- FOOTER -->
<!--#include file="_footer.asp"-->
</body>
</html>