2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-20 13:56:30 +00:00

Add 'About InvenTree' modal

- Accessible from the top-right dropdown menu
- Add InvenTree/version.py which contains helper functions
This commit is contained in:
Oliver Walters
2019-05-04 11:23:30 +10:00
parent 293b386286
commit b32a9ed597
9 changed files with 108 additions and 23 deletions

View File

@ -49,6 +49,7 @@ InvenTree
</div>
{% include 'modals.html' %}
{% include 'about.html' %}
{% include 'notification.html' %}
</div>
@ -76,6 +77,17 @@ $(document).ready(function () {
{% block js_ready %}
{% endblock %}
showCachedAlerts();
$('#launch-about').click(function() {
var modal = $('#modal-about');
modal.modal({
backdrop: 'static',
keyboard: 'false',
});
modal.modal('show');
});
});
</script>