Files
opensourcepos/app/Views/partial/footer.php
BudsieBuds a8bcfe3b38 Bootstrap 5 WIP
- work in progress build of conversion from bootstrap 3 to 5
2025-12-02 22:19:52 +01:00

31 lines
1.4 KiB
PHP

<?php
use Config\OSPOS;
?>
</main>
<footer class="flex-shrink-0 text-body-secondary small fw-semibold bg-secondary-subtle py-3 d-print-none">
<div class="container-lg d-flex flex-wrap justify-content-center align-items-center">
<div>
<span><?= lang('Common.copyrights', [date('Y')]) ?></span>
</div>
<div>
<span class="d-none d-xl-block">&nbsp;·&nbsp;<a href="https://opensourcepos.org" class="text-body-secondary" target="_blank" rel="noopener"><?= lang('Common.website') ?></a>&nbsp;·&nbsp;</span>
<span class="d-xl-none">&nbsp;·&nbsp;<?= lang('Common.website') ?>&nbsp;·&nbsp;</span>
</div>
<div>
<span><?= esc(config('App')->application_version) ?>&nbsp;-</span>
<span class="d-none d-xl-inline"><a href="https://github.com/opensourcepos/opensourcepos/commit/<?= esc(config(OSPOS::class)->commit_sha1) ?>" class="text-body-secondary" target="_blank" rel="noopener"><?= esc(substr(config(OSPOS::class)->commit_sha1, 0, 6)); ?></a></span>
<span class="d-xl-none"><?= esc(substr(config(OSPOS::class)->commit_sha1, 0, 6)); ?></span>
</div>
</div>
</footer>
<script type="text/javascript" src="js/bs-tooltips.js"></script>
<script type="text/javascript" src="js/bs-modal_switch_content.js"></script>
</body>
</html>