-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix bug when displaying text in specialty page
- Loading branch information
Showing
1 changed file
with
29 additions
and
31 deletions.
There are no files selected for viewing
60 changes: 29 additions & 31 deletions
60
Dental_Clinic_System/Dental_Clinic_System/Views/Specialty/Specialty.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,40 @@ | ||
@model IEnumerable<Dental_Clinic_System.Models.Data.Specialty> | ||
|
||
@{ | ||
ViewData["Title"] = "Chuyên Khoa"; | ||
ViewData["Title"] = "Chuyên Khoa"; | ||
} | ||
|
||
<head> | ||
<meta name="description" content="Tại đây hiển thị toàn bộ danh sách của các chuyên khoa có trong phòng khám"> | ||
<link rel="stylesheet" href="~/assets/css/special.css" /> | ||
<meta name="description" content="Tại đây hiển thị toàn bộ danh sách của các chuyên khoa có trong phòng khám"> | ||
<link rel="stylesheet" href="~/assets/css/special.css" /> | ||
</head> | ||
|
||
<div class="special"> | ||
<h1 class="special__title text-center fw-bold"> | ||
Các chuyên khoa của nha khoa | ||
</h1> | ||
<div class="text-center"> | ||
<img src="~/assets/images/separate.png" alt="" loading="lazy" /> | ||
</div> | ||
<div class="special__list"> | ||
<div class="special__list__wrapper"> | ||
@foreach (var specialty in Model) | ||
{ | ||
<div class="special__list__item d-flex flex-row"> | ||
<div class="special__list__item--image"> | ||
<img src="@specialty.Image" alt="Chuyên khoa: @specialty.Name" loading="lazy" /> | ||
<p>@specialty.Name</p> | ||
</div> | ||
<div class="special__list__item--info"> | ||
<p> | ||
@specialty.Description | ||
</p> | ||
<a asp-controller="specialty" asp-action="choosedentistry" asp-route-specialtyID="@specialty.ID"> | ||
<span>Chi tiết</span><i class="bx bx-chevron-right-circle"></i> | ||
</a> | ||
<img src="~/assets/images/separate-01.png" alt="" loading="lazy" /> | ||
</div> | ||
</div> | ||
} | ||
</div> | ||
</div> | ||
<h1 class="special__title text-center fw-bold"> | ||
Các chuyên khoa của nha khoa | ||
</h1> | ||
<div class="text-center"> | ||
<img src="~/assets/images/separate.png" alt="" loading="lazy" /> | ||
</div> | ||
<div class="special__list"> | ||
<div class="special__list__wrapper"> | ||
@foreach (var specialty in Model) | ||
{ | ||
<div class="special__list__item d-flex flex-row"> | ||
<div class="special__list__item--image"> | ||
<img src="@specialty.Image" alt="Chuyên khoa: @specialty.Name" loading="lazy" /> | ||
<p>@specialty.Name</p> | ||
</div> | ||
<div class="special__list__item--info"> | ||
@Html.Raw(specialty.Description) | ||
<a asp-controller="specialty" asp-action="choosedentistry" asp-route-specialtyID="@specialty.ID"> | ||
<span>Chi tiết</span><i class="bx bx-chevron-right-circle"></i> | ||
</a> | ||
<img src="~/assets/images/separate-01.png" alt="" loading="lazy" /> | ||
</div> | ||
</div> | ||
} | ||
</div> | ||
</div> | ||
</div> | ||
|