reorg
This commit is contained in:
parent
d000f77098
commit
40e8e08690
3487 changed files with 39 additions and 21 deletions
40
src/Yavsc.Org/Views/Instrumentation/Create.cshtml
Normal file
40
src/Yavsc.Org/Views/Instrumentation/Create.cshtml
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
|
||||
@model Instrumentation
|
||||
|
||||
@{
|
||||
ViewBag.SettingLabel = "Yavsc.Models.Musical.Profiles.Instrumentation";
|
||||
ViewData["Title"] = ViewBag.SettingLabel + "[" +"Set" + "]" ;
|
||||
}
|
||||
|
||||
<h2>@ViewData["Title"]</h2>
|
||||
|
||||
<form asp-action="Create">
|
||||
<div class="form-horizontal">
|
||||
<h4></h4>
|
||||
<hr />
|
||||
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
||||
|
||||
<input asp-for="UserId" type="hidden">
|
||||
<div class="form-group">
|
||||
<div class="col-md-10">
|
||||
@System.Globalization.CultureInfo.CurrentUICulture.TextInfo.ToTitleCase("nouvel instrument")
|
||||
|
||||
<select asp-for="InstrumentId" asp-items=@ViewBag.YetAvailableInstruments>
|
||||
</select>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-offset-2 col-md-10">
|
||||
<input type="submit" value="Create" class="btn btn-primary" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<div>
|
||||
<a asp-action="Index">Back to List</a>
|
||||
</div>
|
||||
|
||||
@section Scripts {
|
||||
<script src="~/lib/jquery-validation/jquery.validate.min.js"></script>
|
||||
<script src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js"></script>
|
||||
}
|
||||
24
src/Yavsc.Org/Views/Instrumentation/Delete.cshtml
Normal file
24
src/Yavsc.Org/Views/Instrumentation/Delete.cshtml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
@model Instrumentation
|
||||
|
||||
@{
|
||||
|
||||
ViewBag.SettingLabel = "Yavsc.Models.Musical.Profiles.Instrumentation";
|
||||
ViewData["Title"] = ViewBag.SettingLabel + "[" +"Delete" + "]" ;
|
||||
}
|
||||
|
||||
<h2>Delete</h2>
|
||||
|
||||
<h3>AreYourSureYouWantToDeleteThis</h3>
|
||||
<div>
|
||||
<h4>MusicianSettings</h4>
|
||||
<hr />
|
||||
<dl class="dl-horizontal">
|
||||
</dl>
|
||||
|
||||
<form asp-action="Delete">
|
||||
<div class="form-actions no-color">
|
||||
<input type="submit" value="Delete" class="btn btn-primary" /> |
|
||||
<a asp-action="Index">Back to List</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
24
src/Yavsc.Org/Views/Instrumentation/Details.cshtml
Normal file
24
src/Yavsc.Org/Views/Instrumentation/Details.cshtml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
@model Instrumentation
|
||||
|
||||
@{
|
||||
|
||||
ViewBag.SettingLabel = "Yavsc.Models.Musical.Profiles.Instrumentation";
|
||||
ViewData["Title"] = ViewBag.SettingLabel + "[" +"Details" + "]" ;
|
||||
}
|
||||
@{
|
||||
|
||||
}
|
||||
<h2>Details</h2>
|
||||
|
||||
<div>
|
||||
<h4>MusicianSettings</h4>
|
||||
<hr />
|
||||
<dl class="dl-horizontal">
|
||||
<dt>Instruments</dt>
|
||||
<dd>@Html.DisplayFor(m=>m)</dd>
|
||||
</dl>
|
||||
</div>
|
||||
<p>
|
||||
<a asp-action="Edit" asp-route-id="@Model.UserId">Edit</a> |
|
||||
<a asp-action="Index">Back to List</a>
|
||||
</p>
|
||||
30
src/Yavsc.Org/Views/Instrumentation/Edit.cshtml
Normal file
30
src/Yavsc.Org/Views/Instrumentation/Edit.cshtml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
@model Instrumentation
|
||||
@{
|
||||
|
||||
ViewBag.SettingLabel = "Yavsc.Models.Musical.Profiles.Instrumentation";
|
||||
ViewData["Title"] = ViewBag.SettingLabel + "[" +"Edit" + "]" ;
|
||||
}
|
||||
<h2>Edit</h2>
|
||||
|
||||
<form asp-action="Edit">
|
||||
<div class="form-horizontal">
|
||||
<h4>MusicianSettings</h4>
|
||||
<hr />
|
||||
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
||||
<input type="hidden" asp-for="UserId" />
|
||||
<div class="form-group">
|
||||
<div class="col-md-offset-2 col-md-10">
|
||||
<input type="submit" value="Save" class="btn btn-primary" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<div>
|
||||
<a asp-action="Index">Back to List</a>
|
||||
</div>
|
||||
|
||||
@section Scripts {
|
||||
<script src="~/lib/jquery-validation/jquery.validate.min.js"></script>
|
||||
<script src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js"></script>
|
||||
}
|
||||
28
src/Yavsc.Org/Views/Instrumentation/Index.cshtml
Normal file
28
src/Yavsc.Org/Views/Instrumentation/Index.cshtml
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
@model IEnumerable<Instrumentation>
|
||||
|
||||
@{
|
||||
|
||||
ViewBag.SettingLabel = "Yavsc.Models.Musical.Profiles.Instrumentation";
|
||||
ViewData["Title"] = ViewBag.SettingLabel + "[" +"Index" + "]" ;
|
||||
}
|
||||
|
||||
<h2>Index</h2>
|
||||
|
||||
<p>
|
||||
<a asp-action="Create">Vous jouez d'un autre instrument'</a>
|
||||
</p>
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th></th>
|
||||
</tr>
|
||||
|
||||
@foreach (var item in Model) {
|
||||
<tr>
|
||||
<td>
|
||||
<a asp-action="Edit" asp-route-id="@item.UserId">Edit</a> |
|
||||
<a asp-action="Details" asp-route-id="@item.UserId">Details</a> |
|
||||
<a asp-action="Delete" asp-route-id="@item.UserId">Delete</a>
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
</table>
|
||||
Loading…
Reference in a new issue