Добавил страницу редактирования курса
This commit is contained in:
parent
a68a4e3dc4
commit
ce024e1f03
@ -1,4 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
@ -6,6 +6,13 @@
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.16">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\PolyclinicBusinessLogic\PolyclinicBusinessLogic.csproj" />
|
||||
<ProjectReference Include="..\PolyclinicContracts\PolyclinicContracts.csproj" />
|
||||
|
29
Polyclinic/PolyclinicWebView/Views/Home/Course.cshtml
Normal file
29
Polyclinic/PolyclinicWebView/Views/Home/Course.cshtml
Normal file
@ -0,0 +1,29 @@
|
||||
@*
|
||||
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
|
||||
*@
|
||||
@{
|
||||
ViewData["Title"] = "Редактировать курс";
|
||||
}
|
||||
<form class="d-flex flex-column">
|
||||
<div class="row mb-5">
|
||||
<div class="col-4">Количество дней:</div>
|
||||
<div class="col-8"><input type="number" id="daysCount" name="daysCount" /></div>
|
||||
</div>
|
||||
<div class="row mb-5">
|
||||
<div class="col-4">Количество препарата в день:</div>
|
||||
<div class="col-8"><input type="number" id="pillsPerDay" name="pillsPerDay" /></div>
|
||||
</div>
|
||||
<div class="row mb-5">
|
||||
<div class="col-4">Коментарий:</div>
|
||||
<div class="col-8"><textarea id="comment" name="comment"></textarea></div>
|
||||
</div>
|
||||
<div class="row mb-5">
|
||||
<div class="col-4">Рецепт:</div>
|
||||
<div class="col-8">
|
||||
<select id="recipeId" name="recipeId">
|
||||
<option>Выберите рецепт</option>
|
||||
<option value="0">Какой-то рецепт</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
Loading…
Reference in New Issue
Block a user