- Improved alerts
- Improved modal - Fixed get_curr_path() function - Improved tools.js - Cleaned up - Refactoring
This commit is contained in:
@@ -2,13 +2,14 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Filemanager</title>
|
||||
<title>File Manager</title>
|
||||
|
||||
<script src="static/js/views.js"></script>
|
||||
<script src="static/js/tools.js"></script>
|
||||
<script src="static/js/alert.js"></script>
|
||||
<script src="static/js/modal.js"></script>
|
||||
<script src="static/js/dropdown.js"></script>
|
||||
<script src="static/js/generate_directory_tree.js"></script>
|
||||
<script src="static/js/callbacks.js"></script>
|
||||
<script src="static/js/index.js"></script>
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Material+Icons" rel="stylesheet">
|
||||
@@ -18,7 +19,7 @@
|
||||
<link href="favicon.ico" rel="icon" type="image/x-icon">
|
||||
|
||||
<link href="static/css/components.css" rel="stylesheet">
|
||||
<link href="static/css/popup.css" rel="stylesheet">
|
||||
<link href="static/css/modal.css" rel="stylesheet">
|
||||
<link href="static/css/dropdown.css" rel="stylesheet">
|
||||
<link href="static/css/alert.css" rel="stylesheet">
|
||||
|
||||
@@ -33,43 +34,13 @@
|
||||
</div>
|
||||
</header>
|
||||
<main>
|
||||
<div id='context_menu'>
|
||||
<button id="download"
|
||||
onclick="download_file(this.parentElement.getAttribute('data-file-name'), this.parentElement.getAttribute('data-mimetype'));">
|
||||
Download
|
||||
</button>
|
||||
<button id="remove" onclick="remove_file(this.parentElement.getAttribute('data-file-name'));">Remove</button>
|
||||
</div>
|
||||
|
||||
<div class="modal" id="modal">
|
||||
<div id="content">
|
||||
<div class="modal_header">
|
||||
<h3 id="modal_title"></h3>
|
||||
<span><i class="material-icons"
|
||||
onclick="document.getElementById('modal').style.display = 'none'">close</i></span>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="modal_content">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="new">
|
||||
<button class="material-icon new_btn" type="button">add</button>
|
||||
<div class="new_content">
|
||||
<button class="material-icon" onclick="add_folder();" type="button">folder</button>
|
||||
<button class="material-icon" onclick="add_file();" type="button">description</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<div id="error_wrapper">
|
||||
|
||||
</div>
|
||||
|
||||
<div id="wrapper">
|
||||
<div id="tree"></div>
|
||||
<div id="files"></div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
Reference in New Issue
Block a user