summaryrefslogtreecommitdiff
path: root/mirrors/static/mirror_status.js
diff options
context:
space:
mode:
Diffstat (limited to 'mirrors/static/mirror_status.js')
-rw-r--r--mirrors/static/mirror_status.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/mirrors/static/mirror_status.js b/mirrors/static/mirror_status.js
index 241f5c61..44c81935 100644
--- a/mirrors/static/mirror_status.js
+++ b/mirrors/static/mirror_status.js
@@ -1,3 +1,23 @@
+/* mirror_status.js
+ * Homepage: https://projects.archlinux.org/archweb.git/
+ * Copyright: 2012-2013 The Archweb Team (Dan McGee)
+ * License: GPLv2
+ *
+ * This file is part of Archweb.
+ *
+ * Archweb is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Archweb is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Archweb. If not, see <http://www.gnu.org/licenses/>.
+ */
+
function draw_graphs(location_url, log_url, container_id) {
jQuery.when(jQuery.getJSON(location_url), jQuery.getJSON(log_url))
.then(function(loc_data, log_data) {