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
215
               </a>
216
            </td>
217
         </tr>
218
      </table>
219
 
220
   <%Case "Daemon Pause"%>
221
      <table width="10" border="0" cellspacing="10">
222
         <tr>
223
            <td align="center" nowrap valign="bottom">
224
               <a href="_setDaemonPause.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>" class="abtnItem">
225
                  <img src="icons/tpause.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Daemon Pause">
226
               </a>
227
            </td>
228
         </tr>
229
      </table>
230
 
231
   <%Case "Daemon Pause Disabled"%>
232
      <table width="10" border="0" cellspacing="10">
233
         <tr>
234
            <td align="center" nowrap valign="bottom">
235
               <img src="icons/tpause.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Daemon Pause">
236
            </td>
237
         </tr>
238
      </table>
239
 
240
   <%Case "Daemon Resume"%>
241
      <table width="10" border="0" cellspacing="10">
242
         <tr>
243
            <td align="center" nowrap valign="bottom">
244
               <a href="_setDaemonResume.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>" class="abtnItem">
245
                  <img src="icons/tplay.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Daemon Resume">
246
               </a>
247
            </td>
248
         </tr>
249
      </table>
250
 
251
   <%Case "Daemon Resume Disabled"%>
252
      <table width="10" border="0" cellspacing="10">
253
         <tr>
254
            <td align="center" nowrap valign="bottom">
255
               <img src="icons/tplay.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Daemon Resume">
256
            </td>
257
         </tr>
258
      </table>
259
 
129 ghuddy 260
   <%Case "Add VCS"%>
261
      <table width="10" border="0" cellspacing="10">
262
         <tr>
263
            <td align="center" nowrap valign="bottom">
264
               <!-- NOTE, width and height of this wAddVCS.asp window set such that RaiseMsg() window content fits ok -->
265
               <a href="javascript:;" onClick="MM_openBrWindow('wAddVCS.asp','AddVCS','resizable=yes,width=800,height=400')" class="abtnItem">
266
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New VCS">
267
                  Add VCS
268
               </a>
269
            </td>
270
         </tr>
271
      </table>
272
 
147 ghuddy 273
   <%Case "Add Daemon Instruction"%>
274
      <table width="10" border="0" cellspacing="10">
275
         <tr>
276
            <td align="center" nowrap valign="bottom">
277
               <a href="javascript:;" onClick="MM_openBrWindow('wAddDaemonInstruction.asp','AddDaemonInstruction','resizable=yes,width=800,height=350')" class="abtnItem">
278
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Daemon Instruction">
279
                  Add Daemon Instruction
280
               </a>
281
            </td>
282
         </tr>
283
      </table>
284
 
119 ghuddy 285
   <%End Select%>
286
<%End Sub%>