Subversion Repositories DevTools

Rev

Rev 129 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 129 Rev 151
Line 1... Line 1...
1
<%@LANGUAGE="VBSCRIPT"%>
1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
2
<%
3
'=====================================================
3
'=====================================================
4
'|                                                   |
4
'|                                                   |
5
'|                   Edit Project View Details    |
5
'|          Edit/View Build Configuration            |
6
'|                                                   |
6
'|                                                   |
7
'=====================================================
7
'=====================================================
8
%>
8
%>
9
<%
9
<%
10
Option explicit
10
Option explicit
Line 113... Line 113...
113
 
113
 
114
' --- RUN onPostBack ---
114
' --- RUN onPostBack ---
115
If Request("action") <> "" Then
115
If Request("action") <> "" Then
116
   If objForm.IsValidOnPostBack Then
116
   If objForm.IsValidOnPostBack Then
117
 
117
 
-
 
118
      If objAccessControl.IsVisible("ConfigureRelease") Then
118
      Call DeleteDaemon(Request("rcon_id_list"))
119
         Call DeleteDaemon(Request("rcon_id_list"))
-
 
120
      End If
119
 
121
 
120
      If objEH.Finally Then
122
      If objEH.Finally Then
121
         Call OpenInWindow ( "release_config.asp?rtag_id="& parRtagId )
123
         Call OpenInWindow ( "release_config.asp?rtag_id="& parRtagId )
122
      End If
124
      End If
123
 
125
 
Line 127... Line 129...
127
 
129
 
128
'----------------------------------------------
130
'----------------------------------------------
129
%>
131
%>
130
 
132
 
131
<html>
133
<html>
132
<head>
134
   <head>
133
<title>Release Manager</title>
135
      <title>Release Manager</title>
134
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
136
      <meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
135
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
137
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
136
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
138
      <link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
137
<link rel="stylesheet" href="images/navigation.css" type="text/css">
139
      <link rel="stylesheet" href="images/navigation.css" type="text/css">
138
<script language="JavaScript" src="images/common.js"></script>
140
      <script language="JavaScript" src="images/common.js"></script>
139
 
141
 
140
<!-- DROPDOWN MENUS -->
142
      <!-- DROPDOWN MENUS -->
141
 
143
 
142
 
144
 
143
<!--#include file="_menu_def.asp"-->
145
      <!--#include file="_menu_def.asp"-->
144
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
146
      <script language="JavaScript1.2" src="images/popup_menu.js"></script>
145
 
147
 
146
</head>
148
   </head>
147
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
149
   <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
148
<!-- MENU LAYERS -------------------------------------->
150
      <!-- MENU LAYERS -------------------------------------->
149
<div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)">
151
      <div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)">
150
</div>
152
      </div>
151
<!-- TIPS LAYERS -------------------------------------->
153
      <!-- TIPS LAYERS -------------------------------------->
152
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
154
      <div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
153
<!----------------------------------------------------->
155
      <!----------------------------------------------------->
154
<!-- HEADER -->
156
      <!-- HEADER -->
155
<!--#include file="_header.asp"-->
157
      <!--#include file="_header.asp"-->
156
<!-- BODY ---->
158
      <!-- BODY ---->
157
 
159
 
158
<table width="100%" border="0" cellspacing="0" cellpadding="0">
-
 
159
<%
-
 
160
'-- FROM START ---------------------------------------------------------------------------------------------------------
-
 
161
objFormComponent.FormName = "FormName"
-
 
162
objFormComponent.Action = ScriptName
-
 
163
Call objFormComponent.FormStart()
-
 
164
%>
-
 
165
  <tr>
-
 
166
    <td width="1" background="images/bg_home_orange.gif" valign="top">
-
 
167
   </td>
-
 
168
   <td width="100%" rowspan="2" align="center" valign="top" bgcolor="#EEEFEF"><table width="10" border="0" cellspacing="0" cellpadding="0">
-
 
169
      <tr>
-
 
170
        <td width="1%"></td>
-
 
171
        <td width="100%">
-
 
172
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
-
 
173
            <tr>
-
 
174
              <td nowrap class="body_txt">
-
 
175
 
-
 
176
           </td>
-
 
177
 
-
 
178
            </tr>
-
 
179
          </table>
