Yunus Emre Kalkan 8 years ago
parent
commit
cfac20828c
  1. 33
      modules/identity/src/Volo.Abp.Identity.Web/Pages/Identity/Roles/Index.cshtml
  2. 37
      modules/identity/src/Volo.Abp.Identity.Web/Pages/Identity/Users/Index.cshtml

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

@ -17,26 +17,23 @@
} }
<abp-card id="IdentityRolesWrapper"> <abp-card id="IdentityRolesWrapper">
<abp-card-header> <abp-card-header>
<div class="row"> <abp-row>
<div class="col-md-6"> <abp-column size-md="_6">
<h2>@L["Roles"]</h2> <h2>@L["Roles"]</h2>
</div> </abp-column>
<div class="col-md-6 text-right"> <abp-column size-md="_6" class="text-right">
<button type="button" name="CreateRole" class="btn btn-primary"> <abp-button button-type="Primary" name="CreateRole" text="@L["NewRole"].Value" icon="plus"/>
<i class="fa fa-plus" aria-hidden="true"></i> </abp-column>
@L["NewRole"] </abp-row>
</button>
</div>
</div>
</abp-card-header> </abp-card-header>
<abp-card-body> <abp-card-body>
<table class="table table-striped nowrap"> <abp-table striped-rows="true" class="nowrap">
<thead> <thead>
<tr> <tr>
<th>@L["Actions"]</th> <th>@L["Actions"]</th>
<th>@L["RoleName"]</th> <th>@L["RoleName"]</th>
</tr> </tr>
</thead> </thead>
</table> </abp-table>
</abp-card-body> </abp-card-body>
</abp-card> </abp-card>

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

@ -22,31 +22,28 @@
<abp-card id="IdentityUsersWrapper"> <abp-card id="IdentityUsersWrapper">
<abp-card-header> <abp-card-header>
<div class="row"> <abp-row>
<div class="col-md-6"> <abp-column size-md="_6">
<h2>@L["Users"]</h2> <h2>@L["Users"]</h2>
</div> </abp-column>
<div class="col-md-6 text-right"> <abp-column size-md="_6" class="text-right">
@if (await Authorization.IsGrantedAsync(IdentityPermissions.Users.Create)) @if (await Authorization.IsGrantedAsync(IdentityPermissions.Users.Create))
{ {
<button type="button" name="CreateUser" class="btn btn-primary"> <abp-button button-type="Primary" name="CreateUser" text="@L["NewUser"].Value" icon="plus"/>
<i class="fa fa-plus" aria-hidden="true"></i>
@L["NewUser"]
</button>
} }
</div> </abp-column>
</div> </abp-row>
</abp-card-header> </abp-card-header>
<abp-card-body> <abp-card-body>
<table class="table table-striped nowrap"> <abp-table striped-rows="true" class="nowrap">
<thead> <thead>
<tr> <tr>
<th>@L["Actions"]</th> <th>@L["Actions"]</th>
<th>@L["UserName"]</th> <th>@L["UserName"]</th>
<th>@L["EmailAddress"]</th> <th>@L["EmailAddress"]</th>
<th>@L["PhoneNumber"]</th> <th>@L["PhoneNumber"]</th>
</tr> </tr>
</thead> </thead>
</table> </abp-table>
</abp-card-body> </abp-card-body>
</abp-card> </abp-card>
Loading…
Cancel
Save