File tree Expand file tree Collapse file tree 3 files changed +11
-29
lines changed
aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/wwwroot/view-resources/Views Expand file tree Collapse file tree 3 files changed +11
-29
lines changed Original file line number Diff line number Diff line change 6060 defaultContent : '' ,
6161 render : ( data , type , row , meta ) => {
6262 return [
63- '<div class="btn-group">' ,
64- ` <button type="button" class="btn bg-secondary edit-role" data-role-id="${ row . id } " data-toggle="modal" data-target="#RoleEditModal">` ,
63+ ` <button type="button" class="btn btn-sm bg-secondary edit-role" data-role-id="${ row . id } " data-toggle="modal" data-target="#RoleEditModal">` ,
6564 ` <i class="fas fa-pencil-alt"></i> ${ l ( 'Edit' ) } ` ,
6665 ' </button>' ,
67- ' <button type="button" class="btn bg-secondary dropdown-toggle dropdown-icon" data-toggle="dropdown">' ,
66+ ` <button type="button" class="btn btn-sm bg-danger edit-user delete-role" data-role-id="${ row . id } " data-role-name="${ row . name } ">` ,
67+ ` <i class="fas fa-trash"></i> ${ l ( 'Delete' ) } ` ,
6868 ' </button>' ,
69- ' <div class="dropdown-menu" role="menu">' ,
70- ` <a href="javascript:;" class="dropdown-item delete-role" data-role-id="${ row . id } " data-role-name="${ row . name } ">` ,
71- ` <i class="fas fa-trash"></i> ${ l ( 'Delete' ) } ` ,
72- ' </a>' ,
73- ' </div>' ,
74- '</div>'
7569 ] . join ( '' ) ;
7670 }
7771 }
Original file line number Diff line number Diff line change 6666 defaultContent : '' ,
6767 render : ( data , type , row , meta ) => {
6868 return [
69- '<div class="btn-group">' ,
70- ` <button type="button" class="btn bg-secondary edit-tenant" data-tenant-id="${ row . id } " data-toggle="modal" data-target="#TenantEditModal">` ,
69+ ` <button type="button" class="btn btn-sm bg-secondary edit-tenant" data-tenant-id="${ row . id } " data-toggle="modal" data-target="#TenantEditModal">` ,
7170 ` <i class="fas fa-pencil-alt"></i> ${ l ( 'Edit' ) } ` ,
7271 ' </button>' ,
73- ' <button type="button" class="btn bg-secondary dropdown-toggle dropdown-icon" data-toggle="dropdown">' ,
74- ' </button>' ,
75- ' <div class="dropdown-menu" role="menu">' ,
76- ` <a href="javascript:;" class="dropdown-item delete-tenant" data-tenant-id="${ row . id } " data-tenancy-name="${ row . tenancyName } ">` ,
77- ` <i class="fas fa-trash"></i> ${ l ( 'Delete' ) } ` ,
78- ' </a>' ,
79- ' </div>' ,
80- '</div>'
72+ ` <button type="button" class="btn btn-sm bg-danger edit-user delete-tenant" data-tenant-id="${ row . id } " data-tenancy-name="${ row . name } ">` ,
73+ ` <i class="fas fa-trash"></i> ${ l ( 'Delete' ) } ` ,
74+ ' </button>'
8175 ] . join ( '' ) ;
8276 }
8377 }
Original file line number Diff line number Diff line change 7171 defaultContent : '' ,
7272 render : ( data , type , row , meta ) => {
7373 return [
74- '<div class="btn-group">' ,
75- ` <button type="button" class="btn bg-secondary edit-user" data-user-id="${ row . id } " data-toggle="modal" data-target="#UserEditModal">` ,
74+ ` <button type="button" class="btn btn-sm bg-secondary edit-user" data-user-id="${ row . id } " data-toggle="modal" data-target="#UserEditModal">` ,
7675 ` <i class="fas fa-pencil-alt"></i> ${ l ( 'Edit' ) } ` ,
7776 ' </button>' ,
78- ' <button type="button" class="btn bg-secondary dropdown-toggle dropdown-icon" data-toggle="dropdown">' ,
79- ' </button>' ,
80- ' <div class="dropdown-menu" role="menu">' ,
81- ` <a href="javascript:;" class="dropdown-item delete-user" data-user-id="${ row . id } " data-user-name="${ row . name } ">` ,
82- ` <i class="fas fa-trash"></i> ${ l ( 'Delete' ) } ` ,
83- ' </a>' ,
84- ' </div>' ,
85- '</div>'
77+ ` <button type="button" class="btn btn-sm bg-danger edit-user delete-user" data-user-id="${ row . id } " data-user-name="${ row . name } ">` ,
78+ ` <i class="fas fa-trash"></i> ${ l ( 'Delete' ) } ` ,
79+ ' </button>'
8680 ] . join ( '' ) ;
8781 }
8882 }
You can’t perform that action at this time.
0 commit comments