{% load static %}
{% load inventree_extras %}

<div class='modal fade modal-fixed-footer' tabindex='-1' role='dialog' id='modal-about'>
    <div class='modal-dialog'>
        <div class='modal-content'>
            <div class="modal-header">
              <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                <span aria-hidden="true">&times;</span>
              </button>
              <img src="{% static 'img/inventree.png' %}" height='60' style='float: left;' alt='Inventree Logo'>
            </div>
            <div class='modal-form-content'>
                <div>
                    <!--
                    -->
                    <h4>InvenTree Version Information</h4>
                    <table class='table table-striped table-condensed'>
                        <tr>
                            <td>Version</td><td>{% inventree_version %}</td>
                        </tr>
                        <tr>
                            <td>Commit Hash</td><td>{% inventree_commit %}</td>
                        </tr>
                        <tr>
                            <td colspan="2"></td>
                        </tr>
                        <tr>
                            <td>View Code on GitHub</td><td><a href="{% inventree_github %}">{% inventree_github %}</a></td>
                        </tr>
                    </table>

                </div>
            </div>
            <div class='modal-footer'>
                <button type='button' class='btn btn-default' data-dismiss='modal'>Close</button>
            </div>
        </div>
    </div>
</div>