|
|
|
|
116
|
' <label class="col-sm-6 control-label">{{ permission.Name }}</label>' +
|
116
|
' <label class="col-sm-6 control-label">{{ permission.Name }}</label>' +
|
117
|
'<div class="col-sm-6">' +
|
117
|
'<div class="col-sm-6">' +
|
118
|
' <div class="btn-group">' +
|
118
|
' <div class="btn-group">' +
|
119
|
-' <a class="btn btn-default dropdown-toggle btn-select" data-toggle="dropdown" href="" lu-enable-permission="{{ luModelOptions.permissions.edit }}">' +
|
|
|
|
|
119
|
+' <button class="btn btn-default dropdown-toggle btn-select" data-toggle="dropdown" href="" lu-enable-permission="{{ luModelOptions.permissions.edit }}">' +
|
120
|
' {{ permission.Value ? \'Allow\' : \'Disallow\' }} <span class="caret"></span>' +
|
120
|
' {{ permission.Value ? \'Allow\' : \'Disallow\' }} <span class="caret"></span>' +
|
121
|
-' </a>' +
|
|
|
|
|
121
|
+' </button>' +
|
122
|
' <ul class="dropdown-menu">' +
|
122
|
' <ul class="dropdown-menu">' +
|
123
|
' <li><a href="" ng-click="editPermission(permission, false)">Disallow</a></li>' +
|
123
|
' <li><a href="" ng-click="editPermission(permission, false)">Disallow</a></li>' +
|
124
|
'<li><a href="" ng-click="editPermission(permission, true)">Allow</a></li>' +
|
124
|
'<li><a href="" ng-click="editPermission(permission, true)">Allow</a></li>' +
|
|
|
|
|
135
|
' <div class="clearfix"></div>' +
|
135
|
' <div class="clearfix"></div>' +
|
136
|
' <div class="col-sm-12" lu-busy="permission_add" lu-show-permission="{{ luModelOptions.permissions.add }}">' +
|
136
|
' <div class="col-sm-12" lu-busy="permission_add" lu-show-permission="{{ luModelOptions.permissions.add }}">' +
|
137
|
' <div class="btn-group">' +
|
137
|
' <div class="btn-group">' +
|
138
|
-' <a class="btn btn-default dropdown-toggle btn-select" data-toggle="dropdown" href="">' +
|
|
|
|
|
138
|
+' <button class="btn btn-default dropdown-toggle btn-select" data-toggle="dropdown" href="">' +
|
139
|
' {{ tmpPermission.Name }} <span class="caret"></span>' +
|
139
|
' {{ tmpPermission.Name }} <span class="caret"></span>' +
|
140
|
-' </a>' +
|
|
|
|
|
140
|
+' </button>' +
|
141
|
' <ul class="dropdown-menu">' +
|
141
|
' <ul class="dropdown-menu">' +
|
142
|
' <li ng-repeat="permission in allPermissionsCleared">' +
|
142
|
' <li ng-repeat="permission in allPermissionsCleared">' +
|
143
|
' <a href="" ng-click="tmpPermission.Name = permission.Name">{{ permission.Name}}</a>' +
|
143
|
' <a href="" ng-click="tmpPermission.Name = permission.Name">{{ permission.Name}}</a>' +
|
|
|
|
|
145
|
'</ul>' +
|
145
|
'</ul>' +
|
146
|
'</div>' +
|
146
|
'</div>' +
|
147
|
'<div class="btn-group">' +
|
147
|
'<div class="btn-group">' +
|
148
|
-' <a class="btn btn-default dropdown-toggle btn-select" data-toggle="dropdown" href="">' +
|
|
|
|
|
148
|
+' <button class="btn btn-default dropdown-toggle btn-select" data-toggle="dropdown" href="">' +
|
149
|
' {{ tmpPermission.Value ? \'Allow\' : \'Disallow\' }} <span class="caret"></span>' +
|
149
|
' {{ tmpPermission.Value ? \'Allow\' : \'Disallow\' }} <span class="caret"></span>' +
|
150
|
-' </a>' +
|
|
|
|
|
150
|
+' </button>' +
|
151
|
' <ul class="dropdown-menu">' +
|
151
|
' <ul class="dropdown-menu">' +
|
152
|
' <li><a href="" ng-click="tmpPermission.Value = false">Disallow</a></li>' +
|
152
|
' <li><a href="" ng-click="tmpPermission.Value = false">Disallow</a></li>' +
|
153
|
'<li><a href="" ng-click="tmpPermission.Value = true">Allow</a></li>' +
|
153
|
'<li><a href="" ng-click="tmpPermission.Value = true">Allow</a></li>' +
|