aboutsummaryrefslogtreecommitdiffstats
path: root/loggedin.php
diff options
context:
space:
mode:
authorAlex Vitkov <alexvitkov98@gmail.com>2021-02-12 16:03:14 +0200
committerAlex Vitkov <alexvitkov98@gmail.com>2021-02-12 16:03:14 +0200
commitd682faeaeea940ab8ab6bcb59245a2116bcc80b1 (patch)
tree0664d6b48d9b20f84a17ab1bcf02f34a5319496c /loggedin.php
parent34ba723e18a7ba0f785e456e38a9234d6efda9b7 (diff)
downloadfileup-d682faeaeea940ab8ab6bcb59245a2116bcc80b1.tar.gz
path selector
Diffstat (limited to 'loggedin.php')
-rw-r--r--loggedin.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/loggedin.php b/loggedin.php
index 0c95750..34b8997 100644
--- a/loggedin.php
+++ b/loggedin.php
@@ -3,11 +3,11 @@
<h2 style="display: flex; gap: 0rem;">
<button id="upload_btn" onclick="begin_upload()">Upload</button>
<div class="separator"></div>
- <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> -->
- <button class="pathentry">Haha's files</button>
- <div class="separator">ยป</div>
- <button class="pathentry">Haha's files</button>
+ <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>