tazpanel rev 298
fix broken styles
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Wed May 02 09:53:10 2012 +0200 (2012-05-02) |
parents | 201e731ec174 |
children | 9cf539bbe8c5 b650b8cced10 |
files | styles/default/footer.html styles/default/footer.sh styles/default/header.html styles/default/header.sh |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/styles/default/footer.html Wed May 02 09:53:10 2012 +0200 1.3 @@ -0,0 +1,12 @@ 1.4 + 1.5 +<!-- End of content--> 1.6 +</div> 1.7 + 1.8 +<div id="footer"> 1.9 + Copyright © 2012 1.10 + <a href="http://www.slitaz.org/">SliTaz GNU/Linux</a> 1.11 + - <a href="/index.cgi?file=/usr/share/licenses/bsd.txt">BSD License</a> 1.12 +</div> 1.13 + 1.14 +</body> 1.15 +</html>
2.1 --- a/styles/default/footer.sh Tue May 01 12:45:09 2012 +0200 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,13 +0,0 @@ 2.4 -cat << EOT 2.5 -<!-- End of content--> 2.6 -</div> 2.7 - 2.8 -<div id="footer"> 2.9 - $(gettext 'Copyright') © 2012 2.10 - <a href="http://www.slitaz.org/">SliTaz GNU/Linux</a> 2.11 - - <a href="/index.cgi?file=/usr/share/licenses/bsd.txt">$(gettext 'BSD License')</a> 2.12 -</div> 2.13 - 2.14 -</body> 2.15 -</html> 2.16 -EOT
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/styles/default/header.html Wed May 02 09:53:10 2012 +0200 3.3 @@ -0,0 +1,101 @@ 3.4 +<!DOCTYPE html> 3.5 +<html xmlns="http://www.w3.org/1999/xhtml"> 3.6 +<head> 3.7 + <title>Tazpanel - %TITLE%</title> 3.8 + <meta charset="utf-8" /> 3.9 + <link rel="shortcut icon" href="/styles/default/favicon.ico" /> 3.10 + <link rel="stylesheet" type="text/css" href="/styles/default/style.css" /> 3.11 + <!-- Function to hide the loading message when page is generated. --> 3.12 + <script type="text/javascript"> 3.13 + function showLoading(){ 3.14 + document.getElementById("loading").style.display='none'; 3.15 + } 3.16 + </script> 3.17 +</head> 3.18 +<body onload="showLoading()"> 3.19 + 3.20 +<div id="toolbar"> 3.21 + <div id="icons"> 3.22 + <a href="/help.cgi"> 3.23 + <img src="/styles/default/images/help.png" /></a> 3.24 + </div> 3.25 + <ul id="menu"> 3.26 + <li><a href="/">Panel</a> 3.27 + <ul> 3.28 + <li><a href="/index.cgi?terminal"><img 3.29 + src="/styles/default/images/terminal.png" />Terminal</a></li> 3.30 + <li><a href="/index.cgi?top"><img 3.31 + src="/styles/default/images/monitor.png" />Processes</a></li> 3.32 + <li><a href="/index.cgi?report"><img 3.33 + src="/styles/default/images/text.png" />Create Report</a></li> 3.34 + </ul> 3.35 + </li> 3.36 + <li><a href="/pkgs.cgi">Packages</a> 3.37 + <ul> 3.38 + <li><a href="/pkgs.cgi?list"><img 3.39 + src="/styles/default/images/tazpkg.png" />My packages</a></li> 3.40 + <li><a href="/pkgs.cgi?recharge"><img 3.41 + src="/styles/default/images/update.png" />Recharge list</a></li> 3.42 + <li><a href="/pkgs.cgi?up"><img 3.43 + src="/styles/default/images/update.png" />Check updates</a></li> 3.44 + <li><a href="/pkgs.cgi?admin"><img 3.45 + src="/styles/default/images/edit.png" />Administration</a></li> 3.46 + </ul> 3.47 + </li> 3.48 + <li><a href="/network.cgi">Network</a> 3.49 + <ul> 3.50 + <li><a href="/network.cgi?eth"><img 3.51 + src="/styles/default/images/ethernet.png" />Ethernet</a></li> 3.52 + <li><a href="/network.cgi?wifi"><img 3.53 + src="/styles/default/images/wireless.png" />Wireless</a></li> 3.54 + <li><a href="/index.cgi?file=/etc/network.conf"><img 3.55 + src="/styles/default/images/edit.png" />Config file</a></li> 3.56 + </ul> 3.57 + </li> 3.58 + <li><a href="/settings.cgi">Settings</a> 3.59 + <ul> 3.60 + <li><a href="/settings.cgi?users"><img 3.61 + src="/styles/default/images/users.png" />Users</a></li> 3.62 + </ul> 3.63 + </li> 3.64 + <li><a href="/boot.cgi">Boot</a> 3.65 + <ul> 3.66 + <li><a href="/boot.cgi?log"><img 3.67 + src="/styles/default/images/text.png" />Boot logs</a></li> 3.68 + <li><a href="/boot.cgi?daemons"><img 3.69 + src="/styles/default/images/recharge.png" />Manage daemons</a></li> 3.70 + <li><a href="/boot.cgi?grub"><img 3.71 + src="/styles/default/images/tux.png" />Boot loader</a></li> 3.72 + </ul> 3.73 + </li> 3.74 + <li><a href="/hardware.cgi">Hardware</a> 3.75 + <ul> 3.76 + <li><a href="/hardware.cgi?modules"><img 3.77 + src="/styles/default/images/tux.png" />Kernel modules</a></li> 3.78 + <li><a href="/hardware.cgi?detect"><img 3.79 + src="/styles/default/images/monitor.png" />Detect PCI/USB</a></li> 3.80 + </ul> 3.81 + </li> 3.82 + <li><a href="/live.cgi">Live</a> 3.83 + <ul> 3.84 + <li><a href="/live.cgi?liveusb">Create a live USB key</a></li> 3.85 + <li><a href="/live.cgi#liveiso">Create a live CD-ROM</a></li> 3.86 + <li><a href="/live.cgi#loram">Convert ISO to loram</a></li> 3.87 + <li><a href="/live.cgi#meta">Build a meta ISO</a></li> 3.88 + </ul> 3.89 + </li> 3.90 + <li><a href="/installer.cgi">Install</a> 3.91 + <ul> 3.92 + <li><a href="/installer.cgi?page=menu_install">Install SliTaz</a></li> 3.93 + <li><a href="/installer.cgi?page=menu_upgrade">Upgrade system</a></li> 3.94 + </ul> 3.95 + </li> 3.96 + </ul> 3.97 +</div> 3.98 + 3.99 +<div id="header"> 3.100 + <h1>TazPanel - %TITLE%</h1> 3.101 +</div> 3.102 + 3.103 +<!-- Page content --> 3.104 +<div id="content">
4.1 --- a/styles/default/header.sh Tue May 01 12:45:09 2012 +0200 4.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 4.3 @@ -1,103 +0,0 @@ 4.4 -cat << EOT 4.5 -<!DOCTYPE html> 4.6 -<html xmlns="http://www.w3.org/1999/xhtml" lang="$(echo $LANG | cut -f1 -d_)"> 4.7 -<head> 4.8 - <title>$TITLE</title> 4.9 - <meta charset="utf-8" /> 4.10 - <link rel="shortcut icon" href="/styles/default/favicon.ico" /> 4.11 - <link rel="stylesheet" type="text/css" href="/styles/default/style.css" /> 4.12 - <!-- Function to hide the loading message when page is generated. --> 4.13 - <script type="text/javascript"> 4.14 - function showLoading(){ 4.15 - document.getElementById("loading").style.display='none'; 4.16 - } 4.17 - </script> 4.18 -</head> 4.19 -<body onload="showLoading()"> 4.20 - 4.21 -<div id="toolbar"> 4.22 - <div id="icons"> 4.23 - <a href="/help.cgi"> 4.24 - <img src="/styles/default/images/help.png" alt="Help" /></a> 4.25 - </div> 4.26 - <ul id="menu"> 4.27 - <li><a href="/">$(gettext 'Panel')</a> 4.28 - <ul> 4.29 - <li><a href="/index.cgi?terminal"><img 4.30 - src="/styles/default/images/terminal.png" />$(gettext 'Terminal')</a></li> 4.31 - <li><a href="/index.cgi?top"><img 4.32 - src="/styles/default/images/monitor.png" />$(gettext 'Processes')</a></li> 4.33 - <li><a href="/index.cgi?report"><img 4.34 - src="/styles/default/images/text.png" />$(gettext 'Create Report')</a></li> 4.35 - </ul> 4.36 - </li> 4.37 - <li><a href="/pkgs.cgi">$(gettext 'Packages')</a> 4.38 - <ul> 4.39 - <li><a href="/pkgs.cgi?list"><img 4.40 - src="/styles/default/images/tazpkg.png" />$(gettext 'My packages')</a></li> 4.41 - <li><a href="/pkgs.cgi?recharge"><img 4.42 - src="/styles/default/images/update.png" />$(gettext 'Recharge list')</a></li> 4.43 - <li><a href="/pkgs.cgi?up"><img 4.44 - src="/styles/default/images/update.png" />$(gettext 'Check updates')</a></li> 4.45 - <li><a href="/pkgs.cgi?admin"><img 4.46 - src="/styles/default/images/edit.png" />$(gettext 'Administration')</a></li> 4.47 - </ul> 4.48 - </li> 4.49 - <li><a href="/network.cgi">$(gettext 'Network')</a> 4.50 - <ul> 4.51 - <li><a href="/network.cgi?eth"><img 4.52 - src="/styles/default/images/ethernet.png" />$(gettext 'Ethernet')</a></li> 4.53 - <li><a href="/network.cgi?wifi"><img 4.54 - src="/styles/default/images/wireless.png" />$(gettext 'Wireless')</a></li> 4.55 - <li><a href="/index.cgi?file=/etc/network.conf"><img 4.56 - src="/styles/default/images/edit.png" />$(gettext 'Config file')</a></li> 4.57 - </ul> 4.58 - </li> 4.59 - <li><a href="/settings.cgi">$(gettext 'Settings')</a> 4.60 - <ul> 4.61 - <li><a href="/settings.cgi?users"><img 4.62 - src="/styles/default/images/users.png" />$(gettext 'Users')</a></li> 4.63 - </ul> 4.64 - </li> 4.65 - <li><a href="/boot.cgi">$(gettext 'Boot')</a> 4.66 - <ul> 4.67 - <li><a href="/boot.cgi?log"><img 4.68 - src="/styles/default/images/text.png" />$(gettext 'Boot logs')</a></li> 4.69 - <li><a href="/boot.cgi?daemons"><img 4.70 - src="/styles/default/images/recharge.png" />$(gettext 'Manage daemons')</a></li> 4.71 - <li><a href="/boot.cgi?grub"><img 4.72 - src="/styles/default/images/tux.png" />$(gettext 'Boot loader')</a></li> 4.73 - </ul> 4.74 - </li> 4.75 - <li><a href="/hardware.cgi">$(gettext 'Hardware')</a> 4.76 - <ul> 4.77 - <li><a href="/hardware.cgi?modules"><img 4.78 - src="/styles/default/images/tux.png" />$(gettext 'Kernel modules')</a></li> 4.79 - <li><a href="/hardware.cgi?detect"><img 4.80 - src="/styles/default/images/monitor.png" />$(gettext 'Detect PCI/USB')</a></li> 4.81 - </ul> 4.82 - </li> 4.83 - <li><a href="/live.cgi">$(gettext 'Live')</a> 4.84 - <ul> 4.85 - <li><a href="/live.cgi?liveusb">$(gettext 'Create a live USB key')</a></li> 4.86 - <li><a href="/live.cgi#liveiso">$(gettext 'Create a live CD-ROM')</a></li> 4.87 - <li><a href="/live.cgi#loram">$(gettext 'Convert ISO to loram')</a></li> 4.88 - <li><a href="/live.cgi#meta">$(gettext 'Build a meta ISO')</a></li> 4.89 - </ul> 4.90 - </li> 4.91 - <li><a href="/installer.cgi">$(gettext 'Install')</a> 4.92 - <ul> 4.93 - <li><a href="/installer.cgi?page=menu_install">$(gettext 'Install SliTaz')</a></li> 4.94 - <li><a href="/installer.cgi?page=menu_upgrade">$(gettext 'Upgrade system')</a></li> 4.95 - </ul> 4.96 - </li> 4.97 - </ul> 4.98 -</div> 4.99 - 4.100 -<div id="header"> 4.101 - <h1>$TITLE</h1> 4.102 -</div> 4.103 - 4.104 -<!-- Page content --> 4.105 -<div id="content"> 4.106 -EOT