1 Commits
master ... v0.2

Author SHA1 Message Date
eneller
c5ef95d69b fix: table headers 2025-03-20 21:53:26 +01:00
3 changed files with 5 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
const params = new URLSearchParams(window.location.search);
const searchInput = document.getElementById('searchInput');
const table = document.getElementById('table');
const table_r = Array.from(table.getElementsByTagName('tr'));
const table_r = Array.from(table.getElementsByClassName('table-entry'));
document.addEventListener('keydown', (event)=>{
if (event.ctrlKey && event.key === 'k'){

View File

@@ -1,3 +1,4 @@
/*TODO also style svg icons accordingly */
:root{
--bg:#faf0e673;
--bg-acc:#EEEEEE;

View File

@@ -32,13 +32,13 @@
<thead>
<tr>
<th></th>
<th>Title</th>
<th>Author</th>
<th>Titel</th>
<th>Autor</th>
</tr>
</thead>
<tbody>
{% for item in books %}
<tr>
<tr class="table-entry">
<td>
<a href= {{ item.url }} target="_blank" rel="noopener noreferrer" class="table-link">
<img src="{% static 'open-link.svg' %}" alt="Open Link" class="inline-icon">