correctly display icons and rename box

This commit is contained in:
Jan-Christoph Borchardt 2011-07-28 23:24:00 +02:00
parent 9565ea251d
commit 9642a43129
2 changed files with 5 additions and 4 deletions

View 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'); }

View 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);