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">
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"%>
220
      <table width="10" border="0" cellspacing="10">
221
         <tr>
222
            <td align="center" nowrap valign="bottom">
223
               <img src="icons/tstopped.gif" width="16" height="16" align="left" border="0" hspace="5" title="Disabled">
224
               <a href="_setDaemonResume.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>" class="abtnItem">
225
                 <img src="icons/tplay.gif" width="16" height="16" align="left" border="0" hspace="0" title="Enable Daemon">
127 ghuddy 226
               </a>
171 brianf 227
               <img src="icons/tpause_dis.gif" width="16" height="16" align="left" border="0" hspace="0">
228
               <img src="icons/tstop_dis.gif" width="16" height="16" align="left" border="0" hspace="0">
127 ghuddy 229
            </td>
230
         </tr>
231
      </table>
232
 
171 brianf 233
   <%Case "Daemon Start Disabled"%>
234
      <table width="10" border="0" cellspacing="10">
235
         <tr>
236
            <td align="center" nowrap valign="bottom">
237
               <img src="icons/tstopped.gif" width="16" height="16" align="left" border="0" hspace="5" title="Disabled">
238
               <img src="icons/tplay_dis.gif" width="16" height="16" align="left" border="0" hspace="0">
239
               <img src="icons/tpause_dis.gif" width="16" height="16" align="left" border="0" hspace="0">
240
               <img src="icons/tstop_dis.gif" width="16" height="16" align="left" border="0" hspace="0">
241
            </td>
242
         </tr>
243
      </table>
244
 
127 ghuddy 245
   <%Case "Daemon Pause"%>
246
      <table width="10" border="0" cellspacing="10">
247
         <tr>
248
            <td align="center" nowrap valign="bottom">
171 brianf 249
               <img src="icons/tplayed.gif" width="16" height="16" align="left" border="0" hspace="5" title="Enabled">
250
               <img src="icons/tplay_dis.gif" width="16" height="16" align="left" border="0" hspace="0">
127 ghuddy 251
               <a href="_setDaemonPause.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>" class="abtnItem">
171 brianf 252
               <img src="icons/tpause.gif" width="16" height="16" align="left" border="0" hspace="0" title="Pause Daemon">
127 ghuddy 253
               </a>
171 brianf 254
               <a href="_setDaemonDisable.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>" class="abtnItem">
255
               <img src="icons/tstop.gif" width="16" height="16" align="left" border="0" hspace="0" title="Disable Daemon">
256
               </a>
127 ghuddy 257
            </td>
258
         </tr>
259
      </table>
260
 
261
   <%Case "Daemon Pause Disabled"%>
262
      <table width="10" border="0" cellspacing="10">
263
         <tr>
264
            <td align="center" nowrap valign="bottom">
171 brianf 265
               <img src="icons/tplayed.gif" width="16" height="16" align="left" border="0" hspace="5" title="Enabled">
266
               <img src="icons/tplay_dis.gif" width="16" height="16" align="left" border="0" hspace="0">
267
               <img src="icons/tpause_dis.gif" width="16" height="16" align="left" border="0" hspace="0">
268
               <img src="icons/tstop_dis.gif" width="16" height="16" align="left" border="0" hspace="0">
127 ghuddy 269
            </td>
270
         </tr>
271
      </table>
272
 
273
   <%Case "Daemon Resume"%>
274
      <table width="10" border="0" cellspacing="10">
275
         <tr>
276
            <td align="center" nowrap valign="bottom">
171 brianf 277
               <img src="icons/tpaused.gif" width="16" height="16" align="left" border="0" hspace="5" title="Paused">
127 ghuddy 278
               <a href="_setDaemonResume.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>" class="abtnItem">
171 brianf 279
               <img src="icons/tplay.gif" width="16" height="16" align="left" border="0" hspace="0" title="Resume Daemon">
127 ghuddy 280
               </a>
171 brianf 281
               <img src="icons/tpause_dis.gif" width="16" height="16" align="left" border="0" hspace="0">
282
               <a href="_setDaemonDisable.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>" class="abtnItem">
