tazpanel view utils/template.cgi @ rev 318

Add some graphics from Tango project for helpers messages and arrows; libtazpanel: add msg() function for message boxes (tip|warn|err|up); add is_installed function to determine if we need show helper msg or not; index & settings: add a pair of helpers; installer: add arrows on buttons.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 23 01:10:00 2012 +0000 (2012-06-23)
parents c9bc33ec8b6f
children
line source
1 #!/bin/sh
2 #
3 # CGI template interface for TazPanel.
4 #
6 # Common functions from libtazpanel
7 . lib/libtazpanel
8 header
9 get_config
11 #
12 # Commands
13 #
15 case " $(GET) " in
16 *\ cmd\ *)
17 echo "" ;;
18 *)
19 #
20 # Default xHTML content
21 #
22 xhtml_header
23 cat << EOT
24 <div id="wrapper">
25 <h2>$(gettext "Page title - Template")</h2>
26 <p>$(gettext "Page information")<p>
27 </div>
29 <h3>$(gettext "h3 title")</h3>
31 <pre>
32 Preformated output
33 </pre>
34 EOT
35 ;;
36 esac
38 xhtml_footer
39 exit 0