aboutsummaryrefslogtreecommitdiffstats
path: root/loggedin.php
diff options
context:
space:
mode:
Diffstat (limited to 'loggedin.php')
-rw-r--r--loggedin.php14
1 files changed, 10 insertions, 4 deletions
diff --git a/loggedin.php b/loggedin.php
index b525ed6..5c900c9 100644
--- a/loggedin.php
+++ b/loggedin.php
@@ -1,9 +1,14 @@
<div>
<div class="filesystem">
- <h2 style="display: flex; gap: 1rem;">
- <div class="path">
- <a class="pathentry" href="#"> <?php echo $_SESSION['username'] ?>'s files/</a><a class="pathentry" href="#">foo/</a><a class="pathentry" href="#">bar</a></div>
- <input id="upload_btn" type="button" value="Upload" onclick="begin_upload()">
+ <h2 style="display: flex; gap: 0rem;">
+ <button id="upload_btn" onclick="begin_upload()">Upload</button>
+ <div class="separator"></div>
+ <button id="upload_btn" onclick="begin_upload()">New Folder</button>
+ <div class="separator"></div>
+ <div class="path" id="the_path">
+ <!-- <a class="pathentry" href="#"> /</a><a class="pathentry" href="#">foo/</a><a class="pathentry" href="#">bar</a> -->
+ <button class="pathentry" onclick="pwd.length = 0; load_dir();"><?php echo $_SESSION['username'] ?>'s files</button>
+ </div>
</h2>
<div class="files" id="current_directory">
@@ -17,4 +22,5 @@
<input type="file" name="the_file" id="the_file">
</form>
+
<script src="loggedin.js"></script>