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
 
127 ghuddy 147
   <%Case "Add Licence"%>
148
      <table width="10" border="0" cellspacing="10">
149
         <tr>
150
            <td align="center" nowrap valign="bottom">
151
               <!-- NOTE, width and height of this wAddLicence.asp window set such that RaiseMsg() window content fits ok -->
152
               <a href="javascript:;" onClick="MM_openBrWindow('wAddLicence.asp','AddLicence','resizable=yes,width=800,height=400')" class="abtnItem">
153
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Licence">
154
                  Add Licence
155
               </a>
156
            </td>
157
         </tr>
158
      </table>
159
 
160
   <%Case "Add Daemon"%>
161
      <table width="10" border="0" cellspacing="10">
162
         <tr>
163
            <td align="center" nowrap valign="bottom">
164
               <a href="javascript:;" onClick="MM_openBrWindow('wAddDaemon.asp?rtag_id=<%=parRtag_id%>','AddDaemon','resizable=yes,width=600,height=220')" class="abtnItem">
165
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Daemon">
166
                  Add Daemon
167
               </a>
168
            </td>
169
         </tr>
170
      </table>
171
 
172
   <%Case "Add Schedule"%>
173
      <table width="10" border="0" cellspacing="10">
174
         <tr>
175
            <td align="center" nowrap valign="bottom">
176
               <a href="javascript:;" onClick="MM_openBrWindow('wAddSchedule.asp','AddSchedule','resizable=yes,width=450,height=270')" class="abtnItem">
177
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Schedule">
178
                  Add Schedule
179
               </a>
180
            </td>
181
         </tr>
182
      </table>
183
 
184
   <%Case "Indefinite Pause"%>
185
      <table width="10" border="0" cellspacing="10">
186
         <tr>
187
            <td align="center" nowrap valign="bottom">
188
               <a href="_setInfinitePause.asp" class="abtnItem">
189
                  <img src="icons/tpause.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Indefinite Pause">
190
                  Set Indefinite Pause
191
               </a>
192
            </td>
193
         </tr>
194
      </table>
195
 
196
   <%Case "Resume"%>
197
      <table width="10" border="0" cellspacing="10">
198
         <tr>
199
            <td align="center" nowrap valign="bottom">
200
               <a href="_setResume.asp" class="abtnItem">
201
                  <img src="icons/tplay.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Resume">
202
                  Set Resume
203
               </a>
204
            </td>
205
         </tr>
206
      </table>
207
 
208
   <%Case "Daemon Pause"%>
209
      <table width="10" border="0" cellspacing="10">
210
         <tr>
211
            <td align="center" nowrap valign="bottom">
212
               <a href="_setDaemonPause.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>" class="abtnItem">
213
                  <img src="icons/tpause.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Daemon Pause">
214
               </a>
215
            </td>
216
         </tr>
217
      </table>
218
 
219
   <%Case "Daemon Pause Disabled"%>
220
      <table width="10" border="0" cellspacing="10">
221
         <tr>
222
            <td align="center" nowrap valign="bottom">
223
               <img src="icons/tpause.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Daemon Pause">
224
            </td>
225
         </tr>
226
      </table>
227
 
228
   <%Case "Daemon Resume"%>
229
      <table width="10" border="0" cellspacing="10">
230
         <tr>
231
            <td align="center" nowrap valign="bottom">
232
               <a href="_setDaemonResume.asp?rcon_id=<%=rcon_id%>&rtag_id=<%=parRtagId%>" class="abtnItem">
233
                  <img src="icons/tplay.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Daemon Resume">
234
               </a>
235
            </td>
236
         </tr>
237
      </table>
238
 
239
   <%Case "Daemon Resume Disabled"%>
240
      <table width="10" border="0" cellspacing="10">
241
         <tr>
242
            <td align="center" nowrap valign="bottom">
243
               <img src="icons/tplay.gif" width="16" height="16" align="absmiddle" border="0" hspace="3" title="Daemon Resume">
244
            </td>
245
         </tr>
246
      </table>
247
 
129 ghuddy 248
   <%Case "Add VCS"%>
249
      <table width="10" border="0" cellspacing="10">
250
         <tr>
251
            <td align="center" nowrap valign="bottom">
252
               <!-- NOTE, width and height of this wAddVCS.asp window set such that RaiseMsg() window content fits ok -->
253
               <a href="javascript:;" onClick="MM_openBrWindow('wAddVCS.asp','AddVCS','resizable=yes,width=800,height=400')" class="abtnItem">
254
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New VCS">
255
                  Add VCS
256
               </a>
257
            </td>
258
         </tr>
259
      </table>
260
 
147 ghuddy 261
   <%Case "Add Daemon Instruction"%>
262
      <table width="10" border="0" cellspacing="10">
263
         <tr>
264
            <td align="center" nowrap valign="bottom">
265
               <a href="javascript:;" onClick="MM_openBrWindow('wAddDaemonInstruction.asp','AddDaemonInstruction','resizable=yes,width=800,height=350')" class="abtnItem">
266
                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Insert New Daemon Instruction">
267
                  Add Daemon Instruction
268
               </a>
269
            </td>
270
         </tr>
271
      </table>
272
 
119 ghuddy 273
   <%End Select%>
274
<%End Sub%>