summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-11 18:59:01 +0200
committerJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-11 19:00:32 +0200
commit99790d68058b56e4a1faa0bba401287e5aa9eab1 (patch)
tree644f70c614bb64c0683879b2309605b39072df15 /files
parentef5e253bf54fb3ec9f12d4d208fee18db05b16fe (diff)
downloadnextcloud-server-99790d68058b56e4a1faa0bba401287e5aa9eab1.tar.gz
nextcloud-server-99790d68058b56e4a1faa0bba401287e5aa9eab1.zip
lots of image changes, use svg EVERYWHERE POSSIBLE
Diffstat (limited to 'files')
-rw-r--r--files/appinfo/app.php2
-rw-r--r--files/css/files.css4
-rw-r--r--files/img/file.pngbin391 -> 0 bytes
-rw-r--r--files/img/folder.pngbin386 -> 0 bytes
-rw-r--r--files/img/home.pngbin416 -> 0 bytes
-rw-r--r--files/img/loading.gifbin1849 -> 0 bytes
-rw-r--r--files/js/filelist.js2
-rw-r--r--files/templates/part.list.php2
8 files changed, 5 insertions, 5 deletions
diff --git a/files/appinfo/app.php b/files/appinfo/app.php
index 94cd43ab0a2..e8b2f0c3169 100644
--- a/files/appinfo/app.php
+++ b/files/appinfo/app.php
@@ -4,6 +4,6 @@ $l=new OC_L10N('files');
OC_App::register( array( "order" => 2, "id" => "files", "name" => "Files" ));
-OC_App::addNavigationEntry( array( "id" => "files_index", "order" => 1, "href" => OC_Helper::linkTo( "files", "index.php" ), "icon" => OC_Helper::imagePath( "files", "home.png" ), "name" => $l->t("Files") ));
+OC_App::addNavigationEntry( array( "id" => "files_index", "order" => 1, "href" => OC_Helper::linkTo( "files", "index.php" ), "icon" => OC_Helper::imagePath( "core", "places/home.svg" ), "name" => $l->t("Files") ));
?>
diff --git a/files/css/files.css b/files/css/files.css
index 9af064ccbe4..d24de2b3270 100644
--- a/files/css/files.css
+++ b/files/css/files.css
@@ -12,7 +12,7 @@
.file_upload_wrapper, #file_newfolder_name { background-repeat:no-repeat; background-position:.5em .3em; padding-left:2em; }
.file_upload_wrapper { font-weight:bold; display:-moz-inline-box; /* fallback for older firefox versions*/ display:inline-block; padding-left:0; overflow:hidden; position:relative; margin-right:1.5em;}
-#file_newfolder_name { background-image:url("../img/folder.png"); font-weight:bold; width:8em; }
+#file_newfolder_name { background-image:url('../../core/img/places/folder.svg'); font-weight:bold; width:8em; }
.file_upload_start, .file_upload_filename { font-size:1em; }
#file_newfolder_submit, #file_upload_submit { width:3em; }
.file_upload_target { display:none; }
@@ -57,4 +57,4 @@ table thead.fixed {height:2em}
.selectedActions a:hover, a.file_action:hover { background:#fff; -moz-box-shadow:0 0 10px #fff; -webkit-box-shadow:0 0 10px #fff; box-shadow:0 0 10px #fff; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px; }
/* add breadcrumb divider to the File item in navigation panel */
-#navigation>ul>li:first-child { background:url('../../core/img/breadcrumb-start.png') no-repeat 12.5em 0px; width:12.5em; padding-right:1em; }
+#navigation>ul>li:first-child { background:url('../../core/img/breadcrumb-start.svg') no-repeat 12.5em 0px; width:12.5em; padding-right:1em; }
diff --git a/files/img/file.png b/files/img/file.png
deleted file mode 100644
index 49790448897..00000000000
--- a/files/img/file.png
+++ /dev/null
Binary files differ
diff --git a/files/img/folder.png b/files/img/folder.png
deleted file mode 100644
index 3edbe257a34..00000000000
--- a/files/img/folder.png
+++ /dev/null
Binary files differ
diff --git a/files/img/home.png b/files/img/home.png
deleted file mode 100644
index b3fb9bbaf6f..00000000000
--- a/files/img/home.png
+++ /dev/null
Binary files differ
diff --git a/files/img/loading.gif b/files/img/loading.gif
deleted file mode 100644
index 5b33f7e54f4..00000000000
--- a/files/img/loading.gif
+++ /dev/null
Binary files differ
diff --git a/files/js/filelist.js b/files/js/filelist.js
index 4a34385fd0b..50a995bf254 100644
--- a/files/js/filelist.js
+++ b/files/js/filelist.js
@@ -3,7 +3,7 @@ FileList={
$('#fileList').empty().html(fileListHtml);
},
addFile:function(name,size,lastModified,loading){
- var img=(loading)?'img/loading.gif':'img/file.png';
+ var img=(loading)?OC.imagePath('core', 'loading.gif'):OC.imagePath('core', 'filetypes/file.png');
var html='<tr data-file="'+name+'" data-type="file" data-size="'+size+'">';
if(name.indexOf('.')!=-1){
var basename=name.substr(0,name.indexOf('.'));
diff --git a/files/templates/part.list.php b/files/templates/part.list.php
index 8b3823f391b..34d727dde2f 100644
--- a/files/templates/part.list.php
+++ b/files/templates/part.list.php
@@ -9,7 +9,7 @@
<tr data-file="<?php echo $file['name'];?>" data-type="<?php echo ($file['type'] == 'dir')?'dir':'file'?>" data-mime="<?php echo $file['mime']?>" data-size='<?php echo $file['size'];?>'>
<td class="filename" style="background-image:url(<?php if($file['type'] == 'dir') echo mimetype_icon('dir'); else echo mimetype_icon($file['mime']); ?>)">
<input type="checkbox" />
- <a class="name" href="<?php if($file['type'] == 'dir') echo link_to('files', 'index.php?dir='.$file['directory'].'/'.$file['name']); else echo link_to('files', 'download.php?file='.$file['directory'].'/'.$file['name']); ?>" title="">
+ <a class="name svg" href="<?php if($file['type'] == 'dir') echo link_to('files', 'index.php?dir='.$file['directory'].'/'.$file['name']); else echo link_to('files', 'download.php?file='.$file['directory'].'/'.$file['name']); ?>" title="">
<span class="nametext">
<?php if($file['type'] == 'dir'):?>
<?php echo htmlspecialchars($file['name']);?>