diff options
-rw-r--r-- | js/pkgsubmit.js | 2 | ||||
-rw-r--r-- | log_files.php | 2 | ||||
-rw-r--r-- | style.css | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/js/pkgsubmit.js b/js/pkgsubmit.js index 19e9382..851462c 100644 --- a/js/pkgsubmit.js +++ b/js/pkgsubmit.js @@ -140,7 +140,7 @@ function show_log_file(ev) { var el = $("#" + elId); if (c.length == 0) { - $(this).after($("<div />", { + $(this).next().after($("<div />", { id: cId }) .addClass(isShortFile($(this).attr("href")) ? "short" : "") diff --git a/log_files.php b/log_files.php index 4648a6f..4c301cf 100644 --- a/log_files.php +++ b/log_files.php @@ -134,7 +134,7 @@ function print_list($list) $top = basename($f); $l[] = sprintf('<li><span class="dir">%s</span>%s</li>', $top, print_list($list[$top])); } elseif (file_exists($f)) { - $l[] = sprintf('<li><a href="%s" rel="nofollow" class="view-inline">%s</a> (%s)</li>', + $l[] = sprintf('<li><a href="%s" rel="nofollow" class="view-inline">%s</a> <span class="filesize">(%s)</span></li>', 'uploads' . str_replace($upload_dir, '', $f), basename($f), _format_bytes(filesize($f)) @@ -107,13 +107,13 @@ span.dir { font-weight: bold; } } .controls { - float: right; + float: left; text-align: right; } .short .controls { display: none; } -.gotobo, .gototop { - margin-left: 0.5em; +.gotobo, .gototop, .close { + margin: 0.6em 1em 0.6em 0; font-size: 90%; } |