diff --git a/web/html/css/aurweb.css b/web/html/css/aurweb.css
index b33726c4..4fb256f9 100644
--- a/web/html/css/aurweb.css
+++ b/web/html/css/aurweb.css
@@ -124,6 +124,12 @@
opacity: 1;
}
+.ajax-loader {
+ float: right;
+ position: relative;
+ top: 4px;
+}
+
legend {
padding: 1em 0;
}
diff --git a/web/html/images/ajax-loader.gif b/web/html/images/ajax-loader.gif
new file mode 100644
index 00000000..df07e7ec
Binary files /dev/null and b/web/html/images/ajax-loader.gif differ
diff --git a/web/html/index.php b/web/html/index.php
index 175a533f..7068d763 100644
--- a/web/html/index.php
+++ b/web/html/index.php
@@ -160,6 +160,10 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
header("Content-Type: text/css");
readfile("./$path");
break;
+ case "/images/ajax-loader.gif":
+ header("Content-Type: image/gif");
+ readfile("./$path");
+ break;
case "/css/archnavbar/archlogo.gif":
case "/images/new.png":
header("Content-Type: image/png");
diff --git a/web/template/pkg_comments.php b/web/template/pkg_comments.php
index bb006b9f..21ce16f4 100644
--- a/web/template/pkg_comments.php
+++ b/web/template/pkg_comments.php
@@ -70,3 +70,38 @@ $count = pkgbase_comments_count($base_id, $include_deleted);
+