Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
119 ghuddy 1
<%
2
'=====================================================
127 ghuddy 3
'               Action Buttons
119 ghuddy 4
'=====================================================
5
%>
6
<%Sub Action_Buttons ( SSwithTab )%>
127 ghuddy 7
   <%Select Case SSwithTab%>
8
   <%Case "Build Dependencies"%>
9
      <table width="10" border="0" cellspacing="10">
10
         <tr>
151 ghuddy 11
            <%If ( (pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R") OR criticalSectionIsEditable )   Then%>
127 ghuddy 12
               <td align="center" nowrap valign="bottom">
13
                  <a href="form_search_pkgs.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&add_type=<%=enum_ADD_DEPENDENCIES%>" class="abtnItem">
14
                     <img src="images/i_add_deps.gif" width="22" height="25" align="absmiddle" border="0" hspace="3" alt="Add dependency to the list.">
15
                     Add
16
                  </a>
17
               </td>
18
 
19
               <td align="center" nowrap valign="bottom">
20
                  <a href="form_edit_deps.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>" class="abtnItem">
21
                     <img src="images/i_edit_deps.gif" width="23" height="24" align="absmiddle" border="0" hspace="3" alt="Edit dependency list.">
22
                     Edit
23
                  </a>
24
               </td>
25
 
26
               <td align="center" nowrap valign="bottom">
27
                  <a href="form_update_<%=Get_Devl_Envorinment%>_dependencies.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>" class="abtnItem">
28
                     <img src="images/i_import_on.gif" width="22" height="22" align="absmiddle" border="0" hspace="3" alt="Import dependency list from your build file.">
29
                     Import
30
                  </a>
31
               </td>
32
            <%End If%>
33
            <td align="center" nowrap valign="bottom">
34
               <a href="form_export_<%=Get_Devl_Envorinment%>_dependencies.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>" class="abtnItem">
35
                  <img src="images/i_export_on.gif" width="22" height="22" align="absmiddle" border="0" hspace="3" alt="Export this dependency list to be used in your build file.">
36
                  Export
37
               </a>
38
            </td>
39
         </tr>
40
      </table>
41
 
119 ghuddy 42
   <%Case "Runtime Dependencies"%>
127 ghuddy 43
      <%If IsNull(pkgInfoHash.Item ("is_patch"))Then%>
44
         <table width="10" border="0" cellspacing="10">
45
            <tr>
151 ghuddy 46
               <%If (pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R") OR criticalSectionIsEditable Then%>
127 ghuddy 47
                  <td align="center" nowrap valign="bottom">
48
                     <a href="form_search_pkgs.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&add_type=<%=enum_ADD_RUNTIME_DEPENDENCIES%>" class="abtnItem">
49
                        <img src="images/i_add_deps.gif" width="22" height="25" align="absmiddle" border="0" hspace="3" alt="Add runtime dependency to the list.">
50
                        Add
51
                     </a>
52
                  </td>
53
               <%End If%>
54
            </tr>
55
         </table>
56
      <%End If%>
57
 
119 ghuddy 58
   <%Case "Patches"%>
127 ghuddy 59
      <table width="10" border="0" cellspacing="10">
60
         <tr>
61
            <%If pkgInfoHash.Item ("dlocked") = "Y" AND NOT (ReleaseMode = enumDB_RELEASE_IN_CLOSED_MODE) Then%>
62
               <td align="center" nowrap valign="bottom">
63
                  <a href="javascript:;" onClick="MM_openBrWindow('_wform_new_patch.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','NewPatch','resizable=yes,scrollbars=yes,width=600,height=400')" class="abtnItem">
64
                     <img src="images/i_add_patch.gif" width="23" height="25" align="absmiddle" border="0" hspace="3" alt="Add a patch to this package.">
65
                     Add
66
                  </a>
67
               </td>
68
 
69
               <td align="center" nowrap valign="bottom">
70
                  <a href="javascript:;" onClick="MM_openBrWindow('_wform_obsolete_all_patches.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','ObsoletePatches','resizable=yes,scrollbars=yes,width=500,height=800')" class="abtnItem">
71
                     <img src="images/abtn_obsolete_patch.gif" width="23" height="25" align="absmiddle" border="0" hspace="3" alt="Obsolete patches in one go.">
72
                     Roll-up Obsolete Patches
73
                  </a>
74
               </td>
75
 
76
               <%If objAccessControl.IsVisible("ReleasePatch") Then%>
77
                  <td align="center" nowrap valign="bottom">
78
                     <a href="javascript:;" onClick="MM_openBrWindow('_wform_make_release_bulk_patches.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','BulkReleasePatches','resizable=yes,scrollbars=yes,width=355,height=600')" class="abtnItem">
79
                        <img src="images/abtn_make_release_bulk_patches.gif" width="25" height="25" align="absmiddle" border="0" hspace="3" alt="Make Release patches in one go.">
80
                        Make Release Bulk Patches
81
                     </a>
82
                  </td>
83
               <%End If%>
84
            <%End If%>
85
         </tr>
86
      </table>
87
 
119 ghuddy 88
   <%Case "Release Notes"%>
127 ghuddy 89
      <table width="10" border="0" cellspacing="10">
90
         <tr>
91
            <%If (pkgInfoHash.Item ("dlocked") = "Y") AND (InStr(pkgInfoHash.Item ("release_notes_info"),"MSG:") < 1) AND NOT IsNull(pkgInfoHash.Item ("release_notes_info")) Then%>
92
               <td align="center" nowrap valign="bottom">
177 brianf 93
                  <a href="<%=HTTP_PKG_ARCHIVE & pkgInfoHash.Item ("release_notes_info")%>" class="abtnItem">
127 ghuddy 94
                     <img src="images/btn_download.gif" width="22" height="22" align="absmiddle" border="0" hspace="3" alt="Download full release notes.">
95
                     Download
96
                  </a>
97
               </td>
98
            <%Else%>
99
               <td align="center" nowrap valign="bottom" class="abtnItem">
100
                  <img src="images/btn_download_off.gif" width="22" height="22" align="absmiddle" border="0" hspace="3">
101
                  <label disabled>
102
                     Download
103
                  </label>
104
               </td>
105
            <%End If%>
106
         </tr>
107
      </table>
108
 
119 ghuddy 109
   <%Case "Documentation"%>
127 ghuddy 110
      <table width="10" border="0" cellspacing="10">
111
         <tr>
112
            <td align="center" nowrap valign="bottom">
113
               <a href="javascript:;" onClick="MM_openBrWindow('_wform_import_docs.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','ImportDocs','resizable=yes,width=600,height=220')" class="abtnItem">
114
                  <img src="images/i_import_on.gif" width="22" height="22" align="absmiddle" border="0" hspace="3" title="Import document details from ERG document repository">
115
                  Import From Document Repository
116
               </a>
117
            </td>
118
         </tr>
119
      </table>
120
 
119 ghuddy 121
   <%Case "Add Process"%>
127 ghuddy 122
      <table width="10" border="0" cellspacing="10">
123
         <tr>
124
            <%If (pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R")  Then%>
125
               <td align="center" nowrap valign="bottom">
126
                  <a href="javascript:;" onClick="MM_openBrWindow('wAddProc.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','ImportDocs','resizable=yes,width=800,height=500')" class="abtnItem">
127
                     <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert processes associated with the package.">
128
                     Add Process
129
                  </a>
130
               </td>
131
            <%End If%>
132
         </tr>
133
      </table>
119 ghuddy 134
 
127 ghuddy 135
   <%Case "Add GBE_MACHTYPE"%>
136
      <table width="10" border="0" cellspacing="10">
137
         <tr>
138
            <td align="center" nowrap valign="bottom">
139
               <a href="javascript:;" onClick="MM_openBrWindow('wAddMachtype.asp','AddGBETYPE','resizable=yes,width=600,height=220')" class="abtnItem">
140
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New GBE_MACHTYPE">
141
                  Add GBE_MACHTYPE
142
               </a>
143
            </td>
144
         </tr>
145
      </table>
119 ghuddy 146
 
161 iaugusti 147
   <%Case "Add Build Machine"%>
148
      <table width="10" border="0" cellspacing="10" ID="Table1">
149
         <tr>
150
            <td align="center" nowrap valign="bottom">
151
               <a href="javascript:;" onClick="MM_openBrWindow('wAddBuildMachine.asp','AddBuildMachine','resizable=yes,width=600,height=330')" class="abtnItem">
152
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Build Machine">
153
                  Add Build Machine
154
               </a>
155
            </td>
156
         </tr>
157
      </table>
158
 
127 ghuddy 159
   <%Case "Add Licence"%>
160
      <table width="10" border="0" cellspacing="10">
161
         <tr>
162
            <td align="center" nowrap valign="bottom">
163
               <!-- NOTE, width and height of this wAddLicence.asp window set such that RaiseMsg() window content fits ok -->
164
               <a href="javascript:;" onClick="MM_openBrWindow('wAddLicence.asp','AddLicence','resizable=yes,width=800,height=400')" class="abtnItem">
165
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Licence">
166
                  Add Licence
167
               </a>
168
            </td>
169
         </tr>
170
      </table>
171
 
172
   <%Case "Add Daemon"%>
173
      <table width="10" border="0" cellspacing="10">
174
         <tr>
175
            <td align="center" nowrap valign="bottom">
161 iaugusti 176
               <a href="javascript:;" onClick="MM_openBrWindow('wAddDaemon.asp?rtag_id=<%=parRtag_id%>','AddDaemon','resizable=yes,width=860,height=240')" class="abtnItem">
127 ghuddy 177
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Daemon">
178
                  Add Daemon
179
               </a>
180
            </td>
181
         </tr>
182
      </table>
183
 
184
   <%Case "Add Schedule"%>
185
      <table width="10" border="0" cellspacing="10">
186
         <tr>
187
            <td align="center" nowrap valign="bottom">
188
               <a href="javascript:;" onClick="MM_openBrWindow('wAddSchedule.asp','AddSchedule','resizable=yes,width=450,height=270')" class="abtnItem">
189
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Schedule">
190
                  Add Schedule
191
               </a>
192
            </td>
193
         </tr>
194
      </table>
177 brianf 195
   <%Case "Add Schedule Disable"%>
196
      <table width="10" border="0" cellspacing="10">
197
         <tr>
198
            <td align="center" nowrap valign="bottom" class="abtnItem">
199
              <img src="icons/btn_add_dis.gif" width="13" height="13" align="absmiddle" border="0" hspace="3">
200
              Add Schedule
201
            </td>
202
         </tr>
203
      </table>
127 ghuddy 204
 
205
   <%Case "Indefinite Pause"%>
206
      <table width="10" border="0" cellspacing="10">
207
         <tr>
208
            <td align="center" nowrap valign="bottom">
209
               <a href="_setInfinitePause.asp" class="abtnItem">
210
                  <img src="icons/tpause.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Indefinite Pause">
211
                  Set Indefinite Pause
212
               </a>
213
            </td>
214
         </tr>
215
      </table>
177 brianf 216
   <%Case "Indefinite Pause Disable"%>
217
      <table width="10" border="0" cellspacing="10">
218
         <tr>
219
            <td align="center" nowrap valign="bottom"  class="abtnItem">
220
              <img src="icons/tpause_dis.gif" width="16" height="16" align="absmiddle" border="0" hspace="3">
221
              Set Indefinite Pause
222
            </td>
223
         </tr>
224
      </table>
127 ghuddy 225
 
226
   <%Case "Resume"%>
227
      <table width="10" border="0" cellspacing="10">
228
         <tr>
229
            <td align="center" nowrap valign="bottom">
230
               <a href="_setResume.asp" class="abtnItem">
231
                  <img src="icons/tplay.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Resume">
232
                  Set Resume
171 brianf 233
            </td>
234
         </tr>
235
      </table>
177 brianf 236
   <%Case "Resume Disable"%>
237
      <table width="10" border="0" cellspacing="10">
238
         <tr>
239
            <td align="center" nowrap valign="bottom" class="abtnItem">
240
              <img src="icons/tplay_dis.gif" width="16" height="16" align="absmiddle" border="0" hspace="3">
241
              Set Resume
242
            </td>
243
         </tr>
244
      </table>
171 brianf 245
 
246
   <%Case "Daemon Start"%>
173 brianf 247
      <table border="0" cellspacing="0" cellpadding="0">
171 brianf 248
         <tr>
173 brianf 249
            <td valign=top>
250
               <img src="icons/tstopped.gif" width="16" height="16" border="0" vspace=10 hspace="5" title="Disabled">
251
            </td>
252
            <td valign=top>
171 brianf 253
               <a href="_setDaemonResume.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>" class="abtnItem">
173 brianf 254
                 <img src="icons/tplay.gif" width="16" height="16" border="0" vspace=10 hspace="0" title="Enable Daemon">
127 ghuddy 255
               </a>
256
            </td>
173 brianf 257
            <td valign=top>
258
               <img src="icons/tpause_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0">
259
            </td>
260
            <td valign=top>
261
               <img src="icons/tstop_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0">
262
            </td>
127 ghuddy 263
         </tr>
264
      </table>
265
 
171 brianf 266
   <%Case "Daemon Start Disabled"%>
173 brianf 267
      <table border="0" cellspacing="0" cellpadding="0">
171 brianf 268
         <tr>
173 brianf 269
            <td valign=top>
270
               <img src="icons/tstopped.gif" width="16" height="16" border="0" vspace=10 hspace="5" title="Disabled">
271
            <td valign=top>
272
               <img src="icons/tplay_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0">
273
            <td valign=top>
274
               <img src="icons/tpause_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0">
275
            <td valign=top>
276
               <img src="icons/tstop_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0">
171 brianf 277
            </td>
278
         </tr>
279
      </table>
280
 
127 ghuddy 281
   <%Case "Daemon Pause"%>
173 brianf 282
      <table border="0" cellspacing="0" cellpadding="0">
127 ghuddy 283
         <tr>
173 brianf 284
            <td valign=top>
285
               <img src="icons/tplayed.gif" width="16" height="16" border="0" vspace=10 hspace="5" title="Enabled">
286
            </td>
287
            <td valign=top>
288
               <img src="icons/tplay_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0">
289
            </td>
290
            <td valign=top>
127 ghuddy 291
               <a href="_setDaemonPause.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>" class="abtnItem">
173 brianf 292
               <img src="icons/tpause.gif" width="16" height="16" border="0" vspace=10 hspace="0" title="Pause Daemon">
127 ghuddy 293
               </a>
173 brianf 294
            </td>
295
            <td valign=top>
171 brianf 296
               <a href="_setDaemonDisable.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>" class="abtnItem">
173 brianf 297
               <img src="icons/tstop.gif" width="16" height="16" border="0" vspace=10 hspace="0" title="Disable Daemon">
171 brianf 298
               </a>
127 ghuddy 299
            </td>
300
         </tr>
301
      </table>
302
 
303
   <%Case "Daemon Pause Disabled"%>
173 brianf 304
      <table border="0" cellspacing="0" cellpadding="0">
127 ghuddy 305
         <tr>
173 brianf 306
            <td valign=top>
307
               <img src="icons/tplayed.gif" width="16" height="16" border="0" vspace=10 hspace="5" title="Enabled">
127 ghuddy 308
            </td>
173 brianf 309
            <td valign=top>
310
               <img src="icons/tplay_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0">
311
            </td>
312
            <td valign=top>
313
               <img src="icons/tpause_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0">
314
            </td>
315
            <td valign=top>
316
               <img src="icons/tstop_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0">
317
            </td>
127 ghuddy 318
         </tr>
319
      </table>
320
 
321
   <%Case "Daemon Resume"%>
173 brianf 322
      <table border="0" cellspacing="0" cellpadding="0">
127 ghuddy 323
         <tr>
173 brianf 324
            <td valign=top>
325
               <img src="icons/tpaused.gif" width="16" height="16" border="0" vspace=10 hspace="5" title="Paused">
326
            </td>
327
            <td valign=top>
127 ghuddy 328
               <a href="_setDaemonResume.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>" class="abtnItem">
173 brianf 329
               <img src="icons/tplay.gif" width="16" height="16" border="0" vspace=10 hspace="0" title="Resume Daemon">
127 ghuddy 330
               </a>
173 brianf 331
            </td>
332
            <td valign=top>
333
               <img src="icons/tpause_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0">
334
            </td>
335
            <td valign=top>
171 brianf 336
               <a href="_setDaemonDisable.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>" class="abtnItem">
173 brianf 337
               <img src="icons/tstop.gif" width="16" height="16" border="0" vspace=10 hspace="0" title="Disable Daemon">
171 brianf 338
               </a>
127 ghuddy 339
            </td>
340
         </tr>
341
      </table>
342
 
343
   <%Case "Daemon Resume Disabled"%>
173 brianf 344
      <table border="0" cellspacing="0" cellpadding="0">
127 ghuddy 345
         <tr>
173 brianf 346
            <td valign=top>
347
               <img src="icons/tpaused.gif" width="16" height="16" border="0" vspace=10 hspace="5" title="Paused">
127 ghuddy 348
            </td>
173 brianf 349
            <td valign=top>
350
               <img src="icons/tplay_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0">
351
            </td>
352
            <td valign=top>
353
               <img src="icons/tpause_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0">
354
            </td>
355
            <td valign=top>
356
               <img src="icons/tstop_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0">
357
            </td>
127 ghuddy 358
         </tr>
359
      </table>
360
 
171 brianf 361
   <%Case "Daemon Control All"%>
173 brianf 362
      <table border="0" cellspacing="0" cellpadding="0">
171 brianf 363
         <tr>
173 brianf 364
            <td valign=top>
365
               <img src=icons/tpaused.gif width="16" height="16" border="0" vspace=10 hspace="5" style="visibility:hidden">
366
            </td>
367
            <td valign=top>
368
               <a href="_setDaemonResume.asp?rtag_id=<%=parRtagId%>">
369
                 <img src="icons/tplay.gif" width="16" height="16" border="0" vspace=10 hspace="0" title="Enable Daemons">
171 brianf 370
               </a>
173 brianf 371
            </td>
372
            <td valign=top>
373
               <a href="_setDaemonPause.asp?rtag_id=<%=parRtagId%>">
374
                 <img src="icons/tpause.gif" width="16" height="16" border="0" vspace=10 hspace="0" title="Pause Daemons">
171 brianf 375
               </a>
173 brianf 376
            </td>
377
            <td valign=top>
378
               <a href="_setDaemonDisable.asp?rtag_id=<%=parRtagId%>">
379
                 <img src="icons/tstop.gif" width="16" height="16" border="0" vspace=10 hspace="0" title="Disable Daemons">
171 brianf 380
               </a>
381
            </td>
382
         </tr>
383
      </table>
384
   <%Case "Daemon Control All Disabled"%>
173 brianf 385
      <table border="0" cellspacing="0" cellpadding="0">
171 brianf 386
         <tr>
173 brianf 387
            <td valign=top>
388
               <img src=icons/tpaused.gif width="16" height="16" border="0" vspace=10 hspace="5" style="visibility:hidden">
171 brianf 389
            </td>
173 brianf 390
            <td valign=top>
391
               <img src="icons/tplay_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0" title="Enable Daemons">
392
            </td>
393
            <td valign=top>
394
               <img src="icons/tpause_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0" title="Pause Daemons">
395
            </td>
396
            <td valign=top>
397
               <img src="icons/tstop_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0" title="Disable Daemons">
398
            </td>
171 brianf 399
         </tr>
400
      </table>
401
 
129 ghuddy 402
   <%Case "Add VCS"%>
403
      <table width="10" border="0" cellspacing="10">
404
         <tr>
405
            <td align="center" nowrap valign="bottom">
406
               <!-- NOTE, width and height of this wAddVCS.asp window set such that RaiseMsg() window content fits ok -->
407
               <a href="javascript:;" onClick="MM_openBrWindow('wAddVCS.asp','AddVCS','resizable=yes,width=800,height=400')" class="abtnItem">
408
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New VCS">
409
                  Add VCS
410
               </a>
411
            </td>
412
         </tr>
413
      </table>
414
 
147 ghuddy 415
   <%Case "Add Daemon Instruction"%>
416
      <table width="10" border="0" cellspacing="10">
417
         <tr>
418
            <td align="center" nowrap valign="bottom">
419
               <a href="javascript:;" onClick="MM_openBrWindow('wAddDaemonInstruction.asp','AddDaemonInstruction','resizable=yes,width=800,height=350')" class="abtnItem">
420
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Daemon Instruction">
421
                  Add Daemon Instruction
422
               </a>
423
            </td>
424
         </tr>
425
      </table>
426
 
119 ghuddy 427
   <%End Select%>
428
<%End Sub%>