summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
authorMarcel Korpel <marcel.korpel@gmail.com>2015-07-21 22:53:57 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-08-08 12:59:24 +0200
commit54d812ec791de4b36d45cdcb853d01dc72d78669 (patch)
treeda97b3ae8534d628f124da98daf55f11f9cad30f /web/html
parent8328223a5e4670fbeb62c13ef89aa345f3ccc4c8 (diff)
downloadaur-54d812ec791de4b36d45cdcb853d01dc72d78669.tar.gz
aur-54d812ec791de4b36d45cdcb853d01dc72d78669.tar.xz
pkg_comments.php: Add JavaScript function to edit comments
Signed-off-by: Marcel Korpel <marcel.korpel@gmail.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/html')
-rw-r--r--web/html/css/aurweb.css6
-rw-r--r--web/html/images/ajax-loader.gifbin0 -> 723 bytes
-rw-r--r--web/html/index.php4
3 files changed, 10 insertions, 0 deletions
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
--- /dev/null
+++ b/web/html/images/ajax-loader.gif
Binary files 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");