- Refactoring

- Code cleanup
- Reformatting
This commit is contained in:
2021-05-31 09:53:12 +02:00
parent ca72812304
commit 2e693eb93a
8 changed files with 122 additions and 118 deletions

View File

@@ -7,14 +7,15 @@
<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/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">
<link href="https://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon">
<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">
@@ -40,11 +41,12 @@
<button id="remove" onclick="remove_file(this.parentElement.getAttribute('data-file-name'));">Remove</button>
</div>
<div id="modal" class="modal">
<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>
<span><i class="material-icons"
onclick="document.getElementById('modal').style.display = 'none'">close</i></span>
</div>
<hr>
<div class="modal_content">
@@ -54,10 +56,10 @@
</div>
<div class="new">
<button type="button" class="material-icon new_btn">add</button>
<button class="material-icon new_btn" type="button">add</button>
<div class="new_content">
<button onclick="add_folder();" type="button" class="material-icon">folder</button>
<button onclick="add_file();" type="button" class="material-icon">description</button>
<button class="material-icon" onclick="add_folder();" type="button">folder</button>
<button class="material-icon" onclick="add_file();" type="button">description</button>
</div>
</div>