summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2008-06-13 20:47:41 +0000
committerStef Walter <stef@memberwebs.com>2008-06-13 20:47:41 +0000
commitf8912ab58a52ecbfca4a53e98be8be83e45b17c1 (patch)
tree6e10f30993f28a115d3dac5204994aefbb714320
parenteb9f54be105e309dae51bdc68025ed2a4f2a7e6a (diff)
Older commits that never went into version control
-rw-r--r--COPYING32
l---------INSTALL2
-rw-r--r--Makefile.am2
-rw-r--r--doc/httpd-sample.conf8
-rw-r--r--tools/Makefile.am1
-rw-r--r--www/ajax/rrdui.js1
-rw-r--r--www/ajax/style.css4
7 files changed, 43 insertions, 7 deletions
diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..49af4eb
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,32 @@
+
+Copyright (c) 2005-2006, Stefan Walter
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+ * Redistributions of source code must retain the above
+ copyright notice, this list of conditions and the
+ following disclaimer.
+ * Redistributions in binary form must reproduce the
+ above copyright notice, this list of conditions and
+ the following disclaimer in the documentation and/or
+ other materials provided with the distribution.
+ * The names of contributors to this software may not be
+ used to endorse or promote products derived from this
+ software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
+OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
+THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGE.
+
diff --git a/INSTALL b/INSTALL
index 81fa6ff..5bb6e7b 120000
--- a/INSTALL
+++ b/INSTALL
@@ -1 +1 @@
-/usr/share/automake-1.9/INSTALL \ No newline at end of file
+/usr/share/automake-1.10/INSTALL \ No newline at end of file
diff --git a/Makefile.am b/Makefile.am
index 321579f..115359a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,7 @@
SUBDIRS = tools www
-EXTRA_DIST = graphics tools
+EXTRA_DIST = graphics
dist-hook:
rm -rf `find $(distdir)/ -name .svn`
diff --git a/doc/httpd-sample.conf b/doc/httpd-sample.conf
index 4e1df94..555278a 100644
--- a/doc/httpd-sample.conf
+++ b/doc/httpd-sample.conf
@@ -1,14 +1,16 @@
+# ---------------------------------------------------
+# ADD THE FOLLOWING LINES TO YOUR APACHE httpd.conf
+
# The front end to use
-Alias /rrdui/ /usr/local/share/rrdui/ajax/
+Alias /rrdui /usr/local/share/rrdui/ajax/
# The CGI backend which manages the graphs
-ScriptAlias /rrdui-back /usr/local/bin/rrdui-cgi
+ScriptAlias /rrdui-back /usr/local/libexec/rrdui-cgi
<Location "/rrdui-back">
# The location of the configuration files
SetEnv CONFDIR "/usr/local/etc/rrdbot"
-
# The location of the RRD files
SetEnv WORKDIR "/var/db/rrdbot"
diff --git a/tools/Makefile.am b/tools/Makefile.am
index ed8519b..ac184d0 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -1,6 +1,7 @@
libexec_PROGRAMS = rrdui-cgi
+rrdui_cgi_CFLAGS = -I$(top_srcdir)
rrdui_cgi_SOURCES = rrdui-cgi.c \
../common/config-parser.c ../common/config-parser.h \
diff --git a/www/ajax/rrdui.js b/www/ajax/rrdui.js
index 4a776cb..55c68fd 100644
--- a/www/ajax/rrdui.js
+++ b/www/ajax/rrdui.js
@@ -630,6 +630,7 @@ function displayCategories()
{ changeCategory(evt || window.event); }
categoryArea.insertBefore(el, template);
+ categoryArea.insertBefore(document.createTextNode(" "), template)
}
}
diff --git a/www/ajax/style.css b/www/ajax/style.css
index ac7f89d..7b6cfe2 100644
--- a/www/ajax/style.css
+++ b/www/ajax/style.css
@@ -54,12 +54,12 @@ body
.header
{
background-color: #3D2C2C;
- padding: 4pt 6pt;
+ line-height: 19pt;
+ padding: 3pt 5pt;
font-size: 8pt;
font-weight: bold;
-moz-border-radius: 3pt;
cursor: pointer;
- margin-right: 5pt;
text-decoration: none;
}