tazpanel view styles/default/header.html @ rev 384

New style and use /usr/bin/tazpanel to lauch a browser
author Christophe Lincoln <pankso@slitaz.org>
date Thu Feb 20 00:07:26 2014 +0100 (2014-02-20)
parents b5a8dc2e1374
children 8b420d64bdfe
line source
1 cat << EOT
2 <!DOCTYPE html>
3 <html xmlns="http://www.w3.org/1999/xhtml" lang="$(echo $LANG | cut -f1 -d_)">
4 <head>
5 <title>$TITLE</title>
6 <meta charset="utf-8" />
7 <link rel="shortcut icon" href="/styles/default/favicon.ico" />
8 <link rel="stylesheet" type="text/css" href="/styles/default/style.css" />
9 <!-- Function to hide the loading message when page is generated. -->
10 <script type="text/javascript">
11 function showLoading(){
12 document.getElementById("loading").style.display='none';
13 }
15 //Ask confirmation on close window during load time
16 window.onbeforeunload = confirmExit;
17 function confirmExit()
18 {
19 return 1;
20 }
21 </script>
22 </head>
23 <body onload="showLoading()">
25 <div id="header">
26 <h1>$TITLE</h1>
27 </div>
29 <div id="toolbar">
30 <div id="icons">
31 <a href="/help.cgi">
32 <img src="/styles/default/images/help.png" alt="Help" /></a>
33 </div>
34 <ul id="menu">
35 <li><a href="/">$(gettext 'Panel')</a>
36 <ul>
37 <li><a href="/index.cgi?terminal"><img
38 src="/styles/default/images/terminal.png" />$(gettext 'Terminal')</a></li>
39 <li><a href="/index.cgi?top"><img
40 src="/styles/default/images/monitor.png" />$(gettext 'Processes')</a></li>
41 <li><a href="/index.cgi?report"><img
42 src="/styles/default/images/text.png" />$(gettext 'Create Report')</a></li>
43 $(for i in menu.d/panel/* ; do [ -f $i ] && sh $i menu $i ; done)
44 </ul>
45 </li>
46 <li><a href="/network.cgi">$(gettext 'Network')</a>
47 <ul>
48 <li><a href="/index.cgi?file=/etc/network.conf"><img
49 src="/styles/default/images/edit.png" />$(gettext 'Config file')</a></li>
50 <li><a href="/network.cgi?eth"><img
51 src="/styles/default/images/ethernet.png" />$(gettext 'Ethernet')</a></li>
52 <li><a href="/network.cgi?wifi"><img
53 src="/styles/default/images/wireless.png" />$(gettext 'Wireless')</a></li>
54 $(for i in menu.d/network/* ; do [ -f $i ] && sh $i menu $i ; done)
55 </ul>
56 </li>
57 <li><a href="/settings.cgi">$(gettext 'Settings')</a>
58 <ul>
59 <li><a href="/settings.cgi?users"><img
60 src="/styles/default/images/user.png" />$(gettext 'Users')</a></li>
61 <li><a href="/settings.cgi?groups"><img
62 src="/styles/default/images/users.png" />$(gettext 'Groups')</a></li>
63 $(for i in menu.d/settings/* ; do [ -f $i ] && sh $i menu $i ; done)
64 </ul>
65 </li>
66 <li><a href="/boot.cgi">$(gettext 'Boot')</a>
67 <ul>
68 <li><a href="/boot.cgi?grub"><img
69 src="/styles/default/images/tux.png" />$(gettext 'Boot loader')</a></li>
70 <li><a href="/boot.cgi?log"><img
71 src="/styles/default/images/text.png" />$(gettext 'Boot logs')</a>
72 <ul>
73 <li><a href="/boot.cgi?log#kernel">$(gettext 'Kernel messages')</a>
74 <li><a href="/boot.cgi?log#boot">$(gettext 'Boot scripts')</a>
75 <li><a href="/boot.cgi?log#slim">$(gettext 'X server')</a>
76 </ul>
77 </li>
78 <li><a href="/boot.cgi?daemons"><img
79 src="/styles/default/images/recharge.png" />$(gettext 'Manage daemons')</a></li>
80 $(for i in menu.d/boot/* ; do [ -f $i ] && sh $i menu $i ; done)
81 </ul>
82 </li>
83 <li><a href="/hardware.cgi">$(gettext 'Hardware')</a>
84 <ul>
85 <li><a href="/hardware.cgi?modules"><img
86 src="/styles/default/images/tux.png" />$(gettext 'Kernel modules')</a></li>
87 <li><a href="/hardware.cgi?detect"><img
88 src="/styles/default/images/monitor.png" />$(gettext 'Detect PCI/USB')</a></li>
89 <li><a href="/hardware.cgi#disk"><img
90 src="/styles/default/images/harddisk.png" />$(gettext 'Disks')</a></li>
91 $(for i in menu.d/hardware/* ; do [ -f $i ] && sh $i menu $i ; done)
92 </ul>
93 </li>
94 $(for i in menu.d/* ; do [ -f $i ] && sh $i menu $i ; done)
95 </ul>
96 </div>
98 <!-- Page content -->
99 <div id="content">
100 EOT