Subversion Repositories DevTools

Rev

Rev 5982 | Rev 6267 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5982 Rev 5983
Line 1... Line 1...
1
<%
1
<%
2
'=====================================================
2
'=====================================================
3
'               Action Buttons
3
'               Action Buttons
4
'=====================================================
4
'=====================================================
5
%>
-
 
6
<%Sub Action_Buttons ( SSwithTab )%>
5
Sub Action_Buttons ( SSwithTab )
-
 
6
    Call Action_Buttons_State(SSwithTab, TRUE) 
7
   <%
7
End Sub
-
 
8
 
-
 
9
Sub Action_Buttons_State ( SSwithTab, bState )
8
   Dim isClosed, isSDK
10
   Dim isClosed, isSDK
9
   isClosed = (releaseIsClosed(ReleaseMode))
11
   isClosed = (releaseIsClosed(ReleaseMode))
10
   Select Case SSwithTab%>
12
   Select Case SSwithTab%>
11
   <%Case "Build Dependencies"%>
13
   <%Case "Build Dependencies"%>
12
      <table width="10" border="0" cellspacing="10">
14
      <table width="10" border="0" cellspacing="10">
Line 155... Line 157...
155
      </table>
157
      </table>
156
 
158
 
157
   <%Case "Add GBE_MACHTYPE"%>
159
   <%Case "Add GBE_MACHTYPE"%>
158
      <table width="10" border="0" cellspacing="0">
160
      <table width="10" border="0" cellspacing="0">
159
         <tr>
161
         <tr>
160
            <td align="center" nowrap valign="bottom">
162
            <td align="center" nowrap valign="bottom" class="abtnItem">
-
 
163
            <%If bState Then%>
161
               <a href="javascript:;" onClick="MM_openVixIFrame('wAddMachtype.asp','Add Machine Type')" class="abtnItem">
164
               <a href="javascript:;" onClick="MM_openVixIFrame('wAddMachtype.asp','Add Machine Type')" >
162
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New GBE_MACHTYPE">
165
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New GBE_MACHTYPE">
163
                  Add
166
                  Add
164
               </a>
167
               </a>
-
 
168
            <%Else%>
-
 
169
                 <img src="icons/btn_add_dis.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New GBE_MACHTYPE">
-
 
170
                 Add
-
 
171
            <%End If%>
165
            </td>
172
            </td>
166
         </tr>
173
         </tr>
167
      </table>
174
      </table>
168
 
175
 
169
   <%Case "Add GBE_MACHTYPE disabled"%>
-
 
170
      <table width="10" border="0" cellspacing="0">
-
 
171
         <tr>
-
 
172
            <td align="center" nowrap valign="bottom">
-
 
173
               <span class="abtnItem">
-
 
174
                  <img src="icons/btn_add_dis.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New GBE_MACHTYPE">
-
 
175
                  Add
-
 
176
               </span>
-
 
177
            </td>
-
 
178
         </tr>
-
 
179
      </table>
-
 
180
 
-
 
181
 
-
 
182
   <%Case "Add GBE_BUILDSTANDARD"%>
176
   <%Case "Add GBE_BUILDSTANDARD"%>
183
      <table width="10" border="0" cellspacing="0">
177
      <table width="10" border="0" cellspacing="0">
184
         <tr>
178
         <tr>
185
            <td align="center" nowrap valign="bottom">
179
            <td align="center" nowrap valign="bottom"  class="abtnItem">
-
 
180
            <%If bState Then%>
186
               <a href="javascript:;" onClick="MM_openVixIFrame('wAddBuildStandard.asp','Add Build Standard')" class="abtnItem" title="Insert New Build Standard">
181
               <a href="javascript:;" onClick="MM_openVixIFrame('wAddBuildStandard.asp','Add Build Standard')" title="Insert New Build Standard">
187
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" >
182
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" >
188
                  Add
183
                  Add
189
               </a>
184
               </a>
-
 
185
            <%Else%>
-
 
186
                  <img src="icons/btn_add_dis.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Build Standard">
-
 
187
                  Add
-
 
188
            <%End If%>
190
            </td>
189
            </td>
191
         </tr>
190
         </tr>
192
      </table>
