tazpanel rev 448

Tiny edits: fix linking if tazpanel installed to host, fix .scroll height, fix textdomain in the menu.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 10 01:01:50 2015 +0300 (2015-04-10)
parents 5a23f8f56323
children 9fc705a3f66e
files Makefile styles/default/base.css styles/default/header.html
line diff
     1.1 --- a/Makefile	Thu Apr 09 23:15:45 2015 +0200
     1.2 +++ b/Makefile	Fri Apr 10 01:01:50 2015 +0300
     1.3 @@ -46,6 +46,7 @@
     1.4  	cp -a tazpanel $(DESTDIR)$(PREFIX)/bin
     1.5  	-[ "$(VERSION)" ] && sed -i 's/^VERSION=[0-9].*/VERSION=$(VERSION)/' $(DESTDIR)$(PREFIX)/bin/tazpanel
     1.6  	cp -a *.cgi lib/ styles/ doc/ README* $(DESTDIR)$(PANEL)
     1.7 +	if [ -e $(DESTDIR)$(PANEL)/user ] ; then rm -rf $(DESTDIR)$(PANEL)/user; fi
     1.8  	ln -s . $(DESTDIR)$(PANEL)/user
     1.9  	cp -a po/mo/*        $(DESTDIR)$(PREFIX)/share/locale
    1.10  	cp -a data/*.conf    $(DESTDIR)$(SYSCONFDIR)
     2.1 --- a/styles/default/base.css	Thu Apr 09 23:15:45 2015 +0200
     2.2 +++ b/styles/default/base.css	Fri Apr 10 01:01:50 2015 +0300
     2.3 @@ -161,9 +161,9 @@
     2.4  section table { margin-bottom: 0.3rem; }
     2.5  .nogap { word-spacing: 0; } /* remove gap between buttons in line */
     2.6  
     2.7 -.scroll { height: 12rem; overflow: auto; border: 1pt solid; }
     2.8 -section .scroll { padding: 0; margin: 0; }
     2.9 -
    2.10 +.scroll { max-height: 12rem; overflow: auto; }
    2.11 +section .scroll { padding: 0; margin: 0; border: 1pt solid; }
    2.12 +section pre.scroll { margin: 0.1rem; padding: 0.1rem; }
    2.13  
    2.14  
    2.15  
     3.1 --- a/styles/default/header.html	Thu Apr 09 23:15:45 2015 +0200
     3.2 +++ b/styles/default/header.html	Fri Apr 10 01:01:50 2015 +0300
     3.3 @@ -1,4 +1,5 @@
     3.4  rootclass='user'; [ $(id -u) == '0' ] && rootclass='root'
     3.5 +export TEXTDOMAIN='tazpanel'
     3.6  
     3.7  cat << EOT
     3.8  <!DOCTYPE html>