Subversion Repositories DevTools

Rev

Go to most recent revision | 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">
93
                  <a href="<%=enumHTTP_PKG_ARCHIVE & pkgInfoHash.Item ("release_notes_info")%>" class="abtnItem">
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>
195
 
196
   <%Case "Indefinite Pause"%>
197
      <table width="10" border="0" cellspacing="10">
198
         <tr>
199
            <td align="center" nowrap valign="bottom">
200
               <a href="_setInfinitePause.asp" class="abtnItem">
201
                  <img src="icons/tpause.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Indefinite Pause">
202
                  Set Indefinite Pause
203
               </a>
204
            </td>
205
         </tr>
206
      </table>
207
 
208
   <%Case "Resume"%>
209
      <table width="10" border="0" cellspacing="10">
210
         <tr>
211
            <td align="center" nowrap valign="bottom">
212
               <a href="_setResume.asp" class="abtnItem">
213
                  <img src="icons/tplay.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Resume">
214
                  Set Resume
171 brianf 215
            </td>
216
         </tr>
217
      </table>
218
 
219
   <%Case "Daemon Start"%>
173 brianf 220
      <table border="0" cellspacing="0" cellpadding="0">
171 brianf 221
         <tr>
173 brianf 222
            <td valign=top>
223
               <img src="icons/tstopped.gif" width="16" height="16" border="0" vspace=10 hspace="5" title="Disabled">
224
            </td>
225
            <td valign=top>
171 brianf 226
               <a href="_setDaemonResume.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>" class="abtnItem">
173 brianf 227
                 <img src="icons/tplay.gif" width="16" height="16" border="0" vspace=10 hspace="0" title="Enable Daemon">
127 ghuddy 228
               </a>
229
            </td>
173 brianf 230
            <td valign=top>
231
               <img src="icons/tpause_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0">
232
            </td>
233
            <td valign=top>
234
               <img src="icons/tstop_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0">
235
            </td>
127 ghuddy 236
         </tr>
237
      </table>
238
 
171 brianf 239
   <%Case "Daemon Start Disabled"%>
173 brianf 240
      <table border="0" cellspacing="0" cellpadding="0">
171 brianf 241
         <tr>
173 brianf 242
            <td valign=top>
243
               <img src="icons/tstopped.gif" width="16" height="16" border="0" vspace=10 hspace="5" title="Disabled">
244
            <td valign=top>
245
               <img src="icons/tplay_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0">
246
            <td valign=top>
247
               <img src="icons/tpause_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0">
248
            <td valign=top>
249
               <img src="icons/tstop_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0">
171 brianf 250
            </td>
251
         </tr>
252
      </table>
253
 
127 ghuddy 254
   <%Case "Daemon Pause"%>
173 brianf 255
      <table border="0" cellspacing="0" cellpadding="0">
127 ghuddy 256
         <tr>
173 brianf 257
            <td valign=top>
258
               <img src="icons/tplayed.gif" width="16" height="16" border="0" vspace=10 hspace="5" title="Enabled">
259
            </td>
260
            <td valign=top>
261
               <img src="icons/tplay_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0">
262
            </td>
263
            <td valign=top>
127 ghuddy 264
               <a href="_setDaemonPause.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>" class="abtnItem">
173 brianf 265
               <img src="icons/tpause.gif" width="16" height="16" border="0" vspace=10 hspace="0" title="Pause Daemon">
127 ghuddy 266
               </a>
173 brianf 267
            </td>
268
            <td valign=top>
171 brianf 269
               <a href="_setDaemonDisable.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>" class="abtnItem">
173 brianf 270
               <img src="icons/tstop.gif" width="16" height="16" border="0" vspace=10 hspace="0" title="Disable Daemon">
171 brianf 271
               </a>
127 ghuddy 272
            </td>
273
         </tr>
274
      </table>
275
 
276
   <%Case "Daemon Pause Disabled"%>
173 brianf 277
      <table border="0" cellspacing="0" cellpadding="0">
127 ghuddy 278
         <tr>
173 brianf 279
            <td valign=top>
280
               <img src="icons/tplayed.gif" width="16" height="16" border="0" vspace=10 hspace="5" title="Enabled">
127 ghuddy 281
            </td>
173 brianf 282
            <td valign=top>
283
               <img src="icons/tplay_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0">
284
            </td>
285
            <td valign=top>
286
               <img src="icons/tpause_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0">
287
            </td>
288
            <td valign=top>
289
               <img src="icons/tstop_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0">
290
            </td>
127 ghuddy 291
         </tr>
292
      </table>
293
 
294
   <%Case "Daemon Resume"%>
173 brianf 295
      <table border="0" cellspacing="0" cellpadding="0">
127 ghuddy 296
         <tr>
173 brianf 297
            <td valign=top>
298
               <img src="icons/tpaused.gif" width="16" height="16" border="0" vspace=10 hspace="5" title="Paused">
299
            </td>
300
            <td valign=top>
