tazpanel view styles/default/header.html @ rev 359
settings.cgi: tiny edit
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Wed Apr 10 13:16:12 2013 +0000 (2013-04-10) |
parents | bbd5ed5232f0 |
children | 4a8f56bb08cb |
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="toolbar">
26 <div id="icons">
27 <a href="/help.cgi">
28 <img src="/styles/default/images/help.png" alt="Help" /></a>
29 </div>
30 <ul id="menu">
31 <li><a href="/">$(gettext 'Panel')</a>
32 <ul>
33 <li><a href="/index.cgi?terminal"><img
34 src="/styles/default/images/terminal.png" />$(gettext 'Terminal')</a></li>
35 <li><a href="/index.cgi?top"><img
36 src="/styles/default/images/monitor.png" />$(gettext 'Processes')</a></li>
37 <li><a href="/index.cgi?report"><img
38 src="/styles/default/images/text.png" />$(gettext 'Create Report')</a></li>
39 $(for i in menu.d/panel/* ; do [ -f $i ] && . $i menu $i ; done)
40 </ul>
41 </li>
42 <li><a href="/pkgs.cgi">$(gettext 'Packages')</a>
43 <ul>
44 <li><a href="/pkgs.cgi?list"><img
45 src="/styles/default/images/tazpkg.png" />$(gettext 'My packages')</a></li>
46 <li><a href="/pkgs.cgi?recharge"><img
47 src="/styles/default/images/update.png" />$(gettext 'Recharge list')</a></li>
48 <li><a href="/pkgs.cgi?up"><img
49 src="/styles/default/images/update.png" />$(gettext 'Check updates')</a></li>
50 <li><a href="/pkgs.cgi?admin"><img
51 src="/styles/default/images/edit.png" />$(gettext 'Administration')</a></li>
52 </ul>
53 </li>
54 <li><a href="/network.cgi">$(gettext 'Network')</a>
55 <ul>
56 <li><a href="/network.cgi?eth"><img
57 src="/styles/default/images/ethernet.png" />$(gettext 'Ethernet')</a></li>
58 <li><a href="/network.cgi?wifi"><img
59 src="/styles/default/images/wireless.png" />$(gettext 'Wireless')</a></li>
60 <li><a href="/index.cgi?file=/etc/network.conf"><img
61 src="/styles/default/images/edit.png" />$(gettext 'Config file')</a></li>
62 </ul>
63 </li>
64 <li><a href="/settings.cgi">$(gettext 'Settings')</a>
65 <ul>
66 <li><a href="/settings.cgi?users"><img
67 src="/styles/default/images/user.png" />$(gettext 'Users')</a></li>
68 <li><a href="/settings.cgi?groups"><img
69 src="/styles/default/images/users.png" />$(gettext 'Groups')</a></li>
70 $(for i in menu.d/settings/* ; do [ -f $i ] && . $i menu $i ; done)
71 </ul>
72 </li>
73 <li><a href="/boot.cgi">$(gettext 'Boot')</a>
74 <ul>
75 <li><a href="/boot.cgi?log"><img
76 src="/styles/default/images/text.png" />$(gettext 'Boot logs')</a></li>
77 <li><a href="/boot.cgi?daemons"><img
78 src="/styles/default/images/recharge.png" />$(gettext 'Manage daemons')</a></li>
79 <li><a href="/boot.cgi?grub"><img
80 src="/styles/default/images/tux.png" />$(gettext 'Boot loader')</a></li>
81 $(for i in menu.d/boot/* ; do [ -f $i ] && . $i menu $i ; done)
82 </ul>
83 </li>
84 <li><a href="/hardware.cgi">$(gettext 'Hardware')</a>
85 <ul>
86 <li><a href="/hardware.cgi?modules"><img
87 src="/styles/default/images/tux.png" />$(gettext 'Kernel modules')</a></li>
88 <li><a href="/hardware.cgi?detect"><img
89 src="/styles/default/images/monitor.png" />$(gettext 'Detect PCI/USB')</a></li>
90 <li><a href="/hardware.cgi#disk"><img
91 src="/styles/default/images/harddisk.png" />$(gettext 'Disks')</a></li>
92 $(for i in menu.d/hardware/* ; do [ -f $i ] && . $i menu $i ; done)
93 </ul>
94 </li>
95 <li><a href="/live.cgi">$(gettext 'Live')</a>
96 <ul>
97 <li><a href="/live.cgi?liveusb">$(gettext 'Create a live USB key')</a></li>
98 <li><a href="/live.cgi#liveiso">$(gettext 'Create a live CD-ROM')</a></li>
99 <li><a href="/live.cgi#hybrid">$(gettext 'Create a hybrid ISO')</a></li>
100 <li><a href="/live.cgi#loram">$(gettext 'Convert ISO to loram')</a></li>
101 <li><a href="/live.cgi#meta">$(gettext 'Build a meta ISO')</a></li>
102 </ul>
103 </li>
104 $(for i in menu.d/* ; do [ -f $i ] && . $i menu $i ; done)
105 </ul>
106 </div>
108 <div id="header">
109 <h1>$TITLE</h1>
110 </div>
112 <!-- Page content -->
113 <div id="content">
114 EOT