minor changes
This commit is contained in:
parent
4a814bbfe4
commit
ab014d8c66
@ -1,5 +1,5 @@
|
|||||||
{% extends 'base.html' %}
|
{% extends 'base.html' %}
|
||||||
{% set SPLIT_CHARACTER = "|" %}
|
{% set SPLIT_CHARACTER = ", " %}
|
||||||
|
|
||||||
{% block title %}Texte{% endblock title %}
|
{% block title %}Texte{% endblock title %}
|
||||||
|
|
||||||
@ -13,7 +13,7 @@
|
|||||||
});
|
});
|
||||||
deRole("#text-table");
|
deRole("#text-table");
|
||||||
|
|
||||||
// create and append "New"-button to
|
// create "New"-element and append it to the <div> containing the DataTables search field
|
||||||
let a = document.createElement("a");
|
let a = document.createElement("a");
|
||||||
a.id = "create-button";
|
a.id = "create-button";
|
||||||
a.setAttribute("title", "Text hinzufügen");
|
a.setAttribute("title", "Text hinzufügen");
|
||||||
@ -22,7 +22,8 @@
|
|||||||
a.innerHTML = "Neu …";
|
a.innerHTML = "Neu …";
|
||||||
document.getElementById("text-table_wrapper").firstElementChild.firstElementChild.appendChild(a);
|
document.getElementById("text-table_wrapper").firstElementChild.firstElementChild.appendChild(a);
|
||||||
}
|
}
|
||||||
</script>{% endblock script %}
|
</script>
|
||||||
|
{% endblock script %}
|
||||||
|
|
||||||
{% block heading %}Texte{% endblock heading %}
|
{% block heading %}Texte{% endblock heading %}
|
||||||
|
|
||||||
@ -38,7 +39,7 @@
|
|||||||
<th>Reihe</th>
|
<th>Reihe</th>
|
||||||
<th>Textform</th>
|
<th>Textform</th>
|
||||||
<th>Sprache</th>
|
<th>Sprache</th>
|
||||||
<th>Genres</th>
|
<th>Genre(s)</th>
|
||||||
<th colspan="2">Aktionen</th>
|
<th colspan="2">Aktionen</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@ -57,4 +58,4 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user