Skip to content

Commit

Permalink
Use modern widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
rixx committed Oct 7, 2024
1 parent 2db7aaf commit e219185
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion pretalx_venueless/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class Meta:
"join_text",
)
widgets = {
"join_start": forms.DateTimeInput(attrs={"class": "datetimepickerfield"}),
"join_start": forms.DateTimeInput(attrs={"type": "datetime-local"}),
"secret": forms.TextInput(),
"audience": forms.TextInput(),
"issuer": forms.TextInput(),
Expand Down
7 changes: 0 additions & 7 deletions pretalx_venueless/templates/pretalx_venueless/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,11 @@
{% load i18n %}
{% load static %}
{% block scripts %}

{% compress js %}
<script defer src="{% static "vendored/moment-with-locales.js" %}"></script>
<script defer src="{% static "vendored/moment-timezone-with-data-10-year-range.js" %}"></script>
<script defer src="{% static "vendored/datetimepicker/bootstrap-datetimepicker.js" %}"></script>
<script defer src="{% static "orga/js/datetimepicker.js" %}"></script>
<script defer src="{% static "pretalx_venueless/settings.js" %}"></script>
{% endcompress %}
{% endblock %}

{% block content %}

{% if connect_in_progress %}
<h2>{% trans "Confirm your Venueless connection" %}</h2>
<div class="alert alert-info">
Expand Down

0 comments on commit e219185

Please sign in to comment.