presentation & tools

This commit is contained in:
2019-06-22 19:34:39 +01:00
parent 6f8df72499
commit a2f5886526
76 changed files with 3973 additions and 254 deletions

View File

@ -30,16 +30,16 @@
@:<html>
@:<head>
@:<meta name="viewport" content="width=device-width" />
@:<title>@Model.ViewName</title>
@:<title>@@SR[@Model.ViewName]</title>
@:</head>
@:<body>
@:
// PushIndent(" ");
}
}
<h3>Are you sure you want to delete this?</h3>
<h3>@@SR["AreYourSureYouWantToDeleteThis"]</h3>
<div>
<h4>@Model.ViewDataTypeShortName</h4>
<h4>@@SR[@Model.ViewDataTypeShortName]</h4>
<hr />
<dl class="dl-horizontal">
@{
@ -59,7 +59,7 @@
@:
@:<form asp-action="@Model.ViewName">
@:<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

@ -66,7 +66,7 @@
}
else
{
@:@@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

@ -60,8 +60,8 @@
@:<div class="form-group">
@:<label asp-for="@property.PropertyName" class="control-label col-md-2">@GetAssociationName(property)</label>
@:<div class="col-md-10">
@:<select asp-for="@property.PropertyName" class="form-control" />
@:<span asp-validation-for="@property.PropertyName" class="text-danger" />
@:<select asp-for="@property.PropertyName" class="form-control" ></select>
@:<span asp-validation-for="@property.PropertyName" class="text-danger" ></span>
@:</div>
@:</div>
continue;

View File

@ -77,9 +77,9 @@
else
{
<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 { /* id=item.PrimaryKey */ }) |
@@Html.ActionLink(SR["Details"], "Details", new { /* id=item.PrimaryKey */ }) |
@@Html.ActionLink(SR["Delete"], "Delete", new { /* id=item.PrimaryKey */ })
</td>
}
@:</tr>