tazpanel rev 105
boot.cgi: button style for /etc/init.d/local.sh edit and put it under the box
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 15 05:52:46 2011 +0200 (2011-04-15) |
parents | b7d48b22d14c |
children | 21a86f36336d |
files | TODO boot.cgi |
line diff
1.1 --- a/TODO Fri Apr 15 05:44:27 2011 +0200 1.2 +++ b/TODO Fri Apr 15 05:52:46 2011 +0200 1.3 @@ -12,7 +12,6 @@ 1.4 umount, format, backup with dd or ?) 1.5 * Improve boot.cgi to handle theming GRUB, fbsplash and Slim and 1.6 improve rcS.conf. 1.7 - * Handle start-stop-restart daemons and check status in system.cgi 1.8 * Crond management interface 1.9 * Firewall PID file and configuration 1.10
2.1 --- a/boot.cgi Fri Apr 15 05:44:27 2011 +0200 2.2 +++ b/boot.cgi Fri Apr 15 05:52:46 2011 +0200 2.3 @@ -171,11 +171,11 @@ 2.4 `cat /proc/cmdline` 2.5 </pre> 2.6 <h3>`gettext "Local startup commands"`</h3> 2.7 -<a href="index.cgi?file=/etc/init.d/local.sh"> 2.8 -<img src="$IMAGES/edit.png" />/etc/init.d/local.sh</a> 2.9 <pre> 2.10 $(cat /etc/init.d/local.sh | syntax_highlighter sh) 2.11 </pre> 2.12 +<a class="button" href="index.cgi?file=/etc/init.d/local.sh&action=edit"> 2.13 +<img src="$IMAGES/edit.png" />$(gettext "Edit script")</a> 2.14 EOT 2.15 ;; 2.16 esac