доделала формы создания и списка главных сущностей

This commit is contained in:
Елена Бакальская 2024-05-01 13:47:38 +04:00
parent aa00661860
commit 2b8a670018
5 changed files with 59 additions and 9 deletions

View File

@ -44,8 +44,8 @@
</select> </select>
</div> </div>
<div class="d-flex flex-row mb-5 justify-content-between align-items-center">
<div class="d-flex flex-row mb-5 justify-content-between align-items-center">
<h3 class="col-3"> <h3 class="col-3">
Выбор симптома: Выбор симптома:

View File

@ -7,6 +7,31 @@
<h2 class="display-4">Создание процедуры</h2> <h2 class="display-4">Создание процедуры</h2>
</div> </div>
<div class="d-flex flex-column align-content-center justify-content-around"> <form method="post" class="form-create-procedure d-flex flex-row justify-content-around align-items-center">
</div> <div class="procedure-info d-flex flex-column mb-5 mt-5">
<div class="d-flex flex-row mb-5 flex-row justify-content-between align-items-center">
<h3 class="col-3 m-3">
Название:
</h3>
<input class="col-6" type="text" style="width: 45vh" />
</div>
<div class="d-flex flex-row mb-5 flex-row justify-content-between align-items-center">
<h3 class="col-3 m-3">
Комментарий:
</h3>
<textarea class="col-6" id="comment" name="comment" style="width: 45vh">
</textarea>
</div>
</div>
<div class="d-flex flex-column mb-5 mt-5">
<div class="col-8"></div>
<div class="col-4">
<input type="submit" value="Сохранить" class="button-save-procedure btn" asp-action="Procedures" />
</div>
</div>
</form>

View File

@ -61,7 +61,7 @@
При особом неврозе употребляйте каждый день и спина не будет болеть При особом неврозе употребляйте каждый день и спина не будет болеть
</td> </td>
<td> <td>
<a a asp-action="CreateMedicament"> <a asp-action="CreateMedicament">
<svg class="bi-edit-pen" viewBox="0 0 127 127" fill="none" xmlns="http://www.w3.org/2000/svg"> <svg class="bi-edit-pen" viewBox="0 0 127 127" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M105.5 26L37 114.5C34.5 117 16.3 121.7 7.5 122.5C79.1 34.1 101 5.5 102 4C104.833 4.5 119.3 14.6 122.5 21C105 44 98.5 55 111.5 58.5" stroke="#008315" stroke-width="6" stroke-linecap="round" /> <path d="M105.5 26L37 114.5C34.5 117 16.3 121.7 7.5 122.5C79.1 34.1 101 5.5 102 4C104.833 4.5 119.3 14.6 122.5 21C105 44 98.5 55 111.5 58.5" stroke="#008315" stroke-width="6" stroke-linecap="round" />
</svg> </svg>

View File

@ -60,10 +60,11 @@
ммммммм ммммммм
</td> </td>
<td> <td>
<svg class="bi-edit-pen" viewBox="0 0 127 127" fill="none" xmlns="http://www.w3.org/2000/svg"> <a asp-action="CreateProcedure">
<path d="M105.5 26L37 114.5C34.5 117 16.3 121.7 7.5 122.5C79.1 34.1 101 5.5 102 4C104.833 4.5 119.3 14.6 122.5 21C105 44 98.5 55 111.5 58.5" stroke="#008315" stroke-width="6" stroke-linecap="round" /> <svg class="bi-edit-pen" viewBox="0 0 127 127" fill="none" xmlns="http://www.w3.org/2000/svg">
</svg> <path d="M105.5 26L37 114.5C34.5 117 16.3 121.7 7.5 122.5C79.1 34.1 101 5.5 102 4C104.833 4.5 119.3 14.6 122.5 21C105 44 98.5 55 111.5 58.5" stroke="#008315" stroke-width="6" stroke-linecap="round" />
</svg>
</a>
</td> </td>
<td> <td>
<svg class="bi-cart-delete" viewBox="0 0 154 164" fill="none" xmlns="http://www.w3.org/2000/svg"> <svg class="bi-cart-delete" viewBox="0 0 154 164" fill="none" xmlns="http://www.w3.org/2000/svg">

View File

@ -68,7 +68,7 @@ body {
color: white; color: white;
} }
.proc-list{ .proc-list {
border: dashed; border: dashed;
} }
@ -78,6 +78,30 @@ body {
background-color: rgb(6, 25, 16); background-color: rgb(6, 25, 16);
} }
.form-create-procedure{
color: white;
background-color: rgb(149, 100, 197)
}
.button-save-procedure {
width: 20vh;
height: 8vh;
background-color: rgb(70, 42, 98);
color: white;
transition: transform 0.3s;
box-shadow: 0px 4px 8px rgba(49, 29, 7);
}
.procedure-info {
text-shadow: 0px 4px 8px rgba(49, 29, 7);
}
.button-save-procedure:hover {
transform: scale(1.3);
color: white;
background-color: rgb(49, 29, 70);
}
.button-save-recipe { .button-save-recipe {
width: 20vh; width: 20vh;
height: 8vh; height: 8vh;