-
 
180
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
-
 
181
            <tr>
-
 
182
              <td nowrap class="form_ttl"><p>&nbsp;</p>
-
 
183
                <p>ADMINISTER BUILD CONFIGURATION </p></td>
-
 
184
              <td align="right" valign="bottom"></td>
-
 
185
            </tr>
-
 
186
        </table></td>
-
 
187
        <td width="1%"></td>
-
 
188
      </tr>
-
 
189
      <tr>
-
 
190
        <td align="left" valign="top" background="images/lbox_bg_blue.gif"><img src="images/lbox_tl_cnr_b.gif" width="13" height="13"></td>
-
 
191
        <td background="images/lbox_bg_blue.gif" class="lbox_ttl_w"><img src="images/h_trsp_dot.gif" width="600" height="15"></td>
-
 
192
        <td align="right" valign="top"  background="images/lbox_bg_blue.gif"><img src="images/lbox_tr_cnr_b.gif" width="13" height="13"></td>
-
 
193
      </tr>
-
 
194
      <tr>
-
 
195
        <td bgcolor="#FFFFFF"><img src="images/h_trsp_dot.gif" width="10" height="100"></td>
-
 
196
        <td bgcolor="#FFFFFF" valign="top">
-
 
197
      <!-- MESSAGE +++++++++++++++++++++++++++++++++++++++++++++++++++ -->
-
 
198
      <!--#include file="messages/_msg_inline.asp"-->
-
 
199
      <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
-
 
200
      <br>
-
 
201
      <!-- BUTTONS CONTROL +++++++++++++++++++ -->
-
 
202
      <%Call Action_Buttons ( "Add Daemon" )
-
 
203
 
-
 
204
       ' Load some action buttons
-
 
205
       Call objBtnControl.LoadActionButtons ( Array("btnEditDaemon", "btnDeleteDaemon"), OraDatabase )
-
 
206
       objBtnControl.ButtonSpacer = 1
-
 
207
 
-
 
208
      %>
-
 
209
 
-
 
210
      <!-- +++++++++++++++++++++++++++++++++++ -->
-
 
211
 
-
 
212
      <table width="100%"  border="0" cellspacing="2" cellpadding="0">
160
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
213
         </td>
-
 
214
         <td width="9%" valign="top"></td>
-
 
215
        </tr>
-
 
216
                <tr>
-
 
217
         <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col"></td>
-
 
218
         <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">DAEMON HOSTNAME</td>
-
 
219
         <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">DAEMON MODE</td>
-
 
220
         <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">GBE_MACHTYPE</td>
-
 
221
         <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">GBE_BUILDFILTER</td>
-
 
222
         <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">ACTION</td>
-
 
223
         <td valign="top">
-
 
224
        </tr>
-
 
225
         <%
161
         <%
226
         query_string = "select * from release_config rc, gbe_machtype gbe "&_
-
 
227
         " where rc.rtag_id = "& parRtagId &" and gbe.gbe_id = rc.gbe_id order by daemon_mode"
162
         '-- FROM START ---------------------------------------------------------------------------------------------------------
228
         Set rsQry = OraDatabase.DbCreateDynaset( query_string, ORADYN_DEFAULT )
-
 
229
 
-
 
230
         Dim daemon_mode, daemon
-
 
231
 
-
 
232
         '--- Render rows ---
-
 
233
          Do While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
-
 
234
         rcon_id = rsQry("rcon_id")
-
 
235
         daemon   =   rsQry("daemon_hostname")
163
         objFormComponent.FormName = "FormName"
236
 
-
 
237
          If rsQry("daemon_mode") = "M" Then
164
         objFormComponent.Action = ScriptName
238
            daemon_mode = "MASTER"
165
         Call objFormComponent.FormStart()
239
          Else
-
 
240
            daemon_mode = "SLAVE"
-
 
241
          End If
-
 
242
 
-
 
243
 
-
 
244
         %>
166
         %>
245
      <tr>
167
         <tr>
-
 
168
            <td width="1" background="images/bg_home_orange.gif" valign="top"></td>
-
 
169
            <td width="100%" rowspan="2" align="center" valign="top" bgcolor="#EEEFEF">
-
 
170
               <table width="10" border="0" cellspacing="0" cellpadding="0">