191
      </table>
193
 
192
 
194
 
193
 
195
   <%Case "Add BM_NAME"%>
194
   <%Case "Add BM_NAME"%>
196
      <table width="10" border="0" cellspacing="0">
195
      <table width="10" border="0" cellspacing="0">
197
         <tr>
196
         <tr>
198
            <td align="center" nowrap valign="bottom">
197
            <td align="center" nowrap valign="bottom" class="abtnItem">
-
 
198
            <%If bState Then%>
199
               <a href="javascript:;" onClick="MM_openVixIFrame('wAddMachclass.asp','Add New Class of Build Machine')" class="abtnItem">
199
               <a href="javascript:;" onClick="MM_openVixIFrame('wAddMachclass.asp','Add New Class of Build Machine')">
200
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New BM_NAME">
200
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New BM_NAME">
201
                  Add
201
                  Add
202
               </a>
202
               </a>
-
 
203
            <%Else%>
-
 
204
                 <img src="icons/btn_add_dis.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New BM_NAME">
-
 
205
                 Add
-
 
206
            <%End If%>
203
            </td>
207
            </td>
204
         </tr>
208
         </tr>
205
      </table>
209
      </table>
206
      
-
 
207
 
210
 
208
   <%Case "Add Project Extension"%>
211
   <%Case "Add Project Extension"%>
209
      <table width="10" border="0" cellspacing="0" ID="Table1">
212
      <table width="100%" border="0" cellspacing="0" ID="Table1">
210
         <tr>
213
         <tr>
211
            <td align="center" nowrap valign="bottom">
214
            <td align="right" nowrap valign="bottom" class="abtnItem">
-
 
215
            <%If bState Then%>
212
               <a href="javascript:;" onClick="MM_openVixIFrame('wAddProjectExtension.asp','Add Project Extension')" class="abtnItem">
216
               <a href="javascript:;" onClick="MM_openVixIFrame('wAddProjectExtension.asp','Add Project Extension')" >
213
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Project Extension">
217
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Project Extension">
214
                  Add Project Extension
218
                  Add Project Extension
215
               </a>
219
               </a>
-
 
220
            <%Else%>
-
 
221
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Project Extension">
-
 
222
                  Add Project Extension
-
 
223
            <%End If%>
216
            </td>
224
            </td>
217
         </tr>
225
         </tr>
218
      </table>
226
      </table>
219
 
227
 
220
   <%Case "Add Build Machine"%>
228
   <%Case "Add Build Machine"%>
221
      <table width="10" border="0" cellspacing="0" ID="Table1">
229
      <table width="10" border="0" cellspacing="0" ID="Table1">
222
         <tr>
230
         <tr>
223
            <td align="center" nowrap valign="bottom">
231
            <td align="center" nowrap valign="bottom" class="abtnItem">
-
 
232
            <%If bState Then%>
224
               <a href="javascript:;" onClick="MM_openVixIFrame('wAddBuildMachine.asp','Add Build Machine')" class="abtnItem">
233
               <a href="javascript:;" onClick="MM_openVixIFrame('wAddBuildMachine.asp','Add Build Machine')">
225
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Build Machine">
234
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Build Machine">
226
                  Add Build Machine
235
                  Add Build Machine
227
               </a>
236
               </a>
-
 
237
            <%Else%>
-
 
238
                 <img src="icons/btn_add_dis.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Build Machine">
-
 
239
                  Add Build Machine
-
 
240
            <%End If%>
228
            </td>
241
            </td>
229
         </tr>
242
         </tr>
230
      </table>
243
      </table>
231
      
244
      
232
 
245
 
233
   <%Case "Add Licence"%>
246
   <%Case "Add Licence"%>
234
      <table width="10" border="0" cellspacing="0">
247
      <table width="100%" border="0" cellspacing="0">
235
         <tr>
248
         <tr>
236
            <td align="center" nowrap valign="bottom">
249
            <td align="right" nowrap valign="bottom" class="abtnItem">
-
 
250
            <%If bState Then%>
237
               <a href="javascript:;" onClick="MM_openVixIFrame('wAddLicence.asp','Add Licence')" class="abtnItem">
