some admin.js stuff deleted because it only works with login
This commit is contained in:
parent
82ab5f4eae
commit
229f35f816
|
@ -1,5 +1,4 @@
|
||||||
from django.db import models
|
from django.db import models
|
||||||
from django.contrib.admin.widgets import AdminDateWidget
|
|
||||||
from django.forms import ModelForm, DateInput
|
from django.forms import ModelForm, DateInput
|
||||||
|
|
||||||
from .models import Employee
|
from .models import Employee
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
|
|
||||||
|
{% load i18n %}
|
||||||
{% load static %}
|
{% load static %}
|
||||||
|
|
||||||
<script type="text/javascript" src="/admin/jsi18n/"></script>
|
|
||||||
<script type="text/javascript" src="{% static 'admin/js/core.js' %}"></script>
|
<script type="text/javascript" src="{% static 'admin/js/core.js' %}"></script>
|
||||||
<script type="text/javascript" src="{% static 'admin/js/vendor/jquery/jquery.js' %}"></script>
|
<script type="text/javascript" src="{% static 'admin/js/vendor/jquery/jquery.js' %}"></script>
|
||||||
<script type="text/javascript" src="{% static 'admin/js/jquery.init.js' %}"></script>
|
<script type="text/javascript" src="{% static 'admin/js/jquery.init.js' %}"></script>
|
||||||
|
@ -10,9 +11,7 @@
|
||||||
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/base.css' %}" />
|
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/base.css' %}" />
|
||||||
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/widgets.css' %}" />
|
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/widgets.css' %}" />
|
||||||
|
|
||||||
{% load i18n %}
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<center>
|
<center>
|
||||||
<style>
|
<style>
|
||||||
ul > li {
|
ul > li {
|
||||||
|
@ -39,4 +38,5 @@
|
||||||
</table>
|
</table>
|
||||||
<button type="submit" value="submit">Abschicken</button>
|
<button type="submit" value="submit">Abschicken</button>
|
||||||
</form>
|
</form>
|
||||||
</center>{% endblock %}
|
</center>
|
||||||
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in New Issue