diff --git a/static/admin/simpleui-x/elementui/theme-chalk/display.css b/static/admin/simpleui-x/elementui/theme-chalk/display.css new file mode 100644 index 0000000..1d8790b --- /dev/null +++ b/static/admin/simpleui-x/elementui/theme-chalk/display.css @@ -0,0 +1 @@ +@media only screen and (max-width:767px){.hidden-xs-only{display:none!important}}@media only screen and (min-width:768px){.hidden-sm-and-up{display:none!important}}@media only screen and (min-width:768px) and (max-width:991px){.hidden-sm-only{display:none!important}}@media only screen and (max-width:991px){.hidden-sm-and-down{display:none!important}}@media only screen and (min-width:992px){.hidden-md-and-up{display:none!important}}@media only screen and (min-width:992px) and (max-width:1199px){.hidden-md-only{display:none!important}}@media only screen and (max-width:1199px){.hidden-md-and-down{display:none!important}}@media only screen and (min-width:1200px){.hidden-lg-and-up{display:none!important}}@media only screen and (min-width:1200px) and (max-width:1919px){.hidden-lg-only{display:none!important}}@media only screen and (max-width:1919px){.hidden-lg-and-down{display:none!important}}@media only screen and (min-width:1920px){.hidden-xl-only{display:none!important}} \ No newline at end of file diff --git a/templates/admin/includes/css-part.html b/templates/admin/includes/css-part.html new file mode 100644 index 0000000..79c329d --- /dev/null +++ b/templates/admin/includes/css-part.html @@ -0,0 +1,5 @@ +{% load static simpletags %} + + + + \ No newline at end of file diff --git a/templates/admin/includes/fieldset.html b/templates/admin/includes/fieldset.html new file mode 100644 index 0000000..f2123c3 --- /dev/null +++ b/templates/admin/includes/fieldset.html @@ -0,0 +1,31 @@ +{% load simpletags %} +
+ {% if fieldset.name %}

{{ fieldset.name }}

{% endif %} + {% if fieldset.description %} +
{{ fieldset.description|safe }}
+ {% endif %} + {% for line in fieldset %} +
+ {% if line.fields|length_is:'1' %}{{ line.errors }}{% endif %} + {% for field in line %} + + {% if not line.fields|length_is:'1' and not field.is_readonly %}{{ field.errors }}{% endif %} + {% if field.is_checkbox %} + {{ field.field }}{{ field.label_tag }} + {% else %} + {{ field.label_tag }} + {% if field.is_readonly %} +
{{ field.contents }}
+ {% else %} + {{ field.field|get_value }} + {% endif %} + {% endif %} + {% if field.field.help_text %} +
{{ field.field.help_text|safe }}
+ {% endif %} +
+ {% endfor %} + + {% endfor %} + +
\ No newline at end of file diff --git a/templates/admin/includes/js-part.html b/templates/admin/includes/js-part.html new file mode 100644 index 0000000..7c4e4dc --- /dev/null +++ b/templates/admin/includes/js-part.html @@ -0,0 +1,5 @@ +{% load static simpletags %} + + +{##} + \ No newline at end of file diff --git a/templates/admin/index.html b/templates/admin/index.html index 59535ce..08fbf20 100755 --- a/templates/admin/index.html +++ b/templates/admin/index.html @@ -24,6 +24,7 @@ {% block css %} {% include 'admin/includes/css-part.html' %} + {% endblock %} {% block head %} @@ -130,7 +131,7 @@ {% block header %} - +
+{##}
- + 更新提示 - +
- +
本地日志 @@ -78,7 +79,7 @@ - +
更新日志