<commit_before>{% extends "admin_kompomaatti/base.html" %}
{% load uni_form_tags %}

{% block title %}{{ block.super }} - Entryt{% endblock %}

{% block head %}
{{ block.super }}
	<link rel="stylesheet" href="/static/libs/css/tablesorter/style.css" />
	<script type="text/javascript" src="/static/libs/js/tablesorter/jquery.tablesorter.min.js"></script>
	<script type="text/javascript" src="/static/libs/js/tablesorter/jquery.tablesorter.pager.js"></script>
{% endblock %}

{% block jquery %}
{{ block.super }}
	$("#entry_table").tablesorter({widgets: ['zebra']});
{% endblock %}

{% block content %}
{{ block.super }}
    <h2>Entryt</h2>
    <h3>Listaus</h3>
{% if entries %}
	<table id="entry_table">
		<thead>
			<tr>
				<th>Nimi</th>
				<th>Tekijä</th>
				<th>Käyttäjä</th>
				<th>Kompo</th>
				<th>Tiedosto</th>
				<th>Muokkaa</th>
			</tr>
		</thead>
		<tbody>
{% for entry in entries %}
			<tr>
				<td>{{ entry.name }}</td>
				<td>{{ entry.creator }}</td>
				<td>{{ entry.user.email }}</td>
				<td>{{ entry.compo.name }}</td>
				<td><a href="{{ entry.entryfile.url }}">Lataa</a></td>
	            <td><a class="icon editicon" href="/control/kompomaatti/editentry/{{ entry.id }}/">Muokkaa</a></td>
			</tr>
{% endfor %}
		</tbody>
	</table>
{% else %}
	<p>Ei entryjä.</p>
{% endif %}

	<h3>Lisää</h3>
{% uni_form entryform entryform.helper %}
{% endblock %}<commit_msg>admin_kompomaatti: Remove entry adding from admin panel<commit_after>{% extends "admin_kompomaatti/base.html" %}
{% load uni_form_tags %}

{% block title %}{{ block.super }} - Entryt{% endblock %}

{% block head %}
{{ block.super }}
	<link rel="stylesheet" href="/static/libs/css/tablesorter/style.css" />
	<script type="text/javascript" src="/static/libs/js/tablesorter/jquery.tablesorter.min.js"></script>
	<script type="text/javascript" src="/static/libs/js/tablesorter/jquery.tablesorter.pager.js"></script>
{% endblock %}

{% block jquery %}
{{ block.super }}
	$("#entry_table").tablesorter({widgets: ['zebra']});
{% endblock %}

{% block content %}
{{ block.super }}
    <h2>Entryt</h2>
    <h3>Listaus</h3>
{% if entries %}
	<table id="entry_table">
		<thead>
			<tr>
				<th>Nimi</th>
				<th>Tekijä</th>
				<th>Käyttäjä</th>
				<th>Kompo</th>
				<th>Tiedosto</th>
				<th>Muokkaa</th>
			</tr>
		</thead>
		<tbody>
{% for entry in entries %}
			<tr>
				<td>{{ entry.name }}</td>
				<td>{{ entry.creator }}</td>
				<td>{{ entry.user.email }}</td>
				<td>{{ entry.compo.name }}</td>
				<td><a href="{{ entry.entryfile.url }}">Lataa</a></td>
	            <td><a class="icon editicon" href="/control/kompomaatti/editentry/{{ entry.id }}/">Muokkaa</a></td>
			</tr>
{% endfor %}
		</tbody>
	</table>
{% else %}
	<p>Ei entryjä.</p>
{% endif %}
{% endblock %}
{'fraction_non_alphanumeric': 0.23702359346642468, 'fraction_numerical': 0.003629764065335753, 'mean_word_length': 3.6319327731092437, 'pattern_counts': {'":': 0, '<': 103, '<?xml version=': 0, '>': 103, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1793137', 'n_tokens_mistral': 1247, 'n_tokens_neox': 1059, 'n_words': 180}