68 lines
2.7 KiB
Plaintext
68 lines
2.7 KiB
Plaintext
@model IEnumerable<Church.Net.Entity.Religion>
|
|
|
|
@{
|
|
ViewBag.Title = "Index";
|
|
ViewBag.returnUrl2 = Url.Action("Index", "NewVisitors");
|
|
|
|
ViewBag.returnUrl2Title = "新朋友管理";
|
|
}
|
|
|
|
<h2>Index</h2>
|
|
|
|
|
|
<div class="media">
|
|
<div class="d-flex align-self-center">
|
|
<h1 class="g-font-weight-300 g-font-size-28 g-color-black mb-0">@ViewBag.Title</h1>
|
|
</div>
|
|
|
|
<div class="media-body align-self-center text-right">
|
|
<a class="js-fancybox btn btn-xl u-btn-lightblue-v3 g-width-160--md g-font-size-default g-ml-10" href="javascript:;" data-src="#add-contact-form" data-speed="350">
|
|
建立
|
|
</a>
|
|
@Html.ActionLink("建立", "Create")
|
|
</div>
|
|
</div>
|
|
|
|
<hr class="d-flex g-brd-gray-light-v7 g-my-30">
|
|
|
|
<table class="table w-100 g-mb-25">
|
|
|
|
<thead class="g-hidden-sm-down g-color-gray-dark-v6">
|
|
<tr>
|
|
<th class="g-bg-gray-light-v8 g-font-weight-400 g-valign-middle g-brd-bottom-none g-py-15">
|
|
<div class="d-flex align-items-center justify-content-between">
|
|
@Html.DisplayNameFor(model => model.Name)
|
|
<!-- <a class="u-link-v5 g-line-height-1 g-color-gray-dark-v7 g-color-lightblue-v4--hover" href="#!">
|
|
<i class="hs-admin-arrows-vertical g-font-size-15"></i>
|
|
</a> -->
|
|
</div>
|
|
</th>
|
|
<th class="g-bg-gray-light-v8 g-font-weight-400 g-valign-middle g-brd-bottom-none g-py-15 g-pr-25"></th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody class="g-font-size-default g-color-black" id="accordion-09" role="tablist" aria-multiselectable="true">
|
|
@foreach (var item in Model)
|
|
{
|
|
<tr>
|
|
<td class="g-valign-middle g-brd-top-none g-brd-bottom g-brd-gray-light-v7 g-py-15 g-py-30--md g-px-5 g-px-10--sm">
|
|
@Html.DisplayFor(modelItem => item.Name)
|
|
</td>
|
|
|
|
<td class="g-valign-middle g-brd-top-none g-brd-bottom g-brd-gray-light-v7 g-py-15 g-py-30--md g-px-5 g-px-10--sm g-pr-25">
|
|
<div class="d-flex align-items-center g-line-height-1">
|
|
<a href="@Url.Action("Edit", new { id=item.ReligionId })" class="u-link-v5 g-color-gray-light-v6 g-color-lightblue-v4--hover g-mr-15">
|
|
<i class="hs-admin-pencil g-font-size-18"></i>
|
|
</a>
|
|
<a href="@Url.Action("Delete", new { id=item.ReligionId })" class="u-link-v5 g-color-gray-light-v6 g-color-lightblue-v4--hover">
|
|
<i class="hs-admin-trash g-font-size-18"></i>
|
|
</a>
|
|
</div>
|
|
</td>
|
|
|
|
</tr>
|
|
}
|
|
|
|
</tbody>
|
|
</table>
|