font awessome icons

This commit is contained in:
Faheedkhan 2025-06-15 18:28:31 +03:00
parent e8b569ccad
commit 975c5b8c2c
3 changed files with 5 additions and 4 deletions

View File

@ -30,10 +30,11 @@ class HelpButton {
const button = document.createElement('div');
button.className = `help-button ${this.options.position}`;
button.innerHTML = `
<button class="btn btn-phoenix-primary" id="context-help-btn"
<button class="btn btn-outline-warning" id="context-help-btn"
data-bs-toggle="tooltip" title="Get help for this page">
<i class="bi bi-${this.options.icon}"></i>
HELP
<i class="fa fa-question-circle" aria-hidden="true"></i>
Help
</button>
`;

View File

@ -46,7 +46,7 @@
{% cash_flow_statement io_model=object %}
<a class="btn btn-phoenix-primary w-100 my-2"
href="{{ request.path }}?format=pdf">{% trans 'Download PDF' %}</a>
href="{{ request.path }}?format=pdf"><i class="fa-solid fa-arrow-down me-1"></i>{% trans 'Download PDF' %}</a>
</div>
</div>
{% endblock %}

View File

@ -44,7 +44,7 @@
{% income_statement_table io_model=object %}
<a class="btn btn-phoenix-primary w-100 my-2"
href="{{ request.path }}?format=pdf">{% trans 'Download PDF' %}</a>
href="{{ request.path }}?format=pdf"><i class="fa-solid fa-arrow-down me-1"></i>{% trans 'Download PDF' %}</a>
</div>
</div>