| 5048 |
dpurdie |
1 |
<%@LANGUAGE="VBSCRIPT"%>
|
|
|
2 |
<%
|
|
|
3 |
'=====================================================
|
|
|
4 |
'| sdk_names.asp
|
|
|
5 |
'| Display Names of available SDKs
|
|
|
6 |
'| Also supports Creation and Modification
|
|
|
7 |
'|
|
|
|
8 |
'=====================================================
|
|
|
9 |
%>
|
|
|
10 |
<%
|
|
|
11 |
Option explicit
|
|
|
12 |
' Good idea to set when using redirect
|
|
|
13 |
Response.Expires = 0 ' always load the page, dont store
|
|
|
14 |
%>
|
|
|
15 |
<!--#include file="common/conf.asp"-->
|
|
|
16 |
<!--#include file="common/globals.asp"-->
|
|
|
17 |
<!--#include file="common/formating.asp"-->
|
|
|
18 |
<!--#include file="common/qstr.asp"-->
|
|
|
19 |
<!--#include file="common/common_subs.asp"-->
|
|
|
20 |
<%
|
|
|
21 |
'------------ ACCESS CONTROL ------------------
|
|
|
22 |
%>
|
|
|
23 |
<!--#include file="_access_control_general.asp"-->
|
|
|
24 |
<%
|
|
|
25 |
'------------ Variable Definition -------------
|
|
|
26 |
'------------ Constants Declaration -----------
|
|
|
27 |
'------------ Variable Init -------------------
|
|
|
28 |
'----------------------------------------------
|
|
|
29 |
%>
|
|
|
30 |
<html>
|
|
|
31 |
<head>
|
|
|
32 |
<title>Release Manager</title>
|
|
|
33 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
|
|
34 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
|
35 |
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
|
|
|
36 |
<link rel="stylesheet" href="images/navigation.css" type="text/css">
|
|
|
37 |
<script language="JavaScript" src="images/common.js"></script>
|
|
|
38 |
<script type="text/javascript" language="javascript" src="jquery/jquery.js"></script>
|
|
|
39 |
<script type="text/javascript" language="javascript" src="jquery/jquery.dataTables.js"></script>
|
|
|
40 |
<script type="text/javascript" language="javascript" src="jquery/dataTables.scroller.js"></script>
|
|
|
41 |
<link rel="stylesheet" href="jquery/dataTables.vix.css" type="text/css">
|
|
|
42 |
<script type="text/javascript" language="javascript" src="jquery/jquery-ui.js"></script>
|
|
|
43 |
<link rel="stylesheet" href="jquery/jquery-ui.css" type="text/css">
|
|
|
44 |
<script src="jquery/form-validator/jquery.form-validator.min.js"></script>
|
|
|
45 |
<link rel="stylesheet" href="jquery/form-validator.css" type="text/css">
|
|
|
46 |
<script type="text/javascript" charset="utf-8">
|
|
|
47 |
$(document).ready(function() {
|
|
|
48 |
|
|
|
49 |
// Disable cacching of AJAX responses
|
|
|
50 |
$.ajaxSetup ({
|
|
|
51 |
cache: false
|
|
|
52 |
});
|
|
|
53 |
|
|
|
54 |
// Configure the Summary Table
|
|
|
55 |
$('#sdk_names').DataTable({
|
|
|
56 |
deferRender: true,
|
|
|
57 |
dom: "rtiS",
|
|
|
58 |
sScrollY: $( document ).height() - 200,
|
|
|
59 |
scrollCollapse: true,
|
|
|
60 |
processing: true,
|
|
|
61 |
retrieve:true,
|
|
|
62 |
serverSide: true,
|
|
|
63 |
ajaxSource: "sdk_names_json.asp",
|
|
|
64 |
"ordering": false,
|
|
|
65 |
"columnDefs" : [
|
|
|
66 |
{"visible" : false, "targets" : [0]},
|
|
|
67 |
<%If NOT objAccessControl.IsActive("CreateNewProject") Then %>
|
|
|
68 |
{"visible" : false, "targets" : [3]},
|
|
|
69 |
<%End If%>
|
|
|
70 |
],
|
|
|
71 |
});
|
|
|
72 |
|
|
|
73 |
<%If objAccessControl.IsActive("CreateNewProject") Then %>
|
|
|
74 |
// Wire up an 'Add' button
|
|
|
75 |
$( '#addSdk' ).click(function() {
|
|
|
76 |
$('#popmenu').load('sdk_names_new.asp');
|
|
|
77 |
});
|
|
|
78 |
<%End If%>
|
|
|
79 |
|
|
|
80 |
// Refresh the sdk Summary Page
|
|
|
81 |
// Used after an Add or Edit operation to refresh the display
|
|
|
82 |
$.refreshPage = function ()
|
|
|
83 |
{
|
|
|
84 |
$('#sdk_names').dataTable().api().ajax.reload();
|
|
|
85 |
}
|
|
|
86 |
});
|
|
|
87 |
|
|
|
88 |
// Edit the current SDK entry
|
|
|
89 |
function editSdkEntry(sdkId)
|
|
|
90 |
{
|
|
|
91 |
$('#popmenu').load('sdk_names_edit.asp', {sdkId: sdkId});
|
|
|
92 |
}
|
|
|
93 |
</script>
|
|
|
94 |
<!-- DROPDOWN MENUS -->
|
|
|
95 |
<!--#include file="_menu_def.asp"-->
|
|
|
96 |
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
|
|
|
97 |
</head>
|
|
|
98 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
|
|
|
99 |
<!-- MENU LAYERS -------------------------------------->
|
|
|
100 |
<div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)">
|
|
|
101 |
</div>
|
|
|
102 |
<!-- TIPS LAYERS -------------------------------------->
|
|
|
103 |
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10"> </div>
|
|
|
104 |
<!----------------------------------------------------->
|
|
|
105 |
<!-- HEADER -->
|
|
|
106 |
<!--#include file="_header.asp"-->
|
|
|
107 |
<!-- BODY ---->
|
|
|
108 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#EEEFEF">
|
|
|
109 |
<tr>
|
|
|
110 |
<td width="10%" background="images/bg_home_orange.gif" valign="top"></td>
|
|
|
111 |
<td width="5%" rowspan="2" valign="top"></td>
|
|
|
112 |
<td width="80%" rowspan="2" align="center" valign="top">
|
|
|
113 |
<!-- Main display panel -->
|
|
|
114 |
<table class="full_table">
|
|
|
115 |
<!-- Section Header ---->
|
|
|
116 |
<tr>
|
|
|
117 |
<td nowrap class="form_ttl">SDK SUMMARY</td>
|
|
|
118 |
</tr>
|
|
|
119 |
|
|
|
120 |
<!-- Section Body ---->
|
|
|
121 |
<tr>
|
|
|
122 |
<td>
|
|
|
123 |
<div class="rounded_box">
|
| 5049 |
dpurdie |
124 |
<table id=sdk_names class="full_table" >
|
| 5048 |
dpurdie |
125 |
<thead>
|
|
|
126 |
<tr class="body_col form_align">
|
| 5049 |
dpurdie |
127 |
<th width="1%"> SDK ID
|
|
|
128 |
<th width="10%"> SDK Name
|
| 5048 |
dpurdie |
129 |
<th> SDK Comment
|
| 5049 |
dpurdie |
130 |
<th width="1%"> Edit
|
| 5048 |
dpurdie |
131 |
</thead>
|
|
|
132 |
</table>
|
|
|
133 |
<div class=bg_dialog>
|
|
|
134 |
<span id="addSdk" title="Create New SDK Family">
|
|
|
135 |
<%If objAccessControl.IsActive("CreateNewProject") Then %>
|
|
|
136 |
<img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" >
|
|
|
137 |
<%Else%>
|
|
|
138 |
<img src="icons/btn_add_dis.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" >
|
|
|
139 |
<%End If%>
|
|
|
140 |
<a class=abtnItem>Add</a>
|
|
|
141 |
</span>
|
|
|
142 |
</div>
|
|
|
143 |
</div>
|
|
|
144 |
</table>
|
|
|
145 |
<!-- End Main display panel -->
|
|
|
146 |
<td width="5%" rowspan="2" valign="top"></td>
|
|
|
147 |
</tr>
|
|
|
148 |
<tr>
|
|
|
149 |
<td valign="bottom" align="center" background="images/bg_home_orange.gif"></td>
|
|
|
150 |
<td background="images/bg_lght_gray.gif" valign="top"><img src="images/h_trsp_dot.gif" width="1" height="500"></td>
|
|
|
151 |
</tr>
|
|
|
152 |
</table>
|
|
|
153 |
<!-- FOOTER -->
|
|
|
154 |
<!--#include file="_footer.asp"-->
|
|
|
155 |
</body>
|
|
|
156 |
</html>
|
|
|
157 |
<%
|
|
|
158 |
Call Destroy_All_Objects
|
|
|
159 |
%>
|