|
|
|
@ -131,14 +131,14 @@ function loadRoles() {
|
|
|
|
|
class: "fade-edge",
|
|
|
|
|
data: "name",
|
|
|
|
|
render: function (name, type, row, meta) {
|
|
|
|
|
return '<h4> ' + name + ' role</h4>';
|
|
|
|
|
return '<h4>' + name + 'role</h4>';
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
class: "text-right content-fill text-left-on-grid-view no-wrap",
|
|
|
|
|
data: null,
|
|
|
|
|
render: function (data, type, row, meta) {
|
|
|
|
|
return ' ' +
|
|
|
|
|
return '' +
|
|
|
|
|
'<a onclick="javascript:loadRoleBasedActionURL(\'edit\', \'' + data.name + '\')" ' +
|
|
|
|
|
'data-role="' + data.name + '" ' +
|
|
|
|
|
'data-click-event="edit-form" ' +
|
|
|
|
@ -151,9 +151,9 @@ function loadRoles() {
|
|
|
|
|
'<i class="fw fw-circle fw-stack-2x"></i><i class="fw fw-edit fw-stack-1x fw-inverse"></i>' +
|
|
|
|
|
'</span>' +
|
|
|
|
|
'</span>' +
|
|
|
|
|
'<span class="hidden-xs hidden-on-grid-view"> Edit</span>' +
|
|
|
|
|
'<span class="hidden-xs hidden-on-grid-view">Edit</span>' +
|
|
|
|
|
'</a>' +
|
|
|
|
|
' <a onclick="javascript:loadRoleBasedActionURL(\'edit-permission\', \'' + data.name + '\')" ' +
|
|
|
|
|
'<a onclick="javascript:loadRoleBasedActionURL(\'edit-permission\', \'' + data.name + '\')" ' +
|
|
|
|
|
'data-role="' + data.name + '" ' +
|
|
|
|
|
'data-click-event="edit-form" ' +
|
|
|
|
|
'class="btn padding-reduce-on-grid-view edit-permission-link">' +
|
|
|
|
@ -165,16 +165,16 @@ function loadRoles() {
|
|
|
|
|
'<i class="fw fw-circle fw-stack-2x"></i><i class="fw fw-edit fw-stack-1x fw-inverse"></i>' +
|
|
|
|
|
'</span>' +
|
|
|
|
|
'</span>' +
|
|
|
|
|
'<span class="hidden-xs hidden-on-grid-view"> Edit Permission</span>' +
|
|
|
|
|
'<span class="hidden-xs hidden-on-grid-view">Edit Permission</span>' +
|
|
|
|
|
'</a>' +
|
|
|
|
|
' <a data-role="' + data.name + '" ' +
|
|
|
|
|
'<a data-role="' + data.name + '" ' +
|
|
|
|
|
'data-click-event="remove-form" ' +
|
|
|
|
|
'class="btn padding-reduce-on-grid-view remove-role-link">' +
|
|
|
|
|
'<span class="fw-stack">' +
|
|
|
|
|
'<i class="fw fw-ring fw-stack-2x"></i>' +
|
|
|
|
|
'<i class="fw fw-delete fw-stack-1x"></i>' +
|
|
|
|
|
'</span>' +
|
|
|
|
|
'<span class="hidden-xs hidden-on-grid-view"> Remove</span>' +
|
|
|
|
|
'<span class="hidden-xs hidden-on-grid-view">Remove</span>' +
|
|
|
|
|
'</a>';
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|