-
 
171
                  <tr>
-
 
172
                     <td width="1%"></td>
-
 
173
                     <td width="100%">
-
 
174
                        <table width="100%"  border="0" cellspacing="0" cellpadding="0">
-
 
175
                           <tr>
-
 
176
                              <td nowrap class="body_txt"></td>
-
 
177
                           </tr>
-
 
178
                        </table>
-
 
179
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
-
 
180
                           <tr>
-
 
181
                              <td nowrap class="form_ttl">
-
 
182
                                 <p>&nbsp;</p>
-
 
183
                                 <p>
-
 
184
                                    <%If objAccessControl.IsVisible("ConfigureRelease") Then%>
-
 
185
                                       ADMINISTER
-
 
186
                                    <%Else%>
-
 
187
                                       VIEW
-
 
188
                                    <%End If%>
-
 
189
                                    BUILD CONFIGURATION
-
 
190
                                 </p>
-
 
191
                              </td>
-
 
192
                              <td align="right" valign="bottom"></td>
-
 
193
                           </tr>
-
 
194
                        </table>
-
 
195
                     </td>
-
 
196
                     <td width="1%"></td>
-
 
197
                  </tr>
-
 
198
                  <tr>
-
 
199
                     <td align="left" valign="top" background="images/lbox_bg_blue.gif"><img src="images/lbox_tl_cnr_b.gif" width="13" height="13"></td>
-
 
200
                     <td background="images/lbox_bg_blue.gif" class="lbox_ttl_w"><img src="images/h_trsp_dot.gif" width="600" height="15"></td>
-
 
201
                     <td align="right" valign="top"  background="images/lbox_bg_blue.gif"><img src="images/lbox_tr_cnr_b.gif" width="13" height="13"></td>
-
 
202
                  </tr>
-
 
203
                  <tr>
-
 
204
                     <td bgcolor="#FFFFFF"><img src="images/h_trsp_dot.gif" width="10" height="100"></td>
-
 
205
                     <td bgcolor="#FFFFFF" valign="top">
-
 
206
                        <!-- MESSAGE +++++++++++++++++++++++++++++++++++++++++++++++++++ -->
-
 
207
                        <!--#include file="messages/_msg_inline.asp"-->
-
 
208
                        <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
-
 
209
                        <br>
-
 
210
                        <!-- BUTTONS CONTROL +++++++++++++++++++ -->
-
 
211
                        <%
-
 
212
                        If objAccessControl.IsVisible("ConfigureRelease") Then
-
 
213
                           Call Action_Buttons ( "Add Daemon" )
-
 
214
                        End If
-
 
215
 
-
 
216
                        ' Load some action buttons
-
 
217
                        Call objBtnControl.LoadActionButtons ( Array("btnEditDaemon", "btnDeleteDaemon"), OraDatabase )
-
 
218
                        objBtnControl.ButtonSpacer = 1
-
 
219
 
-
 
220
                        %>
-
 
221
 
-
 
222
                        <!-- +++++++++++++++++++++++++++++++++++ -->
-
 
223
 
-
 
224
                        <table width="100%"  border="0" cellspacing="2" cellpadding="0">
-
 
225
                     </td>
-
 
226
                     <td width="9%" valign="top"></td>
-
 
227
                  </tr>
-
 
228
                  <tr>
-
 
229
                     <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col"></td>
-
 
230
                     <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">DAEMON HOSTNAME</td>
-
 
231
                     <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">DAEMON MODE</td>
-
 
232
                     <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">GBE_MACHTYPE</td>
-
 
233
                     <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">GBE_BUILDFILTER</td>
-
 
234
                     <%If objAccessControl.IsVisible("ConfigureRelease") Then%>
-
 
235
                        <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">ACTION</td>
-
 
236
                     <%End If%>
-
 
237
                     <td valign="top">
-
 
238
                  </tr>
-
 
239
                  <%
-
 
240
                  query_string = "select * from release_config rc, gbe_machtype gbe "&_
-
 
241
                  " where rc.rtag_id = "& parRtagId &" and gbe.gbe_id = rc.gbe_id order by daemon_mode"
-
 
242
                  Set rsQry = OraDatabase.DbCreateDynaset( query_string, ORADYN_DEFAULT )
