23 lines
1.0 KiB
HTML
23 lines
1.0 KiB
HTML
{% extends 'base.html' %}
|
|
{% from 'macros.html' import render_selectable_table, render_pagination %}
|
|
|
|
{% block title %}Document Versions{% endblock %}
|
|
|
|
{% block content_title %}Document Versions{% endblock %}
|
|
{% block content_description %}View Versions for {{ document }}{% endblock %}
|
|
{% block content_class %}<div class="col-xl-12 col-lg-5 col-md-7 mx-auto">{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="container">
|
|
<form method="POST" action="{{ url_for('document_bp.handle_document_version_selection') }}">
|
|
{{ render_selectable_table(headers=["Document Version ID", "URL", "File Location", "File Name", "File Type", "Processing", "Processing Start", "Proceeing Finish"], rows=rows, selectable=True, id="versionsTable") }}
|
|
<div class="form-group mt-3">
|
|
<button type="submit" name="action" value="process_document_version" class="btn btn-primary">Process Document Version</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block content_footer %}
|
|
{{ render_pagination(pagination, 'document_bp.documents') }}
|
|
{% endblock %} |