Webengineering-Filemanager/Frontend/index.html

78 lines
2.4 KiB
HTML
Raw Normal View History

2021-05-23 07:54:48 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Filemanager</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/callbacks.js"></script>
2021-05-23 07:54:48 +00:00
<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">
2021-05-27 05:38:08 +00:00
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="icon" href="favicon.ico" type="image/x-icon">
2021-05-23 07:54:48 +00:00
<link href="static/css/components.css" rel="stylesheet">
<link href="static/css/popup.css" rel="stylesheet">
<link href="static/css/dropdown.css" rel="stylesheet">
<link href="static/css/alert.css" rel="stylesheet">
2021-05-23 07:54:48 +00:00
<link href="static/css/login.css" rel="stylesheet">
2021-05-23 07:54:48 +00:00
<link href="static/css/index.css" rel="stylesheet">
</head>
<body>
<header>
<div class="app-header">
<div class="title">Filemanager</div>
</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>
2021-05-27 05:38:08 +00:00
</div>
<div id="modal" class="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>
2021-05-27 05:38:08 +00:00
<div class="new">
<button type="button" class="material-icon new_btn">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>
</div>
</div>
2021-05-23 07:54:48 +00:00
<div class="box">
<div id="error_wrapper">
2021-05-23 07:54:48 +00:00
</div>
<div id="wrapper">
<div id="tree"></div>
<div id="files"></div>
</div>
2021-05-23 07:54:48 +00:00
</div>
</main>
<footer>
2021-05-23 07:54:48 +00:00
</footer>
</body>
</html>