summaryrefslogtreecommitdiffstats
path: root/files/templates
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
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')
-rw-r--r--files/templates/index.php4
-rw-r--r--files/templates/part.breadcrumb.php8
2 files changed, 8 insertions, 4 deletions
diff --git a/files/templates/index.php b/files/templates/index.php
index b9f8c02c93b..a1254eeb423 100644
--- a/files/templates/index.php
+++ b/files/templates/index.php
@@ -23,9 +23,9 @@
</div>
</div>
-<p class="nav">
+<span class="nav">
<?php echo($_['breadcrumb']); ?>
-</p>
+</span>
<table cellspacing="0">
<thead>
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