FIXME Razor page errors
This commit is contained in:
parent
123283f277
commit
1a1f560ee4
234 changed files with 859 additions and 856 deletions
|
|
@ -1,25 +1,25 @@
|
|||
@model Yavsc.Models.IT.Fixing.Bug
|
||||
|
||||
@{
|
||||
ViewData["Title"] = @SR["Create"];
|
||||
ViewData["Title"] = "Create";
|
||||
}
|
||||
|
||||
<h2>@SR["Create"]</h2>
|
||||
<h2>Create</h2>
|
||||
|
||||
<form asp-action="Create">
|
||||
<div class="form-horizontal">
|
||||
<h4>Bug</h4>
|
||||
<hr />
|
||||
<div asp-validation-summary="ValidationSummary.ModelOnly" class="text-danger"></div>
|
||||
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
||||
<div class="form-group">
|
||||
<label asp-for="Title" class="col-md-2 control-label">@SR["Title"]</label>
|
||||
<label asp-for="Title" class="col-md-2 control-label">Title</label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="Title" class="form-control" />
|
||||
<span asp-validation-for="Title" class="text-danger" ></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="Description" class="col-md-2 control-label">@SR["Description"]</label>
|
||||
<label asp-for="Description" class="col-md-2 control-label">Description</label>
|
||||
<div class="col-md-10">
|
||||
<textarea asp-for="Description" class="form-control" >
|
||||
</textarea>
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="FeatureId" class="col-md-2 control-label">@SR["Feature"]</label>
|
||||
<label asp-for="FeatureId" class="col-md-2 control-label">Feature</label>
|
||||
<div class="col-md-10">
|
||||
<select asp-for="FeatureId" asp-items="@ViewBag.Features" ></select>
|
||||
<span asp-validation-for="FeatureId" class="text-danger" ></span>
|
||||
|
|
@ -49,6 +49,6 @@
|
|||
</form>
|
||||
|
||||
<div>
|
||||
<a asp-action="Index">@SR["Back to List"]</a>
|
||||
<a asp-action="Index">Back to List</a>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
@model Yavsc.Models.IT.Fixing.Bug
|
||||
|
||||
@{
|
||||
ViewData["Title"] = @SR["Delete"];
|
||||
ViewData["Title"] = "Delete";
|
||||
}
|
||||
|
||||
<h2>@SR["Delete"]</h2>
|
||||
<h2>Delete</h2>
|
||||
|
||||
<h3>@SR["AreYourSureYouWantToDeleteThis"]</h3>
|
||||
<h3>AreYourSureYouWantToDeleteThis</h3>
|
||||
<div>
|
||||
<h4>Bug</h4>
|
||||
<hr />
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
<form asp-action="Delete">
|
||||
<div class="form-actions no-color">
|
||||
<input type="submit" value="Delete" class="btn btn-default" /> |
|
||||
<a asp-action="Index">@SR["Back to List"]</a>
|
||||
<a asp-action="Index">Back to List</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
@model IEnumerable<Yavsc.Models.IT.Fixing.Bug>
|
||||
|
||||
@{
|
||||
ViewData["Title"] = @SR["DeleteAllLike"];
|
||||
ViewData["Title"] = "DeleteAllLike";
|
||||
}
|
||||
|
||||
<h2>@SR["Index"]</h2>
|
||||
<h2>Index</h2>
|
||||
|
||||
<p>
|
||||
<a asp-action="Create">@SR["Create New"]</a>
|
||||
<a asp-action="Create">Create New</a>
|
||||
</p>
|
||||
|
||||
<table class="table">
|
||||
|
|
@ -43,9 +43,9 @@
|
|||
@SR[typeof(Yavsc.Models.IT.Fixing.BugStatus).GetEnumNames()[(int)item.Status]]
|
||||
</td>
|
||||
<td>
|
||||
<a asp-action="Edit" asp-route-id="@item.Id">@SR["Edit"]</a> |
|
||||
<a asp-action="Details" asp-route-id="@item.Id">@SR["Details"]</a> |
|
||||
<a asp-action="DeleteAllLike" asp-route-id="@item.Id">@SR["Delete"]</a>
|
||||
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
|
||||
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
|
||||
<a asp-action="DeleteAllLike" asp-route-id="@item.Id">Delete</a>
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,40 +1,40 @@
|
|||
@model Yavsc.Models.IT.Fixing.Bug
|
||||
|
||||
@{
|
||||
ViewData["Title"] = @SR["Details"];
|
||||
ViewData["Title"] = "Details";
|
||||
}
|
||||
|
||||
<h2>@SR["Details"]</h2>
|
||||
<h2>Details</h2>
|
||||
|
||||
<div>
|
||||
<h3>Bug</h3>
|
||||
<hr />
|
||||
<dl class="dl-horizontal">
|
||||
<dt>
|
||||
@SR["FeatureId"]
|
||||
FeatureId"]
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.FeatureId)
|
||||
</dd>
|
||||
<dt>
|
||||
@SR["Title"]
|
||||
Title"]
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.Title)
|
||||
</dd>
|
||||
<dt>
|
||||
@SR["Status"]
|
||||
Status"]
|
||||
</dt>
|
||||
<dd>
|
||||
@SR[typeof(Yavsc.Models.IT.Fixing.BugStatus).GetEnumNames()[(int)Model.Status]]
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h3>@SR["Description"]</h3>
|
||||
<h3>Description</h3>
|
||||
<code><pre>@Html.DisplayFor(model => model.Description)</pre></code>
|
||||
|
||||
</div>
|
||||
<p>
|
||||
<a asp-action="Edit" asp-route-id="@Model.Id">@SR["Edit"]</a> |
|
||||
<a asp-action="Index">@SR["Back to List"]</a>
|
||||
<a asp-action="Edit" asp-route-id="@Model.Id">Edit</a> |
|
||||
<a asp-action="Index">Back to List</a>
|
||||
</p>
|
||||
|
|
|
|||
|
|
@ -10,10 +10,10 @@
|
|||
<div class="form-horizontal">
|
||||
<h4>Bug</h4>
|
||||
<hr />
|
||||
<div asp-validation-summary="ValidationSummary.All" class="text-danger"></div>
|
||||
<div asp-validation-summary="All" class="text-danger"></div>
|
||||
<input type="hidden" asp-for="Id" />
|
||||
<div class="form-group">
|
||||
<label asp-for="FeatureId" class="col-md-2 control-label">@SR["Feature"]</label>
|
||||
<label asp-for="FeatureId" class="col-md-2 control-label">Feature</label>
|
||||
<div class="col-md-10">
|
||||
<select asp-for="FeatureId" class="form-control" asp-items="@ViewBag.Features" >
|
||||
</select>
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="Title" class="col-md-2 control-label">@SR["Title"]</label>
|
||||
<label asp-for="Title" class="col-md-2 control-label">Title</label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="Title" class="form-control" />
|
||||
<span asp-validation-for="Title" class="text-danger" ></span>
|
||||
|
|
@ -53,6 +53,6 @@
|
|||
</form>
|
||||
|
||||
<div>
|
||||
<a asp-action="Index">@SR["Back to List"]</a>
|
||||
<a asp-action="Index">Back to List</a>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
@model IEnumerable<Yavsc.Models.IT.Fixing.Bug>
|
||||
|
||||
@{
|
||||
ViewData["Title"] = @SR["Index"];
|
||||
ViewData["Title"] = "Index";
|
||||
}
|
||||
|
||||
<h2>@SR["Index"]</h2>
|
||||
<h2>Index</h2>
|
||||
|
||||
<p>
|
||||
<a asp-action="Create">@SR["Create New"]</a>
|
||||
<a asp-action="Create">Create New</a>
|
||||
</p>
|
||||
|
||||
<table class="table">
|
||||
|
|
@ -43,9 +43,9 @@
|
|||
@SR[typeof(Yavsc.Models.IT.Fixing.BugStatus).GetEnumNames()[(int)item.Status]]
|
||||
</td>
|
||||
<td>
|
||||
<a asp-action="Edit" asp-route-id="@item.Id">@SR["Edit"]</a> |
|
||||
<a asp-action="Details" asp-route-id="@item.Id">@SR["Details"]</a> |
|
||||
<a asp-action="Delete" asp-route-id="@item.Id">@SR["Delete"]</a>
|
||||
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
|
||||
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
|
||||
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue