mirror of
https://github.com/Sudo-JHare/FHIRFLARE-IG-Toolkit.git
synced 2025-06-15 00:40:00 +00:00
UI fixes
This commit is contained in:
parent
833bc12d4d
commit
22892991f6
@ -37,7 +37,7 @@
|
|||||||
{% if fsh_output %}
|
{% if fsh_output %}
|
||||||
<div class="alert alert-success mt-4">Conversion successful!</div>
|
<div class="alert alert-success mt-4">Conversion successful!</div>
|
||||||
<h3 class="mt-4">FSH Output</h3>
|
<h3 class="mt-4">FSH Output</h3>
|
||||||
<pre class="bg-light p-3">{{ fsh_output }}</pre>
|
<pre class="p-3">{{ fsh_output }}</pre>
|
||||||
<a href="{{ url_for('download_fsh') }}" class="btn btn-primary">Download FSH</a>
|
<a href="{{ url_for('download_fsh') }}" class="btn btn-primary">Download FSH</a>
|
||||||
{% if comparison_report %}
|
{% if comparison_report %}
|
||||||
<h3 class="mt-4">Fishing Trip Comparison Report</h3>
|
<h3 class="mt-4">Fishing Trip Comparison Report</h3>
|
||||||
|
@ -799,6 +799,10 @@ html[data-theme="dark"] .structure-tree-root .list-group-item-warning {
|
|||||||
sunIcon.classList.remove('d-none');
|
sunIcon.classList.remove('d-none');
|
||||||
moonIcon.classList.add('d-none');
|
moonIcon.classList.add('d-none');
|
||||||
}
|
}
|
||||||
|
if (typeof loadLottieAnimation === 'function') {
|
||||||
|
const newTheme = toggle.checked ? 'dark' : 'light';
|
||||||
|
loadLottieAnimation(newTheme);
|
||||||
|
}
|
||||||
// Set cookie to persist theme
|
// Set cookie to persist theme
|
||||||
document.cookie = `theme=${toggle.checked ? 'dark' : 'light'}; path=/; max-age=31536000`;
|
document.cookie = `theme=${toggle.checked ? 'dark' : 'light'}; path=/; max-age=31536000`;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user