torrus skinning improvements, RT#10574
authorivan <ivan>
Wed, 29 Dec 2010 03:24:08 +0000 (03:24 +0000)
committerivan <ivan>
Wed, 29 Dec 2010 03:24:08 +0000 (03:24 +0000)
Makefile
torrus/sup/webplain/torrus.css
torrus/templates/default-rrd.html

index 2a8d93c..32e5284 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -290,7 +290,7 @@ update-selfservice:
          ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "cd FS-SelfService; sudo make install" ;\
        done
 
-install: install-perl-modules install-docs install-init install-apache install-rt install-texmf
+install: install-perl-modules install-docs install-init install-apache install-rt install-torrus install-texmf
 
 deploy: install
        ${HTTPD_RESTART}
@@ -382,12 +382,13 @@ configure-torrus:
        torrus_user=freeside var_user=freeside var_group=freeside ./configure
 
 install-torrus:
-       cd torrus; \
-       make; \
-       make install
-       perl -p -i -e "\
-         s'%%%FREESIDE_URL%%%'${FREESIDE_URL}'g;\
-       " /usr/local/etc/torrus/conf/torrus-siteconfig.pl
+       if [ ${TORRUS_ENABLED} -eq 1 ]; then ( cd torrus; \
+         make; \
+         make install; \
+         perl -p -i -e "\
+           s'%%%FREESIDE_URL%%%'${FREESIDE_URL}'g;\
+         " /usr/local/etc/torrus/conf/torrus-siteconfig.pl \
+       );fi
 
 clean:
        rm -rf masondocs
index 3bb973c..64b502c 100644 (file)
@@ -4,7 +4,7 @@
    Modified by Ian Holsman <ian@holsman.net>
    Optimised by Stanislav Sinyagin
 
-   $Id: torrus.css,v 1.2 2010-12-29 03:12:19 ivan Exp $
+   $Id: torrus.css,v 1.3 2010-12-29 03:22:37 ivan Exp $
    */
 BODY {
 /*  background-color : white; */
@@ -166,7 +166,7 @@ DIV.PathMenu {
   border-bottom : none;
   border-left : none;
   border-right : none;
-  border-top : 1px solid $7e0079;
+  border-top : 1px solid #7e0079;
   color : inherit;
   float : left;
   line-height : 17px;
index 496410a..7767f7d 100644 (file)
@@ -8,9 +8,6 @@
    END;
 %]
 
-
- %]<H1>Graphs for [% xmlnorm(parentComment) %]</H1>[% END %]
-
 [% INCLUDE variables %]
 
 <P>[% xmlnorm(nodeParam(token,'comment')) %]</P>