aboutsummaryrefslogtreecommitdiffstats
path: root/loggedin.php
diff options
context:
space:
mode:
authorAlex Vitkov <alexvitkov98@gmail.com>2021-02-12 12:39:04 +0200
committerAlex Vitkov <alexvitkov98@gmail.com>2021-02-12 12:39:04 +0200
commitdfcfc5da50c86a936124e820530cb72c93fc1a17 (patch)
tree1752b35ddee7fb4ec6890dd51d6ff423fb17ed0b /loggedin.php
parented66392fc694ffb10b59a22b9305c7334d13a67f (diff)
parent76d480420f611c09625e947f0f0ed496c79f2ce9 (diff)
downloadfileup-dfcfc5da50c86a936124e820530cb72c93fc1a17.tar.gz
Merge branch 'live'
Diffstat (limited to 'loggedin.php')
-rw-r--r--loggedin.php93
1 files changed, 8 insertions, 85 deletions
diff --git a/loggedin.php b/loggedin.php
index dd3a94f..85e59cc 100644
--- a/loggedin.php
+++ b/loggedin.php
@@ -1,10 +1,10 @@
+
<div>
<div class="filesystem">
-
- <h2>
+ <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 type="button" value="New Folder">
+ <input id="upload_btn" type="button" value="Upload" onclick="begin_upload()">
</h2>
<div class="files">
@@ -12,91 +12,14 @@
<img src="/mimeicons/application-pdf.png">
<div class="filename">asdf</div>
</div>
- <div class="file">
- <img src="/mimeicons/application-pdf.png">
- <div class="filename">asdf</div>
- </div>
- <div class="file">
- <img src="/mimeicons/application-pdf.png">
- <div class="filename">asdf</div>
- </div>
- <div class="file">
- <img src="/mimeicons/application-pdf.png">
- <div class="filename">asdf</div>
- </div>
- <div class="file">
- <img src="/mimeicons/application-pdf.png">
- <div class="filename">asdf</div>
- </div>
- <div class="file">
- <img src="/mimeicons/application-pdf.png">
- <div class="filename">asdf</div>
- </div>
- <div class="file">
- <img src="/mimeicons/application-pdf.png">
- <div class="filename">asdf</div>
- </div>
- <div class="file">
- <img src="/mimeicons/application-pdf.png">
- <div class="filename">asdf</div>
- </div>
- <div class="file">
- <img src="/mimeicons/application-pdf.png">
- <div class="filename">asdf</div>
- </div>
- <div class="file">
- <img src="/mimeicons/application-pdf.png">
- <div class="filename">asdf</div>
- </div>
- <div class="file">
- <img src="/mimeicons/application-pdf.png">
- <div class="filename">asdf</div>
- </div>
- <div class="file">
- <img src="/mimeicons/application-pdf.png">
- <div class="filename">asdf</div>
- </div>
- <div class="file">
- <img src="/mimeicons/application-pdf.png">
- <div class="filename">asdf</div>
- </div>
- <div class="file">
- <img src="/mimeicons/application-pdf.png">
- <div class="filename">asdf</div>
- </div>
- <div class="file">
- <img src="/mimeicons/application-pdf.png">
- <div class="filename">asdf</div>
- </div>
- <div class="file">
- <img src="/mimeicons/application-pdf.png">
- <div class="filename">asdf</div>
- </div>
- <div class="file">
- <img src="/mimeicons/application-pdf.png">
- <div class="filename">asdf</div>
- </div>
- <div class="file">
- <img src="/mimeicons/application-pdf.png">
- <div class="filename">asdf</div>
- </div>
- <div class="file">
- <img src="/mimeicons/application-pdf.png">
- <div class="filename">asdf</div>
- </div>
- <div class="file">
- <img src="/mimeicons/application-pdf.png">
- <div class="filename">asdf</div>
- </div>
- <div class="file">
- <img src="/mimeicons/application-pdf.png">
- <div class="filename">asdf</div>
- </div>
</div>
</div>
-
</div>
+<form id="upload_form" style="display:none;" action="php/upload.php" method="post">
+ <input id="filename" name="filename">
+ <input type="file" name="the_file" id="the_file">
+</form>
-
+<script src="loggedin.js"></script>