127 ghuddy 301
               <a href="_setDaemonResume.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>" class="abtnItem">
173 brianf 302
               <img src="icons/tplay.gif" width="16" height="16" border="0" vspace=10 hspace="0" title="Resume Daemon">
127 ghuddy 303
               </a>
173 brianf 304
            </td>
305
            <td valign=top>
306
               <img src="icons/tpause_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0">
307
            </td>
308
            <td valign=top>
171 brianf 309
               <a href="_setDaemonDisable.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>" class="abtnItem">
173 brianf 310
               <img src="icons/tstop.gif" width="16" height="16" border="0" vspace=10 hspace="0" title="Disable Daemon">
171 brianf 311
               </a>
127 ghuddy 312
            </td>
313
         </tr>
314
      </table>
315
 
316
   <%Case "Daemon Resume Disabled"%>
173 brianf 317
      <table border="0" cellspacing="0" cellpadding="0">
127 ghuddy 318
         <tr>
173 brianf 319
            <td valign=top>
320
               <img src="icons/tpaused.gif" width="16" height="16" border="0" vspace=10 hspace="5" title="Paused">
127 ghuddy 321
            </td>
173 brianf 322
            <td valign=top>
323
               <img src="icons/tplay_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0">
324
            </td>
325
            <td valign=top>
326
               <img src="icons/tpause_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0">
327
            </td>
328
            <td valign=top>
329
               <img src="icons/tstop_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0">
330
            </td>
127 ghuddy 331
         </tr>
332
      </table>
333
 
171 brianf 334
   <%Case "Daemon Control All"%>
173 brianf 335
      <table border="0" cellspacing="0" cellpadding="0">
171 brianf 336
         <tr>
173 brianf 337
            <td valign=top>
338
               <img src=icons/tpaused.gif width="16" height="16" border="0" vspace=10 hspace="5" style="visibility:hidden">
339
            </td>
340
            <td valign=top>
341
               <a href="_setDaemonResume.asp?rtag_id=<%=parRtagId%>">
342
                 <img src="icons/tplay.gif" width="16" height="16" border="0" vspace=10 hspace="0" title="Enable Daemons">
171 brianf 343
               </a>
173 brianf 344
            </td>
345
            <td valign=top>
346
               <a href="_setDaemonPause.asp?rtag_id=<%=parRtagId%>">
347
                 <img src="icons/tpause.gif" width="16" height="16" border="0" vspace=10 hspace="0" title="Pause Daemons">
171 brianf 348
               </a>
173 brianf 349
            </td>
350
            <td valign=top>
351
               <a href="_setDaemonDisable.asp?rtag_id=<%=parRtagId%>">
352
                 <img src="icons/tstop.gif" width="16" height="16" border="0" vspace=10 hspace="0" title="Disable Daemons">
171 brianf 353
               </a>
354
            </td>
355
         </tr>
356
      </table>
357
   <%Case "Daemon Control All Disabled"%>
173 brianf 358
      <table border="0" cellspacing="0" cellpadding="0">
171 brianf 359
         <tr>
173 brianf 360
            <td valign=top>
361
               <img src=icons/tpaused.gif width="16" height="16" border="0" vspace=10 hspace="5" style="visibility:hidden">
171 brianf 362
            </td>
173 brianf 363
            <td valign=top>
364
               <img src="icons/tplay_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0" title="Enable Daemons">
365
            </td>
366
            <td valign=top>
367
               <img src="icons/tpause_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0" title="Pause Daemons">
368
            </td>
369
            <td valign=top>
370
               <img src="icons/tstop_dis.gif" width="16" height="16" border="0" vspace=10 hspace="0" title="Disable Daemons">
371
            </td>
171 brianf 372
         </tr>
373
      </table>
374
 
129 ghuddy 375
   <%Case "Add VCS"%>
376
      <table width="10" border="0" cellspacing="10">
377
         <tr>
378
            <td align="center" nowrap valign="bottom">
379
               <!-- NOTE, width and height of this wAddVCS.asp window set such that RaiseMsg() window content fits ok -->
380
               <a href="javascript:;" onClick="MM_openBrWindow('wAddVCS.asp','AddVCS','resizable=yes,width=800,height=400')" class="abtnItem">
381
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New VCS">
382
                  Add VCS
383
               </a>
384
            </td>
385
         </tr>
386
      </table>
387
 
147 ghuddy 388
   <%Case "Add Daemon Instruction"%>
389
      <table width="10" border="0" cellspacing="10">
390
         <tr>
391
            <td align="center" nowrap valign="bottom">
392
               <a href="javascript:;" onClick="MM_openBrWindow('wAddDaemonInstruction.asp','AddDaemonInstruction','resizable=yes,width=800,height=350')" class="abtnItem">
393
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Daemon Instruction">
394
                  Add Daemon Instruction
395
               </a>
396
            </td>
397
         </tr>
398
      </table>
399
 
119 ghuddy 400
   <%End Select%>
401
<%End Sub%>