-
-
Notifications
You must be signed in to change notification settings - Fork 676
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #273 from newpanjing/dev
Dev
- Loading branch information
Showing
10 changed files
with
50 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
|
||
|
||
def get_version(): | ||
return '4.0.2' | ||
return '4.0.3' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,19 @@ | ||
{% load i18n static simpletags %} | ||
<!DOCTYPE html> | ||
{% load i18n static simpletags %} | ||
{% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %} | ||
<html lang="{{ LANGUAGE_CODE|default:" en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}> | ||
<head> | ||
<title>{% block title %}{% endblock %}</title> | ||
|
||
{% if "SIMPLEUI_STATIC_OFFLINE"|get_config %} | ||
<link rel="stylesheet" href="{% static '/admin/simpleui-x/elementui/theme-chalk/index.css' %}"> | ||
<link rel="stylesheet" href="{% static '/admin/simpleui-x/fontawesome-free-5.8.1-web/css/all.min.css' %}"> | ||
{% else %} | ||
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css"> | ||
<link rel="stylesheet" href="https://cdn.bootcss.com/font-awesome/5.8.1/css/all.min.css"> | ||
{% endif %} | ||
{% include 'admin/includes/css-part.html' %} | ||
|
||
<link rel="stylesheet" type="text/css" href="{% static " admin | ||
/css/base.css" %}"> | ||
<link rel="stylesheet" href="{% static '/admin/simpleui-x/css/base.css' %}?_=2.7"> | ||
<link rel="stylesheet" href="{% static '/admin/simpleui-x/theme/simpleui.css' %}"> | ||
|
||
|
||
{% if "SIMPLEUI_STATIC_OFFLINE"|get_config %} | ||
<script type="text/javascript" src="{% static '/admin/simpleui-x/js/vue.min.js' %}"></script> | ||
<script type="text/javascript" src="{% static '/admin/simpleui-x/elementui/index.js' %}"></script> | ||
{% else %} | ||
{# | ||
<script src="https://cdn.jsdelivr.net/npm/vue"></script> | ||
#} | ||
<script src="https://unpkg.com/[email protected]/dist/vue.min.js"></script> | ||
<script src="https://unpkg.com/element-ui/lib/index.js"></script> | ||
{% endif %} | ||
<link rel="stylesheet" type="text/css" href="{% static '/admin/css/base.css' %}?_=2.7"> | ||
<link rel="stylesheet" type="text/css" href="{% static '/admin/simpleui-x/css/base.css' %}?_=2.7"> | ||
<link rel="stylesheet" type="text/css" href="{% static '/admin/simpleui-x/theme/simpleui.css' %}"> | ||
|
||
|
||
|
||
{% include 'admin/includes/js-part.html' %} | ||
|
||
<script type="text/javascript" src="{% static '/admin/simpleui-x/js/language.js' %}?_=2.1.2"></script> | ||
<script type="text/javascript" src="{% static '/admin/simpleui-x/locale/en-us.js' %}?_=2.1.2"></script> | ||
|
@@ -46,17 +31,13 @@ | |
<script type="text/javascript" src="{% static '/admin/simpleui-x/js/cookie.js' %}"></script> | ||
{% block extrastyle %}{% endblock %} | ||
{% if LANGUAGE_BIDI %} | ||
<link rel="stylesheet" type="text/css" href=" | ||
{% block stylesheet_rtl %}{% static " admin | ||
/css/rtl.css" %}{% endblock %}?_=20180905"/>{% endif %} | ||
<link rel="stylesheet" type="text/css" href="{% block stylesheet_rtl %}{% static "admin/css/rtl.css" %}{% endblock %}?_=20180905"/>{% endif %} | ||
{% block extrahead %}{% endblock %} | ||
{% block responsive %} | ||
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0"> | ||
<link rel="stylesheet" type="text/css" href="{% static " admin | ||
/css/responsive.css" %}?_=20180905"/> | ||
<link rel="stylesheet" type="text/css" href="{% static "admin/css/responsive.css" %}?_=20180905"/> | ||
{% if LANGUAGE_BIDI %} | ||
<link rel="stylesheet" type="text/css" href="{% static " admin | ||
/css/responsive_rtl.css" %}?_=20180905"/> | ||
<link rel="stylesheet" type="text/css" href="{% static "admin/css/responsive_rtl.css" %}?_=20180905"/> | ||
{% endif %} | ||
{% endblock %} | ||
{% block blockbots %} | ||
|
@@ -77,8 +58,7 @@ | |
|
||
{% if "SIMPLEUI_DEFAULT_THEME"|get_config %} | ||
<link v-else rel="stylesheet" | ||
href="{% static 'admin/simpleui-x/theme/' %}{{ " SIMPLEUI_DEFAULT_THEME | ||
"|get_config }}"> | ||
href="{% static 'admin/simpleui-x/theme/' %}{{ "SIMPLEUI_DEFAULT_THEME"|get_config }}"> | ||
{% endif %} | ||
</div> | ||
<script type="text/javascript"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{% load static simpletags %} | ||
{% if "SIMPLEUI_STATIC_OFFLINE"|get_config %} | ||
<link rel="stylesheet" href="{% static '/admin/simpleui-x/elementui/theme-chalk/index.css' %}"> | ||
<link rel="stylesheet" href="{% static '/admin/simpleui-x/fontawesome-free-5.8.1-web/css/all.min.css' %}"> | ||
<link rel="stylesheet" type="text/css" href="{% static '/admin/simpleui-x/elementui/theme-chalk/index.css' %}"> | ||
<link rel="stylesheet" type="text/css" href="{% static '/admin/simpleui-x/fontawesome-free-5.8.1-web/css/all.min.css' %}"> | ||
{% else %} | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/lib/theme-chalk/index.css"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css"> | ||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/[email protected]/lib/theme-chalk/index.css"> | ||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css"> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,6 @@ | |
<script type="text/javascript" src="{% static '/admin/simpleui-x/js/vue.min.js' %}"></script> | ||
<script type="text/javascript" src="{% static '/admin/simpleui-x/elementui/index.js' %}"></script> | ||
{% else %} | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/index.js"></script> | ||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.min.js"></script> | ||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected]/lib/index.js"></script> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters