Skip to content
Snippets Groups Projects

Submission improvements

Merged Benjamin Hättasch requested to merge features-submission-improvements into master
Files
3
@@ -2,6 +2,7 @@
{% load i18n %}
{% load fontawesome_5 %}
{% load static %}
{% block title %}{% trans "AKs" %}: {{ event.name }} - {% trans "AK Submission" %}{% endblock %}
@@ -11,7 +12,21 @@
.table td:nth-child(5) {
white-space: nowrap;
}
/* Make Select2 boxes match Bootstrap heights: */
.select2-selection__rendered {
line-height: 32px !important;
}
.select2-selection {
height: 34px !important;
}
</style>
{% if event.active %}
<link href="{% static 'common/vendor/select2/select2.min.css' %}" rel="stylesheet" />
<script src="{% static 'common/vendor/select2/select2.min.js' %}"></script>
{% endif %}
{% endblock %}
{% block breadcrumbs %}
@@ -65,3 +80,11 @@
{% include "AKSubmission/ak_list.html" %}
{% endblock %}
{% block bottom_script %}
{% if event.active %}
<script>
$("#selectOwnerId").select2();
</script>
{% endif %}
{% endblock %}
Loading