remove the static resource wont change

This commit is contained in:
wrmswindmill 2018-10-10 10:47:49 +08:00
parent cc9b57c404
commit 1acbc18b22
3 changed files with 29 additions and 56 deletions

View File

@ -122,7 +122,7 @@ DATABASES = {
'ENGINE': 'django.db.backends.mysql', 'ENGINE': 'django.db.backends.mysql',
'NAME': 'codepedia', 'NAME': 'codepedia',
'USER': 'root', 'USER': 'root',
'PASSWORD': 'root', 'PASSWORD': 'codepedia123',
'HOST': '127.0.0.1' 'HOST': '127.0.0.1'
} }
} }

BIN
dump.rdb

Binary file not shown.

View File

@ -7,73 +7,46 @@
<script> <script>
document.documentElement.style.fontSize=innerWidth/16+"px"; document.documentElement.style.fontSize=innerWidth/16+"px";
</script> </script>
<script type="application/javascript" src="{% static 'js/jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js' %}"></script>
{% comment %} <script type="application/javascript" src="{% static 'js/prettify.js' %}"></script> {% endcomment %}
{% comment %} <script type="application/javascript" src="{% static 'js/WebPageGuide.js' %}"></script> {% endcomment %}
<script type="application/javascript" src="{% static 'js/jquery-ui.min.js' %}"></script>
<script type="application/javascript" src="{% static 'js/layer.js' %}"></script>
<script type="application/javascript" src="{% static 'js/jquery-autoHeightTextarea.min.js' %}"></script>
<script type="application/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.js"></script>
<script type="application/javascript" src="{% static 'js/jstree.js' %}"></script>
{% comment %} <script type="application/javascript" src="{% static 'js/source.js' %}"></script> {% endcomment %}
<script type="text/javascript"> <link rel="stylesheet" type="text/css" href="{% static 'vendor/bootstrap/css/bootstrap1.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'vendor/qtip/jquery.qtip.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'css/font-awesome.css' %}">
{% comment %} <link rel="stylesheet" type="text/css" href="{% static 'css/WebPageGuide.css' %}"> {% endcomment %}
<link rel="stylesheet" type="text/css" href="{% static 'css/jquery-ui.min.css' %}">
{% comment %} <link rel="stylesheet" type="text/css" href="{% static 'css/theme/default/layer.css' %}"> {% endcomment %}
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css" rel="stylesheet">
{% comment %} <link rel="stylesheet" type="text/css" href="{% static 'css/prettify.css' %}"> {% endcomment %}
{% comment %} <link rel="stylesheet" type="text/css" href="{% static 'css/code_show.css' %}"> {% endcomment %}
{% comment %} <link rel="stylesheet" type="text/css" href="{% static 'css/load.css' %}"> {% endcomment %}
<!-- jstree -->
{% comment %} <link rel="stylesheet" type="text/css" href="{% static 'css/jstreeStyle.css' %}"> {% endcomment %}
<!-- highlight.js -->
<link href="{% static 'css/monokai-sublime.css' %}" rel="stylesheet" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.css" rel="stylesheet">
<title>CodePedia-{{ project.name }}</title>
<script type="text/javascript">
//js后缀加个时间戳每回更新都会改变浏览器视其为新的js不会进行缓存 //js后缀加个时间戳每回更新都会改变浏览器视其为新的js不会进行缓存
document.write('<link rel="stylesheet" href="{% static 'vendor/bootstrap/css/bootstrap1.css' %}?time=' + new Date().getTime() + '">');
document.write('<link rel="stylesheet" href="{% static 'vendor/qtip/jquery.qtip.css' %}?time=' + new Date().getTime() + '">');
document.write('<link rel="stylesheet" href="{% static 'css/font-awesome.css' %}?time=' + new Date().getTime() + '">');
document.write('<link rel="stylesheet" href="{% static 'css/WebPageGuide.css' %}?time=' + new Date().getTime() + '">'); document.write('<link rel="stylesheet" href="{% static 'css/WebPageGuide.css' %}?time=' + new Date().getTime() + '">');
document.write('<link rel="stylesheet" href="{% static 'css/jquery-ui.min.css' %}?time=' + new Date().getTime() + '">');
document.write('<link rel="stylesheet" href="{% static 'css/theme/default/layer.css' %}?time=' + new Date().getTime() + '">'); document.write('<link rel="stylesheet" href="{% static 'css/theme/default/layer.css' %}?time=' + new Date().getTime() + '">');
document.write('<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css?time=' + new Date().getTime() + '"/>');
document.write('<link rel="stylesheet" href="{% static 'css/prettify.css' %}?time=' + new Date().getTime() + '">'); document.write('<link rel="stylesheet" href="{% static 'css/prettify.css' %}?time=' + new Date().getTime() + '">');
document.write('<link rel="stylesheet" href="{% static 'css/code_show.css' %}?time=' + new Date().getTime() + '">'); document.write('<link rel="stylesheet" href="{% static 'css/code_show.css' %}?time=' + new Date().getTime() + '">');
document.write('<link rel="stylesheet" href="{% static 'css/load.css' %}?time=' + new Date().getTime() + '">'); document.write('<link rel="stylesheet" href="{% static 'css/load.css' %}?time=' + new Date().getTime() + '">');
document.write('<link rel="stylesheet" href="{% static 'css/jstreeStyle.css' %}?time=' + new Date().getTime() + '">'); document.write('<link rel="stylesheet" href="{% static 'css/jstreeStyle.css' %}?time=' + new Date().getTime() + '">');
document.write('<link rel="stylesheet" href="{% static 'css/monokai-sublime.css' %}?time=' + new Date().getTime() + '">');
document.write('<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.css?time=' + new Date().getTime() + '"/>');
document.write('<script type="application/javascript" src="{% static 'js/jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js' %}?time='+new Date().getTime()+'"><'+'/'+'script>');
document.write('<script type="application/javascript" src="{% static 'js/prettify.js' %}?time='+new Date().getTime()+'"><'+'/'+'script>'); document.write('<script type="application/javascript" src="{% static 'js/prettify.js' %}?time='+new Date().getTime()+'"><'+'/'+'script>');
document.write('<script type="application/javascript" src="{% static 'js/WebPageGuide.js' %}?time='+new Date().getTime()+'"><'+'/'+'script>'); document.write('<script type="application/javascript" src="{% static 'js/WebPageGuide.js' %}?time='+new Date().getTime()+'"><'+'/'+'script>');
document.write('<script type="application/javascript" src="{% static 'js/jquery-ui.min.js' %}?time='+new Date().getTime()+'"><'+'/'+'script>');
document.write('<script type="application/javascript" src="{% static 'js/layer.js' %}?time='+new Date().getTime()+'"><'+'/'+'script>');
document.write('<script type="application/javascript" src="{% static 'js/jquery-autoHeightTextarea.min.js' %}?time='+new Date().getTime()+'"><'+'/'+'script>');
document.write('<script type="application/javascript" src="{% static 'js/jstree.js' %}?time='+new Date().getTime()+'"><'+'/'+'script>');
document.write('<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js?time='+new Date().getTime()+'"><'+'/'+'script>')
document.write('<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.js?time='+new Date().getTime()+'"><'+'/'+'script>')
document.write('<script type="application/javascript" src="{% static 'js/source.js' %}?time='+new Date().getTime()+'"><'+'/'+'script>'); document.write('<script type="application/javascript" src="{% static 'js/source.js' %}?time='+new Date().getTime()+'"><'+'/'+'script>');
</script> </script>
{# <script type="application/javascript" src="{% static 'js/jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js' %}"></script>#}
{# <script type="application/javascript" src="{% static 'js/prettify.js' %}"></script>#}
{# <script type="application/javascript" src="{% static 'js/WebPageGuide.js' %}"></script>#}
{# <script type="application/javascript" src="{% static 'js/jquery-ui.min.js' %}"></script>#}
{# <script type="application/javascript" src="{% static 'js/layer.js' %}"></script>#}
{# <script type="application/javascript" src="{% static 'js/jquery-autoHeightTextarea.min.js' %}"></script>#}
{# <script type="application/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>#}
{# <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.js"></script>#}
{# <script type="application/javascript" src="{% static 'js/jstree.js' %}"></script>#}
{#<script type="application/javascript" src="{% static 'js/source.js' %}"></script>#}
{# <link rel="stylesheet" type="text/css" href="{% static 'vendor/bootstrap/css/bootstrap1.css' %}">#}
{# <link rel="stylesheet" type="text/css" href="{% static 'vendor/qtip/jquery.qtip.css' %}">#}
{# <link rel="stylesheet" type="text/css" href="{% static 'css/font-awesome.css' %}">#}
{# <link rel="stylesheet" type="text/css" href="{% static 'css/WebPageGuide.css' %}">#}
{# <link rel="stylesheet" type="text/css" href="{% static 'css/jquery-ui.min.css' %}">#}
{# <link rel="stylesheet" type="text/css" href="{% static 'css/theme/default/layer.css' %}">#}
{# <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css" rel="stylesheet">#}
{##}
{# <link rel="stylesheet" type="text/css" href="{% static 'css/prettify.css' %}">#}
{# <link rel="stylesheet" type="text/css" href="{% static 'css/code_show.css' %}">#}
{# <link rel="stylesheet" type="text/css" href="{% static 'css/load.css' %}">#}
{##}
{# <!-- jstree -->#}
{# <link rel="stylesheet" type="text/css" href="{% static 'css/jstreeStyle.css' %}">#}
{##}
{# <!-- highlight.js -->#}
{# <link href="{% static 'css/monokai-sublime.css' %}" rel="stylesheet" />#}
{# <link href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.css" rel="stylesheet">#}
{##}
{# <title>CodePedia-{{ project.name }}</title>#}
{% comment %} <!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/jstree/3.2.1/jstree.min.js"></script> {% endcomment %}
{% comment %} <!-- <link href="{% static 'css/jstree.css' %}" rel="stylesheet" /> --> {% endcomment %}
<script> <script>
function display_loading(){ function display_loading(){
$("#filelist-content").html('<div class="spinner"><div class="rect1"></div><div class="rect2"></div><div class="rect3"></div><div class="rect4"></div><div class="rect5"></div></div>') $("#filelist-content").html('<div class="spinner"><div class="rect1"></div><div class="rect2"></div><div class="rect3"></div><div class="rect4"></div><div class="rect5"></div></div>')