Open Source Web Application Framework for ASP.NET Core
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

42 lines
1.6 KiB

@page
@model Volo.Abp.Identity.Web.Pages.Identity.Roles.IndexModel
@using Microsoft.AspNetCore.Mvc.Localization
@using Volo.Abp.Identity.Web.Localization.Resources.AbpIdentity
@inject IHtmlLocalizer<IdentityResource> L
@section styles {
<link rel="stylesheet" type="text/css" href="~/modules/identity/views/roles/index.css" />
}
@section scripts {
<script type="text/javascript" src="~/modules/identity/helpers/jquery.js"></script>
<script type="text/javascript" src="~/modules/identity/helpers/datatables.extensions.js"></script>
<script type="text/javascript" src="~/modules/identity/helpers/ResourceLoader.js"></script>
<script type="text/javascript" src="~/modules/identity/helpers/ModalManager.js"></script>
<script type="text/javascript" src="~/modules/identity/views/roles/index.js"></script>
}
<abp-card id="IdentityRolesWrapper">
<abp-card-header>
<div class="row">
<div class="col-md-6">
<h2>@L["Roles"]</h2>
</div>
<div class="col-md-6 text-right">
<button type="button" class="btn btn-primary" v-on:click="openCreateModal">
<i class="fa fa-plus" aria-hidden="true"></i>
@L["NewRole"]
</button>
</div>
</div>
</abp-card-header>
<abp-card-body>
<table class="table table-striped nowrap">
<thead>
<tr>
<th>@L["Actions"]</th>
<th>@L["RoleName"]</th>
</tr>
</thead>
</table>
</abp-card-body>
</abp-card>