283
               <img src="icons/tstop.gif" width="16" height="16" align="left" border="0" hspace="0" title="Disable Daemon">
284
               </a>
127 ghuddy 285
            </td>
286
         </tr>
287
      </table>
288
 
289
   <%Case "Daemon Resume Disabled"%>
290
      <table width="10" border="0" cellspacing="10">
291
         <tr>
292
            <td align="center" nowrap valign="bottom">
171 brianf 293
               <img src="icons/tpaused.gif" width="16" height="16" align="left" border="0" hspace="5" title="Paused">
294
               <img src="icons/tplay_dis.gif" width="16" height="16" align="left" border="0" hspace="0">
295
               <img src="icons/tpause_dis.gif" width="16" height="16" align="left" border="0" hspace="0">
296
               <img src="icons/tstop_dis.gif" width="16" height="16" align="left" border="0" hspace="0">
127 ghuddy 297
            </td>
298
         </tr>
299
      </table>
300
 
171 brianf 301
   <%Case "Daemon Control All"%>
302
      <table width="10" border="0" cellspacing="10">
303
         <tr>
304
            <td align="center" nowrap valign="bottom">
305
               <img src=icons/tpaused.gif width="16" height="16" align="left" border="0" hspace="5" style="visibility:hidden">
306
               <a href="_setDaemonResume.asp?rtag_id=<%=parRtagId%>" class="abtnItem" hspace=5>
307
                 <img src="icons/tplay.gif" width="16" height="16" align="left" border="0" hspace="0" title="Enable Daemons">
308
               </a>
309
               <a href="_setDaemonPause.asp?rtag_id=<%=parRtagId%>" class="abtnItem">
310
                 <img src="icons/tpause.gif" width="16" height="16" align="left" border="0" hspace="0" title="Pause Daemons">
311
               </a>
312
               <a href="_setDaemonDisable.asp?rtag_id=<%=parRtagId%>" class="abtnItem">
313
                 <img src="icons/tstop.gif" width="16" height="16" align="left" border="0" hspace="0" title="Disable Daemons">
314
               </a>
315
            </td>
316
         </tr>
317
      </table>
318
 
319
   <%Case "Daemon Control All Disabled"%>
320
      <table width="10" border="0" cellspacing="10">
321
         <tr>
322
            <td align="center" nowrap valign="bottom">
323
               <img src=icons/tpaused.gif width="16" height="16" align="left" border="0" hspace="5" style="visibility:hidden">
324
               <img src="icons/tplay_dis.gif" width="16" height="16" align="left" border="0" hspace="0" title="Enable Daemons">
325
               <img src="icons/tpause_dis.gif" width="16" height="16" align="left" border="0" hspace="0" title="Pause Daemons">
326
               <img src="icons/tstop_dis.gif" width="16" height="16" align="left" border="0" hspace="0" title="Disable Daemons">
327
            </td>
328
         </tr>
329
      </table>
330
 
129 ghuddy 331
   <%Case "Add VCS"%>
332
      <table width="10" border="0" cellspacing="10">
333
         <tr>
334
            <td align="center" nowrap valign="bottom">
335
               <!-- NOTE, width and height of this wAddVCS.asp window set such that RaiseMsg() window content fits ok -->
336
               <a href="javascript:;" onClick="MM_openBrWindow('wAddVCS.asp','AddVCS','resizable=yes,width=800,height=400')" class="abtnItem">
337
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New VCS">
338
                  Add VCS
339
               </a>
340
            </td>
341
         </tr>
342
      </table>
343
 
147 ghuddy 344
   <%Case "Add Daemon Instruction"%>
345
      <table width="10" border="0" cellspacing="10">
346
         <tr>
347
            <td align="center" nowrap valign="bottom">
348
               <a href="javascript:;" onClick="MM_openBrWindow('wAddDaemonInstruction.asp','AddDaemonInstruction','resizable=yes,width=800,height=350')" class="abtnItem">
349
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Daemon Instruction">
350
                  Add Daemon Instruction
351
               </a>
352
            </td>
353
         </tr>
354
      </table>
355
 
119 ghuddy 356
   <%End Select%>
357
<%End Sub%>