tazpanel view README @ rev 21

Add utils/template.cgi for testing and new pages
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 05 01:33:54 2011 +0200 (2011-04-05)
parents bbd7b3e24974
children 1d93d0dcddb1
line source
1 SliTaz Web Control Panel
2 ================================================================================
5 Tazpanel is the SliTaz Control Panel, a web interface who let you manage the
6 full system in a redically simple way. The output xHTML code is valid xHTML 5
7 and all theming is done with standard CSS 3.
10 i18n
11 ----
12 TazPanel have been coded from the beginning with gettext support. Please
13 forget 'echo' and use gettext, but remember that gettext "" is equivalent
14 to echo -n. Each script have it own TEXTDOMAIN and pot files as well as
15 translation goes in the po/ folder.
18 User interface
19 --------------
20 If you develope an official SliTaz GUI for TazPanel, please follow the style.
21 If you need more CSS markup and you not a coder, please ask an official
22 developer the better way to implement your idea. TazPanel is fully themable
23 and more than one theme can be installed, this will let us make packages
24 for TazPanel style! All the GUI is done with xHTML 5 and CSS 3, some
25 javascript can be used, but with precaution... one more time, it's better
26 to check with a main contributor before adding to much stuff, the goal is,
27 as for the all SliTaz project: KISS
30 CGI template and files
31 ----------------------
32 To start or test new function with TazPanel you will find a a file in
33 utils/template.cgi that need to be in the $PANEL root to work, all TazPanel
34 CGI scripts are in that location. If you think your code is too big to fit
35 in an other script you can eventually creat a new CGI page and update all
36 links, but please to talk to the AUTHORS before.
38 * index.cgi Main Tazpanel CGI script (most stuff may be splited
39 into system.cgi if too big or slow)
40 * tazpkg.cgi Tazpkg CGI interface
41 * live.cgi All tools related to Live systems (CD, USB, Frugal)
44 Web server
45 ----------
46 Tazpanel can run with Busybox httpd applet or LightTPD an propably Apache.
47 Start the webserver with custom config to listen only on local port for
48 security reason since we run as root to perform system actions, example:
50 # httpd -p 8080 u root -c /etc/slitaz/tazpanel-httpd.conf
52 Or use tazpanel cmdline:
54 # ./tazpanel start
57 Quick notes
58 -----------
60 Panel password is defined in httpd.conf
61 When cat is used: `gettext "Text to translate"`
62 Devel can run the web server with root in the src tree