Skip to content

Commit 7eaac6d

Browse files
committed
Merge branch 'master' of https://github.com/volosoft/abp
2 parents dde435e + cfac208 commit 7eaac6d

File tree

2 files changed

+32
-38
lines changed

2 files changed

+32
-38
lines changed

modules/identity/src/Volo.Abp.Identity.Web/Pages/Identity/Roles/Index.cshtml

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,23 @@
1717
}
1818
<abp-card id="IdentityRolesWrapper">
1919
<abp-card-header>
20-
<div class="row">
21-
<div class="col-md-6">
20+
<abp-row>
21+
<abp-column size-md="_6">
2222
<h2>@L["Roles"]</h2>
23-
</div>
24-
<div class="col-md-6 text-right">
25-
<button type="button" name="CreateRole" class="btn btn-primary">
26-
<i class="fa fa-plus" aria-hidden="true"></i>
27-
@L["NewRole"]
28-
</button>
29-
</div>
30-
</div>
23+
</abp-column>
24+
<abp-column size-md="_6" class="text-right">
25+
<abp-button button-type="Primary" name="CreateRole" text="@L["NewRole"].Value" icon="plus"/>
26+
</abp-column>
27+
</abp-row>
3128
</abp-card-header>
3229
<abp-card-body>
33-
<table class="table table-striped nowrap">
34-
<thead>
35-
<tr>
36-
<th>@L["Actions"]</th>
37-
<th>@L["RoleName"]</th>
38-
</tr>
39-
</thead>
40-
</table>
30+
<abp-table striped-rows="true" class="nowrap">
31+
<thead>
32+
<tr>
33+
<th>@L["Actions"]</th>
34+
<th>@L["RoleName"]</th>
35+
</tr>
36+
</thead>
37+
</abp-table>
4138
</abp-card-body>
4239
</abp-card>

modules/identity/src/Volo.Abp.Identity.Web/Pages/Identity/Users/Index.cshtml

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -22,31 +22,28 @@
2222

2323
<abp-card id="IdentityUsersWrapper">
2424
<abp-card-header>
25-
<div class="row">
26-
<div class="col-md-6">
25+
<abp-row>
26+
<abp-column size-md="_6">
2727
<h2>@L["Users"]</h2>
28-
</div>
29-
<div class="col-md-6 text-right">
28+
</abp-column>
29+
<abp-column size-md="_6" class="text-right">
3030
@if (await Authorization.IsGrantedAsync(IdentityPermissions.Users.Create))
3131
{
32-
<button type="button" name="CreateUser" class="btn btn-primary">
33-
<i class="fa fa-plus" aria-hidden="true"></i>
34-
@L["NewUser"]
35-
</button>
32+
<abp-button button-type="Primary" name="CreateUser" text="@L["NewUser"].Value" icon="plus"/>
3633
}
37-
</div>
38-
</div>
34+
</abp-column>
35+
</abp-row>
3936
</abp-card-header>
4037
<abp-card-body>
41-
<table class="table table-striped nowrap">
42-
<thead>
43-
<tr>
44-
<th>@L["Actions"]</th>
45-
<th>@L["UserName"]</th>
46-
<th>@L["EmailAddress"]</th>
47-
<th>@L["PhoneNumber"]</th>
48-
</tr>
49-
</thead>
50-
</table>
38+
<abp-table striped-rows="true" class="nowrap">
39+
<thead>
40+
<tr>
41+
<th>@L["Actions"]</th>
42+
<th>@L["UserName"]</th>
43+
<th>@L["EmailAddress"]</th>
44+
<th>@L["PhoneNumber"]</th>
45+
</tr>
46+
</thead>
47+
</abp-table>
5148
</abp-card-body>
5249
</abp-card>

0 commit comments

Comments
 (0)