diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/templates/server/doc_list_table.html | 17 | ||||
-rw-r--r-- | server/templates/server/index.html | 1 |
2 files changed, 1 insertions, 17 deletions
diff --git a/server/templates/server/doc_list_table.html b/server/templates/server/doc_list_table.html index 9f9ed2a..0096380 100644 --- a/server/templates/server/doc_list_table.html +++ b/server/templates/server/doc_list_table.html @@ -120,16 +120,6 @@ } } - $(".tabulator-group").each(function() { - for (var i = 0; i < this.childNodes.length; i++) { - if (this.childNodes[i].nodeType === 3) { - this.appendChild(elemsMapping[this.childNodes[i].textContent]); - elemsMapping[this.childNodes[i].textContent].style = "background-color: #ccc; margin-left: -10px;"; - elemsMapping[this.childNodes[i].textContent].classList.add("embedded-row"); - } - } - }) - $(".tabulator-col-resize-handle").css("margin-left", "-3px"); }); @@ -258,13 +248,6 @@ } } - for (var key in docTypes) { - tabledata.push({ - type: key, - username: "col_row", - }); - } - var col_select = document.getElementById("column-select"); for (var j = 0; j < col_categories.length; j++) { col_select.innerHTML += '<div class="input-field col s12"><label><input onclick="check_all(\''+col_categories[j].field+'\')" id="category_'+col_categories[j].field+'" type="checkbox" class="filled-in"/><span style="color:black"><b>'+col_categories[j].name+'</b></span></label></div>'; diff --git a/server/templates/server/index.html b/server/templates/server/index.html index e57d575..2db42e4 100644 --- a/server/templates/server/index.html +++ b/server/templates/server/index.html @@ -89,6 +89,7 @@ <div class="hide-on-med-and-down"> <a class="waves-effect waves-light btn {{color}}" href="{% url 'doctype' %}">Tipi</a> <a class="waves-effect waves-light btn {{color}}" href="{% url 'doclist' %}">Documenti</a> + <a class="waves-effect waves-light btn {{color}}" href="{% url 'doclist-table' %}">Documenti (Tabella BETA)</a> <a class="waves-effect waves-light btn {{color}}" href="{% url 'docapprove' %}">Approva documento</a> </div> |