summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-07-28 01:15:36 +0200
committerJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-07-28 01:15:36 +0200
commit9a88f066c58c27152f8c58d5778140b872aa0be6 (patch)
treeecf7f2341ff7d141b9f2fddcf015e7440ff56944 /files
parent78f47c07e078aa9cde119c0eb32a8adc111569f8 (diff)
downloadnextcloud-server-9a88f066c58c27152f8c58d5778140b872aa0be6.tar.gz
nextcloud-server-9a88f066c58c27152f8c58d5778140b872aa0be6.zip
first part of file action icons implementation
Diffstat (limited to 'files')
-rw-r--r--files/css/files.css5
-rw-r--r--files/templates/index.php4
2 files changed, 5 insertions, 4 deletions
diff --git a/files/css/files.css b/files/css/files.css
index c00b595fd2f..7db46e3b0a7 100644
--- a/files/css/files.css
+++ b/files/css/files.css
@@ -95,7 +95,7 @@ table th { padding:.5em; }
table th .name { float:left; margin-left:.5em; }
table th, table td { border-bottom:1px solid #ddd; text-align:left; font-weight:normal; }
table td { border-bottom:1px solid #eee; font-style:normal; }
-table th#headerSize, table td.filesize, table th#headerDate, table td.date { width:4em; padding:0 1em; text-align:right; cursor:help; }
+table th#headerSize, table td.filesize, table th#headerDate, table td.date { width:5em; padding:0 1em; text-align:right; cursor:help; }
table td.selection, table th.selection, table td.fileaction { width:2em; text-align:center; }
table td.filename a { display:block; background-image:url('../img/file.png'); text-decoration:none; }
table td.filename a, table td.login, table td.logout, table td.download, table td.upload, table td.create, table td.delete { padding:.5em .5em .5em 3em; background-position:1em center; background-repeat:no-repeat; }
@@ -122,7 +122,8 @@ table td.delete { background-image:url('../img/delete.png'); }
#fileList tr.selected td.filename a, #fileList tr:hover td.filename a{background-image:none !important}
#select_all{float:left; margin:0.2em; margin-left:0.6em; }
#selectedActions { float:right; display:none; }
-#uploadsize-message{display:none}
+#selectedActions a { margin:0 .5em; }
+#uploadsize-message{ display:none; }
/* add breadcrumb divider to the File item in navigation panel */
#plugins li:first-child{
diff --git a/files/templates/index.php b/files/templates/index.php
index e0c4fd39c15..ac890257394 100644
--- a/files/templates/index.php
+++ b/files/templates/index.php
@@ -29,9 +29,9 @@
<input type="checkbox" id="select_all" />
<span class='name'><?php echo $l->t( 'Name' ); ?></span>
<span id='selectedActions'>
- <a href="" title="" class="download">Download</a>
+ <a href="" title="Download" class="download"><img alt="Download" src="../core/img/actions/download.svg" /></a>
<!--<a href="" title="" class="share">Share</a>-->
- <a href="" title="" class="delete">Delete</a>
+ <a href="" title="Delete" class="delete"><img alt="Delete" src="../core/img/actions/delete.svg" /></a>
</span>
</th>
<th id='headerSize'><?php echo $l->t( 'Size MB' ); ?></th>