_Header.cshtml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  1. @using VberZero.Tools.StringModel
  2. @model VberAdmin.Web.Models.Modals.VmModalHeader
  3. <div class="modal-header py-3 ">
  4. <h3 class="modal-title">
  5. @if (Model != null)
  6. {
  7. @if (Model.Content.Empty())
  8. {
  9. if (Model.PreFix!=null)
  10. {
  11. <span class="pre">@Html.Raw(Model.PreFix)</span>
  12. }
  13. @Html.Raw(Model.Title)
  14. <span class="sub">@Html.Raw(Model.SubFix)</span>
  15. }
  16. else
  17. {
  18. @Html.Raw(Model.Content)
  19. }
  20. }
  21. </h3>
  22. <!--begin::Close-->
  23. <div class="btn btn-icon btn-sm btn-active-light-primary ms-2" data-bs-dismiss="modal" aria-label="Close">
  24. <!--Svg Icon | path: icons/duotone/Navigation/Close.svg-->
  25. <span class="svg-icon svg-icon-2x">
  26. <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">
  27. <g transform="translate(12.000000, 12.000000) rotate(-45.000000) translate(-12.000000, -12.000000) translate(4.000000, 4.000000)" fill="#000000">
  28. <rect fill="#000000" x="0" y="7" width="16" height="2" rx="1"></rect>
  29. <rect fill="#000000" opacity="0.5" transform="translate(8.000000, 8.000000) rotate(-270.000000) translate(-8.000000, -8.000000)" x="0" y="7" width="16" height="2" rx="1"></rect>
  30. </g>
  31. </svg>
  32. </span>
  33. </div>
  34. <!--end::Close-->
  35. </div>