docserver/resources/templates/partials/footer.html.j2

37 lines
2.1 KiB
Django/Jinja

<section class="bg-gray-50 dark:bg-gray-900 text-indigo-800 dark:text-indigo-200">
<hr class="mb-4 mx-auto w-48 h-1 bg-gray-100 rounded border-0 md:mb-10 dark:bg-gray-700">
<footer id="footer" class="bottom-0 text-center w-full py-4">
<small class="text-gray-500">Copyright ©
{{req_settings.name | default(value='TII')}}
2023. Made with ❤ by
<a href="{{req_settings.url | default(value='#')}}" target="_blank" class="underline">{{req_settings.author | default(value='TII CL')}}</a>
{# <a href="https://github.com/Crypto-TII" class="underline" target="_blank" rel="noopener">View on Github</a> #}
</small>
</footer>
<script>
{% if update_session_item %}
const UPDATE_SESSION_URL="{{update_session_item}}";
{% endif %}
let tpl_defs ={
main: {
has_role: {% if usr_roles == "" %}false{% else %}true{% endif %},
color_theme: "{{usr_items.theme | default(value="")}}",
},
curr_env: {
color_theme: "{{usr_items.theme | default(value="")}}",
},
};
</script>
{% if js_link %}<script src="{{js_link}}"></script>{% endif %}
{% if other_js_link %}<script src="{{other_js_link}}"></script>{% endif %}
{% if utils_js_link %}<script src="{{utils_js_link}}"></script>{% endif %}
{% if main_js_link %}<script src="{{main_js_link}}"></script>{% endif %}
{#
<script src="https://cdn.jsdelivr.net/npm/@unocss/runtime"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/flowbite/1.6.5/flowbite.min.js"></script>
#}
</section>
</div>
</body>
</html>