summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-10-02 23:33:50 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-10-02 23:33:50 +0200
commit9c23c3449b8f9c9d847a64c9a2c7127b87054c7c (patch)
tree60f2d7e76ee2fd11bf1dabec1b7243a3d8349448 /apps/files
parent8b08b1b455b474de3fa376dfafa3de63727364ea (diff)
parentde175a4b0f0971c9cbbf912bbc3fd8cbc190b53d (diff)
downloadnextcloud-server-9c23c3449b8f9c9d847a64c9a2c7127b87054c7c.tar.gz
nextcloud-server-9c23c3449b8f9c9d847a64c9a2c7127b87054c7c.zip
Merge branch 'master' into sharing_mail_notification_master
Conflicts: core/css/share.css
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/ajax/rawlist.php4
-rw-r--r--apps/files/css/files.css11
-rw-r--r--apps/files/templates/index.php2
-rw-r--r--apps/files/templates/part.list.php15
4 files changed, 18 insertions, 14 deletions
diff --git a/apps/files/ajax/rawlist.php b/apps/files/ajax/rawlist.php
index 531481a84c0..40da32b223a 100644
--- a/apps/files/ajax/rawlist.php
+++ b/apps/files/ajax/rawlist.php
@@ -3,10 +3,6 @@
// only need filesystem apps
$RUNTIME_APPTYPES=array('filesystem');
-// Init owncloud
-
-require_once 'lib/template.php';
-
OCP\JSON::checkLoggedIn();
// Load the files
diff --git a/apps/files/css/files.css b/apps/files/css/files.css
index b3ecd1dab93..1508f8ac493 100644
--- a/apps/files/css/files.css
+++ b/apps/files/css/files.css
@@ -16,7 +16,10 @@
display:none; position:fixed; min-width:7em; z-index:10;
padding:.5em; padding-bottom:0; margin-top:.075em; margin-left:-.5em;
text-align:left;
- background:#f8f8f8; border:1px solid #ddd; border-radius:10px; border-top-left-radius:0;
+ background: #f8f8f8;
+ border: 1px solid #ddd;
+ border-radius: 5px;
+ border-top-left-radius: 0;
box-shadow:0 2px 7px rgba(170,170,170,.4);
}
#new>ul>li { height:36px; margin:.3em; padding-left:3em; padding-bottom:0.1em;
@@ -228,6 +231,12 @@ table td.filename form { font-size:.85em; margin-left:3em; margin-right:3em; }
-webkit-transition:background-image 500ms; -moz-transition:background-image 500ms; -o-transition:background-image 500ms; transition:background-image 500ms;
}
+#fileList tr td.filename a.name label {
+ position: absolute;
+ width: 100%;
+ height: 50px;
+}
+
#uploadsize-message,#delete-confirm { display:none; }
/* File actions */
diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php
index 35077e7dc1a..e578a1f563c 100644
--- a/apps/files/templates/index.php
+++ b/apps/files/templates/index.php
@@ -9,7 +9,7 @@
data-type='file'><p><?php p($l->t('Text file'));?></p></li>
<li style="background-image:url('<?php p(OCP\mimetype_icon('dir')) ?>')"
data-type='folder'><p><?php p($l->t('Folder'));?></p></li>
- <li style="background-image:url('<?php p(OCP\image_path('core', 'filetypes/web.svg')) ?>')"
+ <li style="background-image:url('<?php p(OCP\image_path('core', 'places/link.svg')) ?>')"
data-type='web'><p><?php p($l->t('From link'));?></p></li>
</ul>
</div>
diff --git a/apps/files/templates/part.list.php b/apps/files/templates/part.list.php
index 1e4d4d11c98..0679da334de 100644
--- a/apps/files/templates/part.list.php
+++ b/apps/files/templates/part.list.php
@@ -30,16 +30,15 @@ $totalsize = 0; ?>
<?php endif; ?>
<?php if($file['type'] == 'dir'): ?>
<a class="name" href="<?php p(rtrim($_['baseURL'],'/').'/'.trim($directory,'/').'/'.$name); ?>" title="">
+ <span class="nametext">
+ <?php print_unescaped(htmlspecialchars($file['name']));?>
+ </span>
<?php else: ?>
- <a class="name" href="<?php p(rtrim($_['downloadURL'],'/').'/'.trim($directory,'/').'/'.$name); ?>" title="">
+ <a class="name" href="<?php p(rtrim($_['downloadURL'],'/').'/'.trim($directory,'/').'/'.$name); ?>">
+ <label class="filetext" title="" for="select-<?php p($file['fileid']); ?>"></label>
+ <span class="nametext"><?php print_unescaped(htmlspecialchars($file['basename']));?><span class='extension'><?php p($file['extension']);?></span>
+ </a>
<?php endif; ?>
- <span class="nametext">
- <?php if($file['type'] == 'dir'):?>
- <?php print_unescaped(htmlspecialchars($file['name']));?>
- <?php else:?>
- <?php print_unescaped(htmlspecialchars($file['basename']));?><span class='extension'><?php p($file['extension']);?></span>
- <?php endif;?>
- </span>
<?php if($file['type'] == 'dir'):?>
<span class="uploadtext" currentUploads="0">
</span>