- Download files
- Remove files - Create files - Refactoring - Bug fix
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
|
||||
<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>
|
||||
<script src="static/js/index.js"></script>
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Material+Icons" rel="stylesheet">
|
||||
@@ -15,8 +17,11 @@
|
||||
<link rel="icon" href="favicon.ico" type="image/x-icon">
|
||||
|
||||
<link href="static/css/components.css" rel="stylesheet">
|
||||
<link href="static/css/login.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">
|
||||
|
||||
<link href="static/css/login.css" rel="stylesheet">
|
||||
<link href="static/css/index.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
@@ -27,24 +32,35 @@
|
||||
</div>
|
||||
</header>
|
||||
<main>
|
||||
<div id='custom-menu'>
|
||||
<button id="download">Download</button>
|
||||
<button id="remove">Remove</button>
|
||||
<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 id="file_view" class="modal">
|
||||
<div id="modal" class="modal">
|
||||
<div id="content">
|
||||
<div class="modal-header">
|
||||
<h3 id="file_title"></h3>
|
||||
<span><i class="material-icons" onclick="document.getElementById('file_view').style.display = 'none'">close</i></span>
|
||||
<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 class="modal_content">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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>
|
||||
|
||||
<div class="box">
|
||||
<div id="error_wrapper">
|
||||
|
||||
@@ -56,9 +72,7 @@
|
||||
</div>
|
||||
</main>
|
||||
<footer>
|
||||
<div class="box">
|
||||
<a href="impressum.html">Impressum</a>
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user