Update files.html

pull/156/head
midoks 3 years ago
parent 9cc667ac4a
commit 4b798b14b0
  1. 5
      route/templates/default/files.html

@ -54,14 +54,18 @@
<li onclick="javascript:batch(3);"><a style="cursor: pointer;">压缩</a></li> <li onclick="javascript:batch(3);"><a style="cursor: pointer;">压缩</a></li>
<li onclick="javascript:batch(4);"><a style="cursor: pointer;">删除</a></li> <li onclick="javascript:batch(4);"><a style="cursor: pointer;">删除</a></li>
</ul> </ul>
<script src="/static/js/jquery-ui.min.js?v={{config.version}}"></script> <script src="/static/js/jquery-ui.min.js?v={{config.version}}"></script>
<script src="/static/js/jquery.contextify.min.js?v={{config.version}}"></script> <script src="/static/js/jquery.contextify.min.js?v={{config.version}}"></script>
<script src="/static/app/files.js?v={{config.version}}"></script> <script src="/static/app/files.js?v={{config.version}}"></script>
<script src="/static/app/upload.js?v={{config.version}}"></script> <script src="/static/app/upload.js?v={{config.version}}"></script>
<script type="text/javascript"> <script type="text/javascript">
setTimeout(function() { setTimeout(function() {
getDisk(); getDisk();
}, 500); }, 500);
var xPath = getCookie('open_dir_path'); var xPath = getCookie('open_dir_path');
setTimeout(function() { setTimeout(function() {
getFiles((xPath != undefined ? xPath : '/www/wwwroot')); getFiles((xPath != undefined ? xPath : '/www/wwwroot'));
@ -72,6 +76,7 @@ setCookie('uploadSize', 1024 * 1024 * 1024);
if (getCookie('rank') == undefined || getCookie('rank') == null) { if (getCookie('rank') == undefined || getCookie('rank') == null) {
setCookie('rank', 'a'); setCookie('rank', 'a');
} }
$("#set_icon").click(function() { $("#set_icon").click(function() {
setCookie('rank', 'b'); setCookie('rank', 'b');
$(this).addClass("active"); $(this).addClass("active");

Loading…
Cancel
Save