1 {% extends "workflow/viewport-element.html" %}
7 <!-- DataTables CSS -->
8 <link href="{% static "bower_components/datatables-plugins/integration/bootstrap/3/dataTables.bootstrap.css" %}"
11 <!-- DataTables Responsive CSS -->
12 <link href="{% static "bower_components/datatables-responsive/css/dataTables.responsive.css" %}" rel="stylesheet">
13 {% endblock extrahead %}
17 <h1 style="text-align:center;">{{ error }}</h1>
19 <div style="padding: 5%;">
20 <form method="post" action="" class="form" id="table_formset">
24 <div class="col-lg-12">
25 <div class="dataTables_wrapper">
26 <table class="table table-striped table-bordered table-hover" id="table" cellspacing="0" width="100%">
39 {% endblock content %}
43 <!-- DataTables JavaScript -->
45 <script src={% static "bower_components/datatables/media/js/jquery.dataTables.min.js" %}></script>
46 <script src={% static "bower_components/datatables-plugins/integration/bootstrap/3/dataTables.bootstrap.min.js" %}></script>
48 <script src={% static "js/dataTables-sort.js" %}></script>
51 {% endblock tablejs %}
52 {% endblock extrajs %}
56 var form = $("#table_formset");
57 var formData = form.serialize();
58 var req = new XMLHttpRequest();
59 req.open("POST", "/wf/workflow/", false);
60 req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
61 req.onerror = function() { alert("problem with form submission"); }