|
12 | 12 | <div class="section-content"> |
13 | 13 | <div class="themes"> |
14 | 14 | <div class="themes-item d-flex"> |
15 | | - <img src="@CurrentTheme.Cover" class="themes-thumbnail" alt="@CurrentTheme.Title"> |
16 | | - <!-- 4:5 --> |
17 | | - <!-- 1024:1280 --> |
18 | | - <!-- 1600:2000 --> |
| 15 | + <img src="@CurrentTheme.Cover" class="themes-thumbnail" alt="@CurrentTheme.Title"> <!-- 4:5 --> |
19 | 16 | <div class="themes-info"> |
20 | 17 | <h3 class="themes-title">@CurrentTheme.Title (@_localizer["current"])</h3> |
21 | 18 | <ul class="themes-meta d-flex"> |
|
31 | 28 | <div class="themes-item d-flex"> |
32 | 29 | <img src="@item.Cover" class="themes-thumbnail" alt="@item.Title"> |
33 | 30 | <div class="themes-info"> |
34 | | - <div class="themes-title">@item.Title</div> |
| 31 | + <h3 class="themes-title">@item.Title</h3> |
35 | 32 | <ul class="themes-meta d-flex"> |
36 | 33 | <li class="themes-meta-item">@_localizer["version"] 2.1</li> |
37 | 34 | <li class="themes-meta-item">@_localizer["by"] <a href="#">John Doe</a></li> |
38 | 35 | </ul> |
39 | 36 | <p class="themes-desc">This is the default theme that comes with the Blogifier 3.0 There are some customization you might enjoy.</p> |
40 | 37 | <div class="d-flex"> |
41 | 38 | <button type="button" class="btn btn-default me-2" @onclick="()=> SelectTheme(item.Title)" @onclick:preventDefault>@_localizer["set-current-theme"]</button> |
42 | | - <button type="button" class="btn btn-default me-2" title="@_localizer["delete"]"> |
| 39 | + <button type="button" class="btn btn-default me-2" data-bs-toggle="tooltip" title="@_localizer["delete"]"> |
43 | 40 | <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-trash" viewBox="0 0 16 16"> |
44 | 41 | <path d="M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z" /> |
45 | | - <path fill-rule="evenodd" d="M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4L4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z" /> |
| 42 | + <path fill-rule="evenodd" d="M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z" /> |
46 | 43 | </svg> |
47 | 44 | </button> |
48 | 45 | </div> |
|
53 | 50 | </div> |
54 | 51 | } |
55 | 52 |
|
56 | | -<div class="modal fade" id="themeInfo" tabindex="-1" aria-labelledby="themeInfoLabel" aria-hidden="true"> |
57 | | - <div class="modal-dialog"> |
58 | | - <div class="modal-content"> |
59 | | - <div class="modal-header"> |
60 | | - <h5 class="modal-title" id="themeInfoLabel">@_localizer["info"]</h5> |
61 | | - <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> |
62 | | - </div> |
63 | | - <div class="modal-body"> |
64 | | - <div class="themes-modal"> |
65 | | - <div class="themes-modal-title">Theme Name</div> |
66 | | - <p class="themes-modal-desc"> |
67 | | - This is a test description, one paragraph long description for you guys, there should not be a break line in this description, otherwise, it doesn't look good, and it gets messy. Also, we have 3 links. |
68 | | - </p> |
69 | | - <ul class="themes-modal-info"> |
70 | | - <li>@_localizer["developer"] John Doe</li> |
71 | | - <li>@_localizer["version"] 2.1</li> |
72 | | - <li><a href="#">Website</a></li> |
73 | | - <li><a href="#">GitHub</a></li> |
74 | | - <li><a href="#">Other Link</a></li> |
75 | | - </ul> |
76 | | - <img src="themes/standard/screenshot.png" class="themes-modal-img" alt="Theme Name"> |
77 | | - </div> |
78 | | - </div> |
79 | | - </div> |
80 | | - </div> |
81 | | -</div> |
82 | | - |
83 | 53 | <ToasterComponent @ref="Toaster" /> |
84 | 54 |
|
85 | 55 | @code { |
|
0 commit comments