presentation & tools

This commit is contained in:
Paul Schneider 2019-06-22 19:34:39 +01:00
commit 4c496e08d1
76 changed files with 3973 additions and 254 deletions

View file

@ -6,11 +6,23 @@
<h2>@SR["Delete"]</h2>
<h3>Are you sure you want to delete this?</h3>
<h3>@SR["AreYourSureYouWantToDeleteThis"]</h3>
<div>
<h4>HyperLink</h4>
<h4>@SR["HyperLink"]</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.HRef)
</dt>
<dd>
@Html.DisplayFor(model => model.HRef)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Method)
</dt>
<dd>
@Html.DisplayFor(model => model.Method)
</dd>
<dt>
@Html.DisplayNameFor(model => model.ContentType)
</dt>
@ -26,8 +38,10 @@
</dl>
<form asp-action="Delete">
<input asp-for="HRef" type="hidden" />
<input asp-for="Method" type="hidden" />
<div class="form-actions no-color">
<input type="submit" value="Delete" class="btn btn-default" /> |
<input type="submit" value="@SR["Delete"]" class="btn btn-default" /> |
<a asp-action="Index">@SR["Back to List"]</a>
</div>
</form>

View file

@ -7,14 +7,14 @@
<h2>@SR["Details"]</h2>
<div>
<h4>HyperLink</h4>
<h4>@SR["HyperLink"]</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.HRef)
</dt>
<dd>
@Html.DisplayFor(model => model.Href)
@Html.DisplayFor(model => model.HRef)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Method)
@ -37,6 +37,6 @@
</dl>
</div>
<p>
@Html.ActionLink("Edit", "Edit", new { /* id = Model.PrimaryKey */ }) |
@Html.ActionLink(SR["Edit"], "Edit", new { /* id = Model.PrimaryKey */ }) |
<a asp-action="Index">@SR["Back to List"]</a>
</p>

View file

@ -8,14 +8,14 @@
<form asp-action="Edit">
<div class="form-horizontal">
<h4>HyperLink</h4>
<h4>@SR["HyperLink"]</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.HRef)
</dt>
<dd>
@Html.DisplayFor(model => model.Href)
@Html.DisplayFor(model => model.HRef)
</dd>
<dt>
@Html.DisplayNameFor(model => model.Method)

View file

@ -4,7 +4,7 @@
ViewData["Title"] = @SR["Index"];
}
<h2>@SR["Index"]</h2>
<h2>@SR["HyperLink"] - @SR["Index"]</h2>
<p>
<a asp-action="Create">@SR["Create New"]</a>
@ -41,9 +41,9 @@
@Html.DisplayFor(modelItem => item.Rel)
</td>
<td>
@Html.ActionLink("Edit", SR["Edit"], new { /* id=item.PrimaryKey */ }) |
@Html.ActionLink("Details", SR["Details"], new { /* id=item.PrimaryKey */ }) |
@Html.ActionLink("Delete", SR["Delete"], new { /* id=item.PrimaryKey */ })
@Html.ActionLink(SR["Edit"], "Edit", new { hRef=item.HRef, method = item.Method }) |
@Html.ActionLink(SR["Details"], "Details", new { hRef=item.HRef, method = item.Method }) |
@Html.ActionLink(SR["Delete"], "Delete", new { hRef=item.HRef, method = item.Method })
</td>
</tr>
}