Last active
August 23, 2017 19:47
-
-
Save mikecasas/1ff360545af932db00ce398d5c32a21c to your computer and use it in GitHub Desktop.
Index Form Template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ModelType !Ns! | |
<h2>!Cls!</h2> | |
<div class="col-md-12"> | |
@Html.AddButton("Add Lot ", "/!Cls!/add") | |
</div> | |
<br /><br /> | |
<div class="col-md-7"> | |
<table class="table table-hover table-striped table-bordered"> | |
<thead> | |
@Html.ThRowAllCentered("Actions,Lot,Title,Description,Status,# Assets") | |
<tr> | |
@Html.ThCenterColored("Some Color", 3, "826321") | |
@Html.ThCenterColored("# Assets", 3, "737809") | |
</tr> | |
<tr> | |
@Html.ThCenter("No Color This Row", 6) | |
</tr> | |
<tr> | |
@Html.ThRowAllCentered("Actions,Lot,Title,Description,Status,# Assets") | |
@Html.ThCenter("Lot") | |
@Html.ThCenter("Title") | |
@Html.ThCenter("Description") | |
@Html.ThCenter("Status") | |
@Html.ThCenter("# Assets") | |
@Html.ThCenterColored("# Assets", 3, "eee3be") | |
</tr> | |
</thead> | |
<tbody> | |
@For Each item In Model.Items | |
@<tr> | |
<td> | |
@Html.EditButtonSmall($"/lots/edit?id={item.Id}") | |
@Html.DeleteButtonSmallModal("del", "#deleteAccountModal", item.Id) | |
</td> | |
@Html.TdCenter(item.Id) | |
@Html.TdCenter(item.Title) | |
@Html.TdCenter(item.Description) | |
@Html.TdCenter(item.Status) | |
@Html.TdCenter(item.AssetsAssigned) | |
</tr> | |
Next | |
</tbody> | |
</table> | |
</div> | |
@Html.Partial("_DeleteModal") | |
@Section Scripts | |
<script src="@Url.Content("~/Scripts/app/deleteRevenueAccount.js")" type="text/javascript"></script> | |
End Section |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment