|
|
@ -140,7 +140,7 @@ function loadRoles() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
class: "text-right content-fill text-left-on-grid-view no-wrap",
|
|
|
|
class: "text-right content-fill text-left-on-grid-view no-wrap tooltip-overflow-fix",
|
|
|
|
data: null,
|
|
|
|
data: null,
|
|
|
|
render: function (data, type, row, meta) {
|
|
|
|
render: function (data, type, row, meta) {
|
|
|
|
var isCloud = false;
|
|
|
|
var isCloud = false;
|
|
|
@ -153,6 +153,8 @@ function loadRoles() {
|
|
|
|
var editLink = '<a onclick="javascript:loadRoleBasedActionURL(\'edit\', \'' + data.name + '\')" ' +
|
|
|
|
var editLink = '<a onclick="javascript:loadRoleBasedActionURL(\'edit\', \'' + data.name + '\')" ' +
|
|
|
|
'data-role="' + data.name + '" ' +
|
|
|
|
'data-role="' + data.name + '" ' +
|
|
|
|
'data-click-event="edit-form" ' +
|
|
|
|
'data-click-event="edit-form" ' +
|
|
|
|
|
|
|
|
'data-toggle="tooltip" ' +
|
|
|
|
|
|
|
|
'data-original-title="Edit Role"' +
|
|
|
|
'class="btn padding-reduce-on-grid-view edit-role-link"> ' +
|
|
|
|
'class="btn padding-reduce-on-grid-view edit-role-link"> ' +
|
|
|
|
'<span class="fw-stack">' +
|
|
|
|
'<span class="fw-stack">' +
|
|
|
|
'<i class="fw fw-circle-outline fw-stack-2x"></i>' +
|
|
|
|
'<i class="fw fw-circle-outline fw-stack-2x"></i>' +
|
|
|
@ -168,6 +170,8 @@ function loadRoles() {
|
|
|
|
var editPermissionLink = '<a onclick="javascript:loadRoleBasedActionURL(\'edit-permission\', \'' + data.name + '\')" ' +
|
|
|
|
var editPermissionLink = '<a onclick="javascript:loadRoleBasedActionURL(\'edit-permission\', \'' + data.name + '\')" ' +
|
|
|
|
'data-role="' + data.name + '" ' +
|
|
|
|
'data-role="' + data.name + '" ' +
|
|
|
|
'data-click-event="edit-form " ' +
|
|
|
|
'data-click-event="edit-form " ' +
|
|
|
|
|
|
|
|
'data-toggle="tooltip" ' +
|
|
|
|
|
|
|
|
'data-original-title="Edit Permission"' +
|
|
|
|
'class="btn padding-reduce-on-grid-view edit-permission-link">' +
|
|
|
|
'class="btn padding-reduce-on-grid-view edit-permission-link">' +
|
|
|
|
'<span class="fw-stack">' +
|
|
|
|
'<span class="fw-stack">' +
|
|
|
|
'<i class="fw fw-circle-outline fw-stack-2x"></i>' +
|
|
|
|
'<i class="fw fw-circle-outline fw-stack-2x"></i>' +
|
|
|
@ -182,6 +186,8 @@ function loadRoles() {
|
|
|
|
|
|
|
|
|
|
|
|
var removeLink = '<a data-role="' + data.name + '" ' +
|
|
|
|
var removeLink = '<a data-role="' + data.name + '" ' +
|
|
|
|
'data-click-event="remove-form" ' +
|
|
|
|
'data-click-event="remove-form" ' +
|
|
|
|
|
|
|
|
'data-toggle="tooltip" ' +
|
|
|
|
|
|
|
|
'data-original-title="Remove"' +
|
|
|
|
'class="btn padding-reduce-on-grid-view remove-role-link">' +
|
|
|
|
'class="btn padding-reduce-on-grid-view remove-role-link">' +
|
|
|
|
'<span class="fw-stack">' +
|
|
|
|
'<span class="fw-stack">' +
|
|
|
|
'<i class="fw fw-circle-outline fw-stack-2x"></i>' +
|
|
|
|
'<i class="fw fw-circle-outline fw-stack-2x"></i>' +
|
|
|
@ -272,4 +278,7 @@ $("#role-grid").on("click", ".remove-role-link", function () {
|
|
|
|
|
|
|
|
|
|
|
|
$(document).ready(function () {
|
|
|
|
$(document).ready(function () {
|
|
|
|
loadRoles();
|
|
|
|
loadRoles();
|
|
|
|
|
|
|
|
$(function () {
|
|
|
|
|
|
|
|
$('[data-toggle="tooltip"]').tooltip()
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|