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

Add a loading mechanism for page that take long to be generated
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 08 01:17:37 2011 +0200 (2011-04-08)
parents a7b1d69663c3
children 5b7e9a6565c9
line source
1 <!DOCTYPE html>
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>Tazpanel - %TITLE%</title>
5 <meta charset="utf-8" />
6 <link rel="shortcut icon" href="/styles/default/favicon.ico" />
7 <link rel="stylesheet" type="text/css" href="/styles/default/style.css" />
8 <!--
9 This function will hide the the loading message when page is fully
10 loaded. We use div id="loading", function in <head> and body onload=
11 -->
12 <script type="text/javascript">
13 function showLoading(){
14 //hide loading status...
15 document.getElementById("loading").style.display='none';
17 document.getElementById("content").style.display='block';
18 }
19 </script>
20 </head>
21 <body onload="showLoading()">
23 <div id="toolbar">
24 <div id="icons">
25 <a href="/doc/"><img src="/styles/default/images/help.png" /></a>
26 </div>
27 <div id="menu">
28 <a href="/">Panel</a>
29 <a href="/pkgs.cgi">Packages</a>
30 <a href="/network.cgi">Network</a>
31 <a href="/settings.cgi">Settings</a>
32 <a href="/live.cgi">Live</a>
33 <a href="/index.cgi?boot">Boot</a>
34 <a href="/index.cgi?hardware">Hardware</a>
35 </div>
36 </div>
38 <div id="header">
39 <h1>TazPanel - %TITLE%</h1>
40 </div>
42 <!-- Page content -->
43 <div id="content">