Changeset 57fc402 for PostgreSqlDotnetCore/Views
- Timestamp:
- 08/22/24 01:46:17 (3 months ago)
- Branches:
- main
- Children:
- 72b1da2
- Parents:
- d6040ef
- Location:
- PostgreSqlDotnetCore/Views
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
PostgreSqlDotnetCore/Views/Blog/Create.cshtml
rd6040ef r57fc402 17 17 @Html.ValidationSummary(true, "", new { @class = "text-danger" }) 18 18 19 <div class="form-group">19 @* <div class="form-group"> 20 20 @Html.LabelFor(model => model.date_askes, htmlAttributes: new { @class = "control-label col-md-2" }) 21 21 <div class="col-md-10"> … … 24 24 </div> 25 25 </div> 26 *@ 27 @* <div class="form-group"> 28 @Html.LabelFor(model => model.date_askes, htmlAttributes: new { @class = "control-label col-md-2" }) 29 <div class="col-md-10"> 30 @Html.EditorFor(model => model.date_askes, new { htmlAttributes = new { @class = "form-control", @type = "date", value = DateTime.UtcNow.ToString("yyyy-MM-dd") } }) 31 @Html.ValidationMessageFor(model => model.date_askes, "", new { @class = "text-danger" }) 32 </div> 33 </div> 34 *@ 35 36 37 38 39 26 40 27 41 <div class="form-group"> -
PostgreSqlDotnetCore/Views/City/Index.cshtml
rd6040ef r57fc402 16 16 @Html.DisplayNameFor(model => model.name) 17 17 </th> 18 18 19 19 <th></th> 20 20 21 21 </tr> 22 22 23 @foreach (var item in Model) { 24 <tr>25 <t d>26 @Html.DisplayFor(modelItem => item.name)27 </td>28 23 @foreach (var item in Model) 24 { 25 <tr> 26 <td> 27 @Html.DisplayFor(modelItem => item.name) 28 </td> 29 29 30 <td> 31 @Html.ActionLink("Edit", "Edit", new { id = item.id }) | 32 @Html.ActionLink("Details", "Details", new { id = item.id }) | 33 @Html.ActionLink("Delete", "Delete", new { id = item.id }) 34 </td> 35 </tr> 36 } 30 31 <td> 32 @Html.ActionLink("Edit", "Edit", new { id = item.id }) | 33 @Html.ActionLink("Details", "Details", new { id = item.id }) | 34 @Html.ActionLink("Delete", "Delete", new { id = item.id }) 35 </td> 36 </tr> 37 } 37 38 38 39 </table> -
PostgreSqlDotnetCore/Views/Shared/_Layout.cshtml
rd6040ef r57fc402 50 50 <a class="nav-link text-dark" asp-area="" asp-controller="City" asp-action="Index">Manage Cities</a> 51 51 </li> 52 52 53 <li class="nav-item"> 53 54 <a class="nav-link text-dark" asp-area="" asp-controller="Blog" asp-action="Index">BlogPost</a> 54 55 </li> 55 56 } 57 58 56 59 } 60 61 62 63 64 65 57 66 <li class="nav-item"> 58 67 <a class="nav-link text-dark" asp-area="" asp-controller="VetCenter" asp-action="Index">VetCenters</a> -
PostgreSqlDotnetCore/Views/VetCenter/Index.cshtml
rd6040ef r57fc402 9 9 <h2>Vet Center</h2> 10 10 11 <p>11 @*<p> 12 12 @Html.ActionLink("Create New", "Create") 13 13 </p> 14 *@ 15 @if (ViewBag.hasAccess != null && ViewBag.hasAccess == true) 16 { 17 <p> 18 @Html.ActionLink("Create New", "Create") 19 </p> 20 } 21 14 22 <table class="table"> 15 23 <tr>
Note:
See TracChangeset
for help on using the changeset viewer.