mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-06-19 22:15:03 +00:00

# Description Please provide a summary of the changes, including relevant motivation and context. Closes #(issue_number) ## Checklist - [ ] I have read the [Contribution Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md) - [ ] I have performed a self-review of my own code - [ ] I have attached images of the change if it is UI based - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] If my code has heavily changed functionality I have updated relevant docs on [Stirling-PDFs doc repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/) - [ ] My changes generate no new warnings - [ ] I have read the section [Add New Translation Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md#add-new-translation-tags) (for new translation tags only) --------- Co-authored-by: Reece Browne <reece@stirling.pdf>
22 lines
802 B
HTML
22 lines
802 B
HTML
<div th:fragment="card" class="feature-card hidden" th:id="${id}" th:if="${@endpointConfiguration.isEndpointEnabled(cardLink)} "
|
|
th:data-bs-tags="${tags}"
|
|
th:data-bs-link="@{${endpoint}}">
|
|
<a th:href="${cardLink}">
|
|
<div class="d-flex align-items-center">
|
|
|
|
<div id="tool-icon" class="icon" alt="icon" th:class="@{${toolGroup}}">
|
|
<span class="material-symbols-rounded nav-icon" th:text="@{${toolIcon}}"></span>
|
|
</div>
|
|
|
|
<div id="tool-text">
|
|
<h5 class="card-title" th:text="${cardTitle}"></h5>
|
|
<p class="card-text" th:text="${cardText}"></p>
|
|
</div>
|
|
|
|
</div>
|
|
</a>
|
|
<span class="material-symbols-rounded favorite-icon" th:data-endpoint="@{${endpoint}}" th:onclick="'addToFavorites(\'' + @{${cardLink}} + '\')'">
|
|
star
|
|
</span>
|
|
</div>
|