From f8912ab58a52ecbfca4a53e98be8be83e45b17c1 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 13 Jun 2008 20:47:41 +0000 Subject: Older commits that never went into version control --- COPYING | 32 ++++++++++++++++++++++++++++++++ INSTALL | 2 +- Makefile.am | 2 +- doc/httpd-sample.conf | 8 +++++--- tools/Makefile.am | 1 + www/ajax/rrdui.js | 1 + www/ajax/style.css | 4 ++-- 7 files changed, 43 insertions(+), 7 deletions(-) create mode 100644 COPYING 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 # 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; } -- cgit v1.2.3