Subversion Repositories DevTools

Rev

Rev 5080 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5080 Rev 5097
Line 29... Line 29...
29
    serverSide: true,
29
    serverSide: true,
30
    ajaxSource: "sdk_names_json.asp",
30
    ajaxSource: "sdk_names_json.asp",
31
    "ordering": false,
31
    "ordering": false,
32
    "columnDefs" : [ 
32
    "columnDefs" : [ 
33
        {"visible" : false, "targets" : [0]},
33
        {"visible" : false, "targets" : [0]},
34
<%If NOT canActionControl("CreateSdk") Then %>
34
<%If NOT canActionControl("AdminSdk") Then %>
35
        {"visible" : false, "targets" : [3]},
35
        {"visible" : false, "targets" : [4]},
36
<%End If%>
36
<%End If%>
37
        ],
37
        ],
38
    });
38
    });
39
 
39
 
40
<%If canActionControl("CreateSdk") Then %>
40
<%If canActionControl("AdminSdk") Then %>
41
//  Wire up an 'Add' button
41
//  Wire up an 'Add' button
42
$( '#addSdk' ).click(function() {
42
$( '#addSdk' ).click(function() {
43
    $('#popmenu').load('sdk_names_new.asp');
43
    $('#popmenu').load('sdk_names_new.asp');
44
    });
44
    });
-
 
45
 
-
 
46
$( '#addSdkView' ).click(function() {
-
 
47
    $('#popmenu').load('sdk_view_new.asp');
-
 
48
    });
45
<%End If%>
49
<%End If%>
46
 
50
 
47
// Edit the current SDK entry
51
// Edit the current SDK entry
48
function editSdkEntry(sdkId)
52
function editSdkEntry(sdkId)
49
{
53
{
Line 66... Line 70...
66
 
70
 
67
  <!-- Section Body ---->
71
  <!-- Section Body ---->
68
  <tr>
72
  <tr>
69
  <td>
73
  <td>
70
    <div class="rounded_box">
74
    <div class="rounded_box">
71
    <table id=sdk_names_body class="full_table" >
75
        <table id=sdk_names_body class="full_table" >
72
        <thead>
76
            <thead>
73
        <tr class="body_col form_align">
77
            <tr class="body_col form_align">
74
          <th width="1%"> SDK ID
78
              <th width="1%"> SDK ID
75
          <th width="10%"> SDK Name
79
              <th width="10%"> SDK Name
76
          <th> SDK Comment
80
              <th> SDK Comment
-
 
81
              <th width="10%"> Base View
77
          <th width="1%"> Edit
82
              <th width="1%"> Edit
78
        </thead>
83
            </thead>
79
    </table>
84
        </table>
80
    <div class=bg_dialog>&nbsp;
85
        <div class=bg_dialog>&nbsp;
81
        <span id="addSdk" title="Create New SDK Family">
86
            <span id="addSdk" title="Create New SDK Family">
82
<%If canActionControl("CreateNewProject") Then %>
87
<%If canActionControl("AdminSdk") Then %>
83
        <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" >
88
            <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" >
84
<%Else%>
89
<%Else%>
85
        <img src="icons/btn_add_dis.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" >
90
            <img src="icons/btn_add_dis.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" >
-
 
91
<%End If%>
-
 
92
            <a class=abtnItem>New SDK Family</a>
-
 
93
            </span>
-
 
94
 
-
 
95
        </div>
-
 
96
<%If (not IsEmpty(Eval("rmDebug"))) AND rmDebug <> "" Then %>
-
 
97
    <div class="rmDebug" >RmDebug: <%=rmDebug%></div>
86
<%End If%>
98
<%End If%>
87
        <a class=abtnItem>Add</a>
-
 
88
        </span>
-
 
89
    </div>
-
 
90
    </div>
99
    </div>
91
</table>
100
</table>
92
</div>
101
</div>