summaryrefslogtreecommitdiffstats
path: root/files/templates/part.breadcrumb.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-07-07 21:43:35 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-07-07 21:55:58 +0200
commit47993fe29a6a7837e39b1e24e03c3b4ac9d7f794 (patch)
treedd3fed3ae02d32d0a0468db13db94daa74d61c06 /files/templates/part.breadcrumb.php
parent01a9d916e7fe477f6fb42a534e3265ddbe00fddd (diff)
downloadnextcloud-server-47993fe29a6a7837e39b1e24e03c3b4ac9d7f794.tar.gz
nextcloud-server-47993fe29a6a7837e39b1e24e03c3b4ac9d7f794.zip
You can now move files to a parent folder by draging them to an element in the breadcrumb bar
also fixed dragging newly uploaded files and droppin in new folders
Diffstat (limited to 'files/templates/part.breadcrumb.php')
-rw-r--r--files/templates/part.breadcrumb.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/files/templates/part.breadcrumb.php b/files/templates/part.breadcrumb.php
index da9544008b9..34f955fe675 100644
--- a/files/templates/part.breadcrumb.php
+++ b/files/templates/part.breadcrumb.php
@@ -1,4 +1,8 @@
- <a href="<?php echo link_to("files", "index.php?dir=/"); ?>"><img src="<?php echo image_path("", "actions/go-home.png"); ?>" alt="Root" /></a>
+ <div class='crumb' data-dir='/'>
+ <a href="<?php echo link_to("files", "index.php?dir=/"); ?>"><img src="<?php echo image_path("", "actions/go-home.png"); ?>" alt="Root"/></a>
+ </div>
<?php foreach($_["breadcrumb"] as $crumb): ?>
- <a href="<?php echo link_to("files", "index.php?dir=".$crumb["dir"]); ?>"><?php echo htmlspecialchars($crumb["name"]); ?></a>
+ <div class='crumb' data-dir='<?php echo $crumb["dir"];?>'>
+ <a href="<?php echo link_to("files", "index.php?dir=".$crumb["dir"]); ?>"><?php echo htmlspecialchars($crumb["name"]); ?></a>
+ </div>
<?php endforeach; ?> \ No newline at end of file