Rev 6770 | Rev 7225 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<%@LANGUAGE="VBSCRIPT"%><%'=====================================================' admin_build_machine.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="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 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_MACHINE"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 Machines</caption><thead><tr><!-- BUILD_MACHINE DETAILS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --><th></th><th>DISPLAY NAME</th><th>MACHINE HOSTNAME</th><th>GBE_MACHTYPE</th><th>ALLOW USE</th><th width=250>DESCRIPTION</th><th>Edit</th></tr></thead><%' Load some action buttonsCall objBtnControl.LoadActionButtons ( Array("btnEditBuildMachine", "btnDeleteBuildMachine"), OraDatabase )objBtnControl.ButtonSpacer = 1If NOT bCanEdit ThenCall objBtnControl.Active ( "btnEditBuildMachine", "N" )Call objBtnControl.Active ( "btnDeleteBuildMachine", "N" )End IfDim rsQryDim gbe_id, gbe_valueDim bmcon_idDim display_nameDim machine_hostname, description, active, activeCheckedSet rsQry = OraDatabase.DbCreateDynaset( "SELECT bm.bmcon_id, bm.display_name,bm.machine_hostname, bm.description, bm.gbe_id, bm.active, gb.gbe_value FROM BUILD_MACHINE_CONFIG bm, GBE_MACHTYPE gb WHERE bm.gbe_id = gb.gbe_id ORDER BY bm.display_name", ORADYN_DEFAULT )While (NOT rsQry.BOF) AND (NOT rsQry.EOF)bmcon_id = rsQry("bmcon_id")display_name = rsQry("display_name")machine_hostname = rsQry("machine_hostname")active = rsQry("active")If active = "Y" Then activeChecked = "checked" Else activeChecked = ""description = rsQry("description")gbe_id = rsQry("gbe_id")gbe_value = rsQry("gbe_value")%><tr style="vertical-align:top;" ><td></td><td nowrap><%=display_name%></td><td nowrap><%=machine_hostname%></td><td nowrap><%=gbe_value%></td><td nowrap><input type="checkbox" disabled <%=activeChecked%> ></td><td wrap><%=description%></td><td nowrap><%Call objBtnControl.Render( Array("btnEditBuildMachine", "btnDeleteBuildMachine"), objAccessControl )%></td></tr><%rsQry.MoveNext()WendrsQry.Close()Set rsQry = nothing%><tr><td colspan=5></td><td align=right nowrap colspan=2><%Call Action_Buttons_State("Add Build Machine", bCanEdit)%></tr></table><%=objPMod.ComposeHiddenTags()%><input type="hidden" name="action" value="true"><%Call objFormComponent.FormEnd()%></table></div><!-- FOOTER --><!--#include file="_footer.asp"--></body></html>