Rev 7235 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<%@LANGUAGE="VBSCRIPT"%><%'=====================================================' admin_build_platforms.asp'=====================================================%><%Option explicit' Good idea to set when using redirectResponse.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="common/_form_window_common.asp"--><!--#include file="class/classActionButtonControl.asp"--><%'------------ ACCESS CONTROL ------------------%><!--#include file="_access_control_login_optional.asp"--><!--#include file="_access_control_general.asp"--><%'------------ Variable Definition -------------Dim objBtnControlDim bCanEdit'------------ Constants Declaration -----------'------------ Variable Init -------------------Set objBtnControl = New ActionButtonControlbCanEdit = canActionControl("ConfigureBuildService")'----------------------------------------------%><html><head><title>Build Machine Administration</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"--><%'-- FROM START ---------------------------------------------------------------------------------------------------------objFormComponent.FormName = "BUILD_PLATFORMS"objFormComponent.Action = ScriptNameobjFormComponent.OnSubmit = "ShowProgress();"Call objFormComponent.FormStart()%><div class="div_table"><table border="0" cellspacing="0" cellpadding="0" class="center_table"><tr><td><table width="100%" border="0" cellspacing="1" cellpadding="2" class=stdBrown><caption>Current List of Build Platforms</caption><thead><tr><!-- BUILD_MACHINE DETAILS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --><th>PLATFORM NAME</th><th>ALLOW USE</th><th width=250>DESCRIPTION</th><th>Edit</th></tr></thead><%' Load some action buttonsCall objBtnControl.LoadActionButtons ( Array("btnEditBuildPlatforms", "btnDeleteBuildPlatforms"), OraDatabase )objBtnControl.ButtonSpacer = 1If NOT bCanEdit ThenCall objBtnControl.Active ( "btnEditBuildPlatforms", "N" )Call objBtnControl.Active ( "btnDeleteBuildPlatforms", "N" )End IfDim rsQryDim bp_idDim bp_nameDim description, active, activeCheckedSet rsQry = OraDatabase.DbCreateDynaset( "SELECT bp_id, bp_name, bp_active, bp_description FROM BUILD_PLATFORMS bp ORDER BY UPPER(bp.bp_name)", ORADYN_DEFAULT )While (NOT rsQry.BOF) AND (NOT rsQry.EOF)bp_id = rsQry("bp_id")bp_name = rsQry("bp_name")active = rsQry("bp_active")If active = "Y" Then activeChecked = "checked" Else activeChecked = ""description = rsQry("bp_description")%><tr style="vertical-align:top;" ><td nowrap><%=bp_name%></td><td nowrap><input type="checkbox" disabled <%=activeChecked%> ></td><td wrap><%=description%></td><td nowrap class=tight><%Call objBtnControl.Render( Array("btnEditBuildPlatforms", "btnDeleteBuildPlatforms"), objAccessControl )%></td></tr><%rsQry.MoveNext()WendrsQry.Close()Set rsQry = nothing%><tr><td align=right nowrap colspan=4 class=tight><% BuildEditButtonRaw bCanEdit, "Add Build Platform", "Insert New Build Platform",TRUE, _"src='icons/btn_add.gif' width='13' height='13' align='absmiddle' border='0' hspace='3'", _"MM_openVixIFrame('wAddBuildPlatform.asp','Add Build Platform')"%></tr></table><%=objPMod.ComposeHiddenTags()%><input type="hidden" name="action" value="true"><%Call objFormComponent.FormEnd()%></table></div><!-- FOOTER --><!--#include file="_footer.asp"--></body></html>