aboutsummaryrefslogtreecommitdiffstats
path: root/loggedin.php
diff options
context:
space:
mode:
authoradam <adam@>2021-02-12 16:40:29 +0200
committeradam <adam@>2021-02-12 16:40:29 +0200
commit6a6c2249ddc649bb114ce8a5cc619ae16a43d20f (patch)
tree6b7dacc563a69809962a7978287542f1d71a4063 /loggedin.php
parent0c3d535a341dcefd702982715f6d20275a0f512d (diff)
parent6992510faf7de95b37d151da3d5e6f7026af343e (diff)
downloadfileup-6a6c2249ddc649bb114ce8a5cc619ae16a43d20f.tar.gz
Merge branch 'master' of https://github.com/alexvitkov/india
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>