Subversion Repositories DevTools

Rev

Rev 5048 | Blame | Last modification | View Log | RSS feed

<%@LANGUAGE="VBSCRIPT"%>
<%
'=====================================================
'|  sdk_names.asp
'|  Display Names of available SDKs
'|  Also supports Creation and Modification
'|
'=====================================================
%>
<%
Option explicit
' Good idea to set when using redirect
Response.Expires = 0   ' always load the page, dont store
%>
<!--#include file="common/conf.asp"-->
<!--#include file="common/globals.asp"-->
<!--#include file="common/formating.asp"-->
<!--#include file="common/qstr.asp"-->
<!--#include file="common/common_subs.asp"-->
<%
'------------ ACCESS CONTROL ------------------
%>
<!--#include file="_access_control_general.asp"-->
<%
'------------ Variable Definition -------------
'------------ Constants Declaration -----------
'------------ Variable Init -------------------
'----------------------------------------------
%>
<html>
   <head>
        <title>Release Manager</title>
        <meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
        <link rel="stylesheet" href="images/navigation.css" type="text/css">
        <script language="JavaScript" src="images/common.js"></script>
        <script type="text/javascript" language="javascript" src="jquery/jquery.js"></script>
        <script type="text/javascript" language="javascript" src="jquery/jquery.dataTables.js"></script>
        <script type="text/javascript" language="javascript" src="jquery/dataTables.scroller.js"></script>
        <link rel="stylesheet" href="jquery/dataTables.vix.css" type="text/css">
        <script type="text/javascript" language="javascript" src="jquery/jquery-ui.js"></script>
        <link rel="stylesheet" href="jquery/jquery-ui.css" type="text/css">
        <script src="jquery/form-validator/jquery.form-validator.min.js"></script>
        <link rel="stylesheet" href="jquery/form-validator.css" type="text/css">
        <script type="text/javascript" charset="utf-8">
        $(document).ready(function() {

            // Disable cacching of AJAX responses
            $.ajaxSetup ({
                cache: false 
            });

            //  Configure the Summary Table
            $('#sdk_names').DataTable({
                    deferRender:    true,
                    dom:            "rtiS",
                    sScrollY: $( document ).height() - 200,
                    scrollCollapse: true,
                    processing: true,
                    retrieve:true,
                    serverSide: true,
                    ajaxSource: "sdk_names_json.asp",
                    "ordering": false,
                    "columnDefs" : [ 
                        {"visible" : false, "targets" : [0]},
<%If NOT objAccessControl.IsActive("CreateNewProject") Then %>
                        {"visible" : false, "targets" : [3]},
<%End If%>
                        ],
                    });

<%If objAccessControl.IsActive("CreateNewProject") Then %>
            //  Wire up an 'Add' button
            $( '#addSdk' ).click(function() {
                $('#popmenu').load('sdk_names_new.asp');
                });
<%End If%>

            //  Refresh the sdk Summary Page
            //  Used after an Add or Edit operation to refresh the display
            $.refreshPage = function ()
            {
                $('#sdk_names').dataTable().api().ajax.reload();
            }
            });

            // Edit the current SDK entry
            function editSdkEntry(sdkId)
            {
                $('#popmenu').load('sdk_names_edit.asp', {sdkId: sdkId});
            }
        </script>
      <!-- DROPDOWN MENUS -->
      <!--#include file="_menu_def.asp"-->
      <script language="JavaScript1.2" src="images/popup_menu.js"></script>
   </head>
   <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
      <!-- MENU LAYERS -------------------------------------->
      <div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)">
      </div>
      <!-- TIPS LAYERS -------------------------------------->
      <div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
      <!----------------------------------------------------->
      <!-- HEADER -->
      <!--#include file="_header.asp"-->
      <!-- BODY ---->
      <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#EEEFEF">
         <tr>
            <td width="10%" background="images/bg_home_orange.gif" valign="top"></td>
            <td width="5%"  rowspan="2" valign="top"></td>
            <td width="80%" rowspan="2" align="center" valign="top">
               <!-- Main display panel -->
               <table class="full_table">
                  <!-- Section Header ---->
                  <tr>
                     <td nowrap class="form_ttl">SDK SUMMARY</td>
                  </tr>

                  <!-- Section Body ---->
                  <tr>
                  <td>
                    <div class="rounded_box">
                    <table id=sdk_names class="full_table" >
                        <thead>
                        <tr class="body_col form_align">
                          <th width="1%"> SDK ID
                          <th width="10%"> SDK Name
                          <th> SDK Comment
                          <th width="1%"> Edit
                        </thead>
                    </table>
                    <div class=bg_dialog>&nbsp;
                        <span id="addSdk" title="Create New SDK Family">
<%If objAccessControl.IsActive("CreateNewProject") Then %>
                        <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" >
<%Else%>
                        <img src="icons/btn_add_dis.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" >
<%End If%>
                        <a class=abtnItem>Add</a>
                        </span>
                    </div>
                    </div>
                </table>
                <!-- End Main display panel -->
            <td width="5%"  rowspan="2" valign="top"></td>
         </tr>
         <tr>
            <td valign="bottom" align="center" background="images/bg_home_orange.gif"></td>
            <td background="images/bg_lght_gray.gif" valign="top"><img src="images/h_trsp_dot.gif" width="1" height="500"></td>
        </tr>
      </table>
<!-- FOOTER -->
<!--#include file="_footer.asp"-->
</body>
</html>
<%
Call Destroy_All_Objects
%>