files tree made better.
This commit is contained in:
parent
ffbf032480
commit
ccc91bbf19
1630 changed files with 18209 additions and 41860 deletions
22
src/Yavsc/Views/GeneralSettings/Delete.cshtml
Normal file
22
src/Yavsc/Views/GeneralSettings/Delete.cshtml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
@model Yavsc.Models.Musical.Profiles.GeneralSettings
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Delete";
|
||||
}
|
||||
|
||||
<h2>Delete</h2>
|
||||
|
||||
<h3>Are you sure you want to delete this?</h3>
|
||||
<div>
|
||||
<h4>GeneralSettings</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-default" /> |
|
||||
<a asp-action="Index">Back to List</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
26
src/Yavsc/Views/GeneralSettings/Edit.cshtml
Normal file
26
src/Yavsc/Views/GeneralSettings/Edit.cshtml
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
@model Yavsc.Models.Musical.Profiles.GeneralSettings
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Edit";
|
||||
}
|
||||
|
||||
<h2>Edit</h2>
|
||||
|
||||
<form asp-action="Edit">
|
||||
<div class="form-horizontal">
|
||||
<h4>GeneralSettings</h4>
|
||||
<hr />
|
||||
<div asp-validation-summary="ValidationSummary.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-default" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<div>
|
||||
<a asp-action="Index">Back to List</a>
|
||||
</div>
|
||||
|
||||
25
src/Yavsc/Views/GeneralSettings/Index.cshtml
Normal file
25
src/Yavsc/Views/GeneralSettings/Index.cshtml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
@model Yavsc.Models.Musical.Profiles.GeneralSettings
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Details";
|
||||
}
|
||||
|
||||
<h2>Details</h2>
|
||||
|
||||
<div>
|
||||
<h4>GeneralSettings</h4>
|
||||
<hr />
|
||||
@if (Model!=null) {
|
||||
<dl class="dl-horizontal">
|
||||
</dl>
|
||||
<p>
|
||||
<a asp-action="Delete" asp-route-id="@Model.UserId">@SR["Delete"]</a>
|
||||
</p>
|
||||
}
|
||||
else {
|
||||
<p>
|
||||
@SR["Aucun profile renseigné"]
|
||||
<a asp-action="Create" class="btn btn-success">@SR["Renseigner ce paramêtrage"]</a>
|
||||
</p>
|
||||
}
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue