]> source.dussan.org Git - nextcloud-server.git/commitdiff
correctly display icons and rename box
authorJan-Christoph Borchardt <JanCBorchardt@fsfe.org>
Thu, 28 Jul 2011 21:24:00 +0000 (23:24 +0200)
committerJan-Christoph Borchardt <JanCBorchardt@fsfe.org>
Thu, 28 Jul 2011 21:24:00 +0000 (23:24 +0200)
files/css/files.css
files/js/filelist.js

index c66a42a9d33f6a8c937e9cfbf62ac6a55e349e23..166baebf861e26afc6d3246295b9508cc67951f7 100644 (file)
@@ -19,17 +19,18 @@ tbody a { color:#000; }
 span.extention, td.date { color:#999; }
 div.crumb { float:left; display:block; background-repeat:no-repeat; background-position:right 0px; font-weight:bold; padding-top:8px; padding-left:8px; height:28px; /*36-8*/ }
 table tr.mouseOver td { background-color:#eee; }
-table th { padding:.5em; }
+table th { padding:.5em; height:2em; }
 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 { width:5em; padding:0 1em; text-align:right; cursor:help; }
 table th#headerDate, table td.date { width:15em; padding:0 .1em 0 1em; text-align:left; }
 table td.selection, table th.selection, table td.fileaction { width:2em; text-align:center; }
-table td.filename a.name { display:block; background-image:url('../img/file.png'); }
-table td.filename a, table td.login, table td.logout, table td.download, table td.upload, table td.create, table td.delete { padding:.3em .5em .5em 3em; background-position:1em .5em; background-repeat:no-repeat; }
+table td.filename a.name { display:block; background-image:url('../img/file.png'); height:1.5em; vertical-align:middle; }
+table td.filename a, table td.login, table td.logout, table td.download, table td.upload, table td.create, table td.delete { padding:.2em .5em .5em 3em; background-position:1em .5em; background-repeat:no-repeat; }
 table td.filename .nametext, .modified { float:left; padding:.3em 0; }
 table td.filename .nametext { width:80%; }
+table td.filename form { float:left; font-size:.85em; }
 table td.filename a.folder-up { background-image:url('../img/back.png'); font-style:italic; }
 table td.filename a.folder { background-image:url('../img/folder.png'); }
 table td.filename a.folder-home { background-image:url('../img/home.png'); }
index fb96437f0a7318267902156f21e937ab28d5fffa..8a73d83996ed00659f18889a6731e283bd5f62eb 100644 (file)
@@ -78,7 +78,7 @@ FileList={
                var tr=$('tr[data-file="'+name+'"]');
                var td=tr.children('td.filename');
                var input=$('<input value='+name+' class="filename"></input>');
-               var button=$('<input type="sumit" value="Ok"></input>');
+               var button=$('<input type="submit" value="Ok"></input>');
                var form=$('<form action="#"></form>')
                form.append(input);
                form.append(button);