|
| 1 | +{% load static %} |
1 | 2 | <!DOCTYPE html>
|
2 | 3 | <html>
|
3 | 4 | <head>
|
4 |
| - <script type="text/javascript" src="{{STATIC_URL}}filemanager/js/jquery/jquery.min.js"></script> |
5 |
| - <script type="text/javascript" src="{{STATIC_URL}}filemanager/js/jquery/jquery-migrate.min.js"></script> |
6 |
| - <script type="text/javascript" src="{{STATIC_URL}}filemanager/js/jquery/zclip/jquery.zclip.min.js"></script> |
7 |
| - <link rel="stylesheet" type="text/css" href="{{STATIC_URL}}filemanager/css/style.css"/> |
| 5 | + <script type="text/javascript" src="{% static "filemanager/js/jquery/jquery.min.js" %}"></script> |
| 6 | + <script type="text/javascript" src="{% static "filemanager/js/jquery/jquery-migrate.min.js" %}"></script> |
| 7 | + <script type="text/javascript" src="{% static "filemanager/js/jquery/zclip/jquery.zclip.min.js" %}"></script> |
| 8 | + <link rel="stylesheet" type="text/css" href="{% static "filemanager/css/style.css" %}"/> |
8 | 9 | <!--[if IE]>
|
9 | 10 | <script type="text/javascript" src="{{ STATIC_URL }}js/es5-shim.min.js"></script>
|
10 | 11 | <![endif]-->
|
|
23 | 24 | var space_consumed = {{space_consumed}};
|
24 | 25 | var max_space = {{max_space}}*1024;
|
25 | 26 | </script>
|
26 |
| - <script type="text/javascript" src="{{STATIC_URL}}filemanager/js/script.js"></script> |
| 27 | + <script type="text/javascript" src="{% static "filemanager/js/script.js"%}"></script> |
27 | 28 |
|
28 | 29 | </head>
|
29 | 30 | <body oncontextmenu='return false;'>
|
|
41 | 42 | <input type="text" id="file_or_dir" name="file_or_dir" value="" style="display:none;">
|
42 | 43 | <input type="submit" id="submit" name="submit" value="Submit" style="display:none;">
|
43 | 44 | <label class="control" id="upload-label" for="ufile">
|
44 |
| - <img src="{{STATIC_URL}}filemanager/images/upload.png" style="width:16px;height:16px" width="100%" height="100%"/> |
| 45 | + <img src="{% static "filemanager/images/upload.png"%}" style="width:16px;height:16px" width="100%" height="100%"/> |
45 | 46 | <span>Upload Files</span>
|
46 | 47 | </label>
|
47 | 48 | </form>
|
|
54 | 55 | </div>
|
55 | 56 | <div id="dom-menu" class="menu" style="display:none">
|
56 | 57 | <div id="add-dir" class="menu-option" onclick="do_action('add','dom')">
|
57 |
| - <img src="{{STATIC_URL}}filemanager/images/add_folder.png" style="width:16px;height:16px" width="100%" height="100%"/><span>Create Folder</span> |
| 58 | + <img src="{% static "filemanager/images/add_folder.png"%}" style="width:16px;height:16px" width="100%" height="100%"/><span>Create Folder</span> |
58 | 59 | </div><hr>
|
59 | 60 | <div id="paste-dir" class="menu-option" onclick="do_action('paste','dom')">
|
60 |
| - <img src="{{STATIC_URL}}filemanager/images/paste.png" style="width:16px;height:16px" width="100%" height="100%"/><span>Paste</span> |
| 61 | + <img src="{% static "filemanager/images/paste.png"%}" style="width:16px;height:16px" width="100%" height="100%"/><span>Paste</span> |
61 | 62 | </div><hr>
|
62 | 63 | <div id="download-dir" class="menu-option" onclick="do_action('download','dom')">
|
63 |
| - <img src="{{STATIC_URL}}filemanager/images/download.png" style="width:16px;height:16px" width="100%" height="100%"/><span>Download</span> |
| 64 | + <img src="{% static "filemanager/images/download.png"%}" style="width:16px;height:16px" width="100%" height="100%"/><span>Download</span> |
64 | 65 | </div>
|
65 | 66 | </div>
|
66 | 67 | <div id="dir-menu" class="menu" style="display:none">
|
67 | 68 | <div id="add-dir" class="menu-option" onclick="do_action('add','dir')">
|
68 |
| - <img src="{{STATIC_URL}}filemanager/images/add_folder.png" style="width:16px;height:16px" width="100%" height="100%"/><span>Create Sub-Folder</span> |
| 69 | + <img src="{% static "filemanager/images/add_folder.png"%}" style="width:16px;height:16px" width="100%" height="100%"/><span>Create Sub-Folder</span> |
69 | 70 | </div><hr>
|
70 | 71 | <div id="cut-dir" class="menu-option" onclick="do_action('cut','dir')">
|
71 |
| - <img src="{{STATIC_URL}}filemanager/images/cut.png" style="width:16px;height:16px" width="100%" height="100%"/><span>Cut</span> |
| 72 | + <img src="{% static "filemanager/images/cut.png"%}" style="width:16px;height:16px" width="100%" height="100%"/><span>Cut</span> |
72 | 73 | </div><hr>
|
73 | 74 | <div id="copy-dir" class="menu-option" onclick="do_action('copy','dir')">
|
74 |
| - <img src="{{STATIC_URL}}filemanager/images/copy.png" style="width:16px;height:16px" width="100%" height="100%"/><span>Copy</span> |
| 75 | + <img src="{% static "filemanager/images/copy.png"%}" style="width:16px;height:16px" width="100%" height="100%"/><span>Copy</span> |
75 | 76 | </div><hr>
|
76 | 77 | <div id="paste-dir" class="menu-option" onclick="do_action('paste','dir')">
|
77 |
| - <img src="{{STATIC_URL}}filemanager/images/paste.png" style="width:16px;height:16px" width="100%" height="100%"/><span>Paste</span> |
| 78 | + <img src="{% static "filemanager/images/paste.png"%}" style="width:16px;height:16px" width="100%" height="100%"/><span>Paste</span> |
78 | 79 | </div><hr>
|
79 | 80 | <div id="rename-dir" class="menu-option" onclick="do_action('rename','dir')">
|
80 |
| - <img src="{{STATIC_URL}}filemanager/images/rename.png" style="width:16px;height:16px" width="100%" height="100%"/><span>Rename</span> |
| 81 | + <img src="{% static "filemanager/images/rename.png"%}" style="width:16px;height:16px" width="100%" height="100%"/><span>Rename</span> |
81 | 82 | </div><hr>
|
82 | 83 | <div id="download-dir" class="menu-option" onclick="do_action('download','dir')">
|
83 |
| - <img src="{{STATIC_URL}}filemanager/images/download.png" style="width:16px;height:16px" width="100%" height="100%"/><span>Download</span> |
| 84 | + <img src="{% static "filemanager/images/download.png"%}" style="width:16px;height:16px" width="100%" height="100%"/><span>Download</span> |
84 | 85 | </div><hr>
|
85 | 86 | <div id="delete-dir" class="menu-option" onclick="do_action('delete','dir')">
|
86 |
| - <img src="{{STATIC_URL}}filemanager/images/delete.png" style="width:16px;height:16px" width="100%" height="100%"/><span>Delete</span> |
| 87 | + <img src="{% static "filemanager/images/delete.png"%}" style="width:16px;height:16px" width="100%" height="100%"/><span>Delete</span> |
87 | 88 | </div>
|
88 | 89 | </div>
|
89 | 90 | <div id="file-menu" class="menu" style="display:none">
|
90 | 91 | <div id="rename-file" class="menu-option" onclick="do_action('rename','file')">
|
91 |
| - <img src="{{STATIC_URL}}filemanager/images/rename.png" style="width:16px;height:16px" width="100%" height="100%"/><span>Rename</span> |
| 92 | + <img src="{% static "filemanager/images/rename.png"%}" style="width:16px;height:16px" width="100%" height="100%"/><span>Rename</span> |
92 | 93 | </div><hr>
|
93 | 94 | <div id="unzip-file" class="menu-option unzip-menu" onclick="do_action('unzip','file')" style="display:none">
|
94 |
| - <img src="{{STATIC_URL}}filemanager/images/unzip.png" style="width:16px;height:16px" width="100%" height="100%"/><span>Unzip</span> |
| 95 | + <img src="{% static "filemanager/images/unzip.png"%}" style="width:16px;height:16px" width="100%" height="100%"/><span>Unzip</span> |
95 | 96 | </div><hr class="unzip-menu" style="display:none">
|
96 | 97 | <div id="cut-file" class="menu-option" onclick="do_action('cut','file')">
|
97 |
| - <img src="{{STATIC_URL}}filemanager/images/cut.png" style="width:16px;height:16px" width="100%" height="100%"/><span>Cut</span> |
| 98 | + <img src="{% static "filemanager/images/cut.png"%}" style="width:16px;height:16px" width="100%" height="100%"/><span>Cut</span> |
98 | 99 | </div><hr>
|
99 | 100 | <div id="copy-file" class="menu-option" onclick="do_action('copy','file')">
|
100 |
| - <img src="{{STATIC_URL}}filemanager/images/copy.png" style="width:16px;height:16px" width="100%" height="100%"/><span>Copy</span> |
| 101 | + <img src="{% static "filemanager/images/copy.png"%}" style="width:16px;height:16px" width="100%" height="100%"/><span>Copy</span> |
101 | 102 | </div><hr>
|
102 | 103 | <div id="download-file" class="menu-option" onclick="do_action('download','file')">
|
103 |
| - <img src="{{STATIC_URL}}filemanager/images/download.png" style="width:16px;height:16px" width="100%" height="100%"/><span>Download</span> |
| 104 | + <img src="{% static "filemanager/images/download.png"%}" style="width:16px;height:16px" width="100%" height="100%"/><span>Download</span> |
104 | 105 | </div><hr>
|
105 | 106 | <div id="delete-file" class="menu-option" onclick="do_action('delete','file')">
|
106 |
| - <img src="{{STATIC_URL}}filemanager/images/delete.png" style="width:16px;height:16px" width="100%" height="100%"/><span>Delete</span> |
| 107 | + <img src="{% static "filemanager/images/delete.png"%}" style="width:16px;height:16px" width="100%" height="100%"/><span>Delete</span> |
107 | 108 | </div>
|
108 | 109 | {% if public_url_base %}
|
109 | 110 | <hr>
|
110 | 111 | <div id="copy-public-link-file" class="menu-option">
|
111 |
| - <img src="{{STATIC_URL}}filemanager/images/copy_public_link.png" style="width:16px;height:16px" width="100%" height="100%"/><span>Copy public link</span> |
| 112 | + <img src="{% static "filemanager/images/copy_public_link.png"%}" style="width:16px;height:16px" width="100%" height="100%"/><span>Copy public link</span> |
112 | 113 | </div>
|
113 | 114 | {% endif %}
|
114 | 115 | </div> <div id="popup">
|
115 |
| - <div class="div1"><img src='{{STATIC_URL}}filemanager/images/close.png' onclick="$('#popup').hide();"/> |
| 116 | + <div class="div1"><img src="{% static "filemanager/images/close.png"%}" onclick="$('#popup').hide();"/> |
116 | 117 | <div id="heading"></div></div>
|
117 | 118 | <div class="div2"><input id="input" type="text"></div>
|
118 | 119 | </div>
|
|
0 commit comments