251
               <a href="javascript:;" onClick="MM_openVixIFrame('wAddLicence.asp','Add Licence')" >
238
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Licence">
252
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Licence">
239
                  Add Licence
253
                  Add Licence
240
               </a>
254
               </a>
-
 
255
            <%Else%>
-
 
256
                  <img src="icons/btn_add_dis.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Licence">
-
 
257
                  Add Licence
-
 
258
            <%End If%>
-
 
259
            </td>
-
 
260
         </tr>
-
 
261
      </table>
-
 
262
 
-
 
263
   <%Case "Add VCS"%>
-
 
264
      <table width="100%" border="0" cellspacing="0">
-
 
265
         <tr>
-
 
266
            <td align="right" nowrap valign="bottom" class="abtnItem">
-
 
267
            <%If bState Then%>
-
 
268
               <a href="javascript:;" onClick="MM_openVixIFrame('wAddVCS.asp','Add New VCS')" >
-
 
269
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New VCS">
-
 
270
                  Add VCS
-
 
271
               </a>
-
 
272
            <%Else%>
-
 
273
                  <img src="icons/btn_add_dis.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New VCS">
-
 
274
                  Add VCS
-
 
275
            <%End If%>
241
            </td>
276
            </td>
242
         </tr>
277
         </tr>
243
      </table>
278
      </table>
244
 
279
 
245
   <%Case "Add Daemon"%>
280
   <%Case "Add Daemon"%>
Line 453... Line 488...
453
                 <img src="icons/tstop.gif" width="16" height="16" border="0" vspace=2 hspace="0" title="Disable Daemons">
488
                 <img src="icons/tstop.gif" width="16" height="16" border="0" vspace=2 hspace="0" title="Disable Daemons">
454
               </a>
489
               </a>
455
            </td>
490
            </td>
456
         </tr>
491
         </tr>
457
      </table>
492
      </table>
-
 
493
 
458
   <%Case "Daemon Control All Disabled"%>
494
   <%Case "Daemon Control All Disabled"%>
459
      <table border="0" cellspacing="0" cellpadding="0">
495
      <table border="0" cellspacing="0" cellpadding="0">
460
         <tr>
496
         <tr>
461
            <td valign=top>
497
            <td valign=top>
462
               <img src=icons/tpaused.gif width="16" height="16" border="0" vspace=2 hspace="5" style="visibility:hidden">
498
               <img src=icons/tpaused.gif width="16" height="16" border="0" vspace=2 hspace="5" style="visibility:hidden">
Line 471... Line 507...
471
               <img src="icons/tstop_dis.gif" width="16" height="16" border="0" vspace=2 hspace="0" title="Disable Daemons">
507
               <img src="icons/tstop_dis.gif" width="16" height="16" border="0" vspace=2 hspace="0" title="Disable Daemons">
472
            </td>
508
            </td>
473
         </tr>
509
         </tr>
474
      </table>
510
      </table>
475
 
511
 
476
   <%Case "Add VCS"%>
-
 
477
      <table width="10" border="0" cellspacing="0">
-
 
478
         <tr>
-
 
479
            <td align="center" nowrap valign="bottom">
-
 
480
               <a href="javascript:;" onClick="MM_openVixIFrame('wAddVCS.asp','Add New VCS')" class="abtnItem">
-
 
481
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New VCS">
-
 
482
                  Add VCS
-
 
483
               </a>
-
 
484
            </td>
-
 
485
         </tr>
-
 
486
      </table>
-
 
487
 
-
 
488
   <%Case "Add Daemon Instruction"%>
512
   <%Case "Add Daemon Instruction"%>
489
      <table width="10" border="0" cellspacing="10">
513
      <table width="10" border="0" cellspacing="10">
490
         <tr>
514
         <tr>
491
            <td align="center" nowrap valign="bottom">
515
            <td align="center" nowrap valign="bottom">
492
               <a href="javascript:;" onClick="MM_openVixIFrame('wAddDaemonInstruction.asp','Insert New Daemon Instruction')" class="abtnItem">
516
               <a href="javascript:;" onClick="MM_openVixIFrame('wAddDaemonInstruction.asp','Insert New Daemon Instruction')" class="abtnItem">