mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-05 09:26:27 +00:00
[Printer] remove garbage comments
This commit is contained in:
parent
d945dd013d
commit
24a7895566
1 changed files with 0 additions and 58 deletions
|
@ -23,62 +23,4 @@
|
||||||
<!-- <input class="btn btn-primary btn-sm" role="button" value="{% trans "Add a file"%}" id="add_one"> -->
|
<!-- <input class="btn btn-primary btn-sm" role="button" value="{% trans "Add a file"%}" id="add_one"> -->
|
||||||
{% bootstrap_button action_name name="Print" button_type="submit" icon="star" %}
|
{% bootstrap_button action_name name="Print" button_type="submit" icon="star" %}
|
||||||
</form>
|
</form>
|
||||||
<!-- <script type="text/javascript"> -->
|
|
||||||
|
|
||||||
<!-- var template = `{% bootstrap_form jobform.empty_form label_class='sr-only' %} -->
|
|
||||||
<!-- <button class="btn btn-danger btn-sm" -->
|
|
||||||
<!-- id="id_form-__prefix__-job-remove" type="button"> -->
|
|
||||||
<!-- <span class="fa fa-times"></span> -->
|
|
||||||
<!-- </button>` -->
|
|
||||||
|
|
||||||
<!-- function add_job() { -->
|
|
||||||
<!-- var new_index = -->
|
|
||||||
<!-- document.getElementsByClassName('file_to_print').length; -->
|
|
||||||
<!-- document.getElementById('id_form-TOTAL_FORMS').value ++; -->
|
|
||||||
<!-- var new_job = document.createElement('div'); -->
|
|
||||||
<!-- new_job.className = 'file_to_print form-inline'; -->
|
|
||||||
<!-- new_job.innerHTML = template.replace(/__prefix__/g, new_index); -->
|
|
||||||
<!-- document.getElementById('form_set').appendChild(new_job); -->
|
|
||||||
<!-- add_listener_for_id(new_index); -->
|
|
||||||
<!-- } -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- function del_job(event){ -->
|
|
||||||
<!-- var job = event.target.parentNode; -->
|
|
||||||
<!-- job.parentNode.removeChild(job); -->
|
|
||||||
<!-- document.getElementById('id_form-TOTAL_FORMS').value --; -->
|
|
||||||
<!-- } -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- function add_listener_for_id(i){ -->
|
|
||||||
<!-- document.getElementById('id_form-' + i.toString() + '-job-remove') -->
|
|
||||||
<!-- .addEventListener("click", function(event){ -->
|
|
||||||
<!-- var job = event.target.parentNode; -->
|
|
||||||
<!-- job.parentNode.removeChild(job); -->
|
|
||||||
<!-- document.getElementById('id_form-TOTAL_FORMS').value --; -->
|
|
||||||
<!-- } -->
|
|
||||||
<!-- ) -->
|
|
||||||
<!-- } -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- // Add events manager when DOM is fully loaded -->
|
|
||||||
<!-- document.addEventListener( -->
|
|
||||||
<!-- "DOMContentLoaded", -->
|
|
||||||
<!-- function() { -->
|
|
||||||
<!-- document.getElementById("add_one") -->
|
|
||||||
<!-- .addEventListener("click", add_job, true); -->
|
|
||||||
<!-- document.getElementById('id_form-0-job-remove') -->
|
|
||||||
<!-- .addEventListener("click", function(event){ -->
|
|
||||||
<!-- var job = event.target.parentNode; -->
|
|
||||||
<!-- job.parentNode.removeChild(job); -->
|
|
||||||
<!-- document.getElementById('id_form-TOTAL_FORMS').value --; -->
|
|
||||||
<!-- } -->
|
|
||||||
<!-- ) -->
|
|
||||||
|
|
||||||
<!-- } -->
|
|
||||||
|
|
||||||
<!-- ); -->
|
|
||||||
|
|
||||||
<!-- </script> -->
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue