summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--js/pkgsubmit.js2
-rw-r--r--log_files.php2
-rw-r--r--style.css6
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))
diff --git a/style.css b/style.css
index 6fb8f1f..d41f680 100644
--- a/style.css
+++ b/style.css
@@ -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%;
}