-
 
243
 
-
 
244
                  Dim daemon_mode, daemon
-
 
245
                  Dim cbtype
-
 
246
 
-
 
247
                  cbtype = "hidden"
-
 
248
                  If objAccessControl.IsVisible("ConfigureRelease") Then
-
 
249
                     cbtype = "checkbox"
-
 
250
                  End If
-
 
251
 
-
 
252
                  '--- Render rows ---
-
 
253
                  Do While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
-
 
254
                     rcon_id = rsQry("rcon_id")
-
 
255
                     daemon  = rsQry("daemon_hostname")
-
 
256
 
-
 
257
                     If rsQry("daemon_mode") = "M" Then
-
 
258
                        daemon_mode = "MASTER"
-
 
259
                     Else
-
 
260
                        daemon_mode = "SLAVE"
-
 
261
                     End If
-
 
262
                     %>
-
 
263
                     <tr>
246
        <td colspan="5" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
264
                        <td colspan="5" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
247
      </tr>
265
                     </tr>
248
       <tr>
266
                     <tr>
249
      <%If rsQry("daemon_mode") = "M" AND rsQry.RecordCount <> 1 Then%>
267
                        <%If rsQry("daemon_mode") = "M" AND rsQry.RecordCount <> 1 Then%>
250
       <td align="center"><input type="checkbox" name="rcon_id_list" value="<%=rsQry("rcon_id")%>" disabled></td>
268
                           <td align="center"><input type=<%=cbtype%> name="rcon_id_list" value="<%=rsQry("rcon_id")%>" disabled></td>
251
      <%Else%>
269
                        <%Else%>
252
       <td align="center"><input type="checkbox" name="rcon_id_list" value="<%=rsQry("rcon_id")%>"></td>
270
                           <td align="center"><input type=<%=cbtype%> name="rcon_id_list" value="<%=rsQry("rcon_id")%>"></td>
253
      <%End If%>
271
                        <%End If%>
254
       <td nowrap class="body_rowg"><%=rsQry("daemon_hostname")%></td>
272
                        <td nowrap class="body_rowg"><%=rsQry("daemon_hostname")%></td>
255
       <td nowrap class="body_rowg"><%=daemon_mode%></td>
273
                        <td nowrap class="body_rowg"><%=daemon_mode%></td>
256
       <td nowrap class="body_rowg"><%=rsQry("gbe_value")%></td>
274
                        <td nowrap class="body_rowg"><%=rsQry("gbe_value")%></td>
257
       <td nowrap class="body_rowg"><%=rsQry("gbe_buildfilter")%></td>
275
                        <td nowrap class="body_rowg"><%=rsQry("gbe_buildfilter")%></td>
-
 
276
                        <%If objAccessControl.IsVisible("ConfigureRelease") Then%>
258
       <td nowrap class="body_rowg"><%Call objBtnControl.Render  ( Array("btnEditDaemon", "btnDeleteDaemon"), objAccessControl )%></td>
277
                           <td nowrap class="body_rowg"><%Call objBtnControl.Render  ( Array("btnEditDaemon", "btnDeleteDaemon"), objAccessControl )%></td>
-
 
278
                        <%End If%>
259
       </tr>
279
                     </tr>
260
       <%
280
                     <%
261
          rsQry.MoveNext
281
                     rsQry.MoveNext
262
       Loop
282
                  Loop
263
             rsQry.Close()
283
                  rsQry.Close()
264
            Set rsQry = nothing
284
                  Set rsQry = nothing
265
        %>
285
                  %>
266
 
286
 
-
 
287
                  <tr>
-
 
288
                     <td class="form_iname">&nbsp;</td>
-
 
289
                     <td>&nbsp;</td>
-
 
290
                     <td class="val_err"></td>
-
 
291
                  </tr>
-
 
292
               </table>
267
 
293
 
268
 
294
 
-
 
295
            </td>
-
 
296
            <td background="images/lbox_bgside_white.gif">&nbsp;</td>
-
 
297
         </tr>
269
        <tr>
298
         <tr>
270
          <td class="form_iname">&nbsp;</td>
299
            <td background="images/bg_action_norm.gif" ></td>
-
 
300
            <td align="right" background="images/bg_action_norm.gif" >
-
 
301
 
-
 
302
               <%=objFormComponent.CancelButton ( "OK", "class='form_btn'", "dependencies.asp?rtag_id="& parRtagId )%>
-
 
303
               <%=objPMod.ComposeHiddenTags()%>
-
 
304
               <%If objAccessControl.IsVisible("ConfigureRelease") Then%>
-
 
305
                  <input name="btn" type="submit" class="form_btn" value="Delete">
-
 
306
               <%End If%>
-
 
307
               <input type="hidden" name="rcon_id_list" value="<%=Request("rcon_id_list")%>">
-
 
308
               <input type="hidden" name="action" value="true">
271
          <td>&nbsp;</td>
309
            </td>
-
 
310
            <td background="images/bg_action_norm.gif" ><img src="images/h_trsp_dot.gif" width="5" height="30"></td>
-
 
311
         </tr>
-
 
312
         <tr>
-
 
313
            <td background="images/lbox_bg_blue.gif" valign="bottom"><img src="images/lbox_bl_cnr_b.gif" width="13" height="13"></td>
272
          <td class="val_err"></td>
314
            <td background="images/lbox_bg_blue.gif"></td>
-
 
315
            <td background="images/lbox_bg_blue.gif" valign="bottom" align="right"><img src="images/lbox_br_cnr_b.gif" width="13" height="13"></td>
273
          </tr>
316
         </tr>
274
      </table>
317
      </table>
275
 
318
 
276
 
-
 
277
      </td>
-
 
278
        <td background="images/lbox_bgside_white.gif">&nbsp;</td>
-
 
279
      </tr>
-
 
280
     <tr>
-
 
281
        <td background="images/bg_action_norm.gif" ></td>
-
 
282
        <td align="right" background="images/bg_action_norm.gif" >
-
 
283
 
-
 
284
      <%=objFormComponent.CancelButton ( "OK", "class='form_btn'", "dependencies.asp?rtag_id="& parRtagId )%>
-
 
285
      <%=objPMod.ComposeHiddenTags()%>
-
 
286
      <%If objAccessControl.IsActive("AdminView") Then%>
-
 
287
      <input name="btn" type="submit" class="form_btn" value="Delete">
-
 
288
      <%End If%>
-
 
289
      <input type="hidden" name="rcon_id_list" value="<%=Request("rcon_id_list")%>">
-
 
290
      <input type="hidden" name="action" value="true">
-
 
291
      </td>
-
 
292
        <td background="images/bg_action_norm.gif" ><img src="images/h_trsp_dot.gif" width="5" height="30"></td>
-
 
293
      </tr>
-
 
294
      <tr>
-
 
295
        <td background="images/lbox_bg_blue.gif" valign="bottom"><img src="images/lbox_bl_cnr_b.gif" width="13" height="13"></td>
-
 
296
        <td background="images/lbox_bg_blue.gif"></td>
-
 
297
        <td background="images/lbox_bg_blue.gif" valign="bottom" align="right"><img src="images/lbox_br_cnr_b.gif" width="13" height="13"></td>
-
 
298
      </tr>
-
 
299
    </table>
-
 
300
 
-
 
301
   <!-- ACTION BUTTONS ---------------------------------------------->
319
      <!-- ACTION BUTTONS ---------------------------------------------->
302
   <!-- ACTION BUTTONS END  ------------------------------------------></td>
320
      <!-- ACTION BUTTONS END  ------------------------------------------></td>
303
   <td width="1" valign="top"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
321
      <td width="1" valign="top"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
304
  </tr>
322
  </tr>
305
  <tr>
323
  <tr>
306
    <td valign="bottom" align="center" background="images/bg_home_orange.gif"><img src="images/img_vtree.gif" width="86" height="99" vspace="20" hspace="30"></td>
324
    <td valign="bottom" align="center" background="images/bg_home_orange.gif"><img src="images/img_vtree.gif" width="86" height="99" vspace="20" hspace="30"></td>
307
    <td background="images/bg_lght_gray.gif" valign="top"><img src="images/h_trsp_dot.gif" width="1" height="500"></td>
325
    <td background="images/bg_lght_gray.gif" valign="top"><img src="images/h_trsp_dot.gif" width="1" height="500"></td>
308
  </tr>
326
  </tr>