use header template in white index.html

This commit is contained in:
Martijn Voncken 2008-06-26 21:40:46 +00:00
parent 22d75a7f43
commit 056dc50400

View File

@ -1,34 +1,7 @@
$def with (torrent_list, organize_filters) $def with (torrent_list, organize_filters)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html> $:render.header(_("Deluge : Torrent List"), 'home')
<head>
<title>Deluge:$_('Torrent list')</title>
<link rel="icon" href="$base/static/images/deluge_icon.gif" type="image/gif" />
<link rel="shortcut icon" href="$base/static/images/deluge_icon.gif" type="image/gif" />
<link rel="stylesheet" type="text/css" href="$base/template_style.css" />
<script language="javascript" src="$base/static/deluge.js"></script>
</head>
<body>
<div id="page">
<table width="100%"><tr>
<td>
<div id="home_top">
<a class="tab_button_active" href='$base/home'>Home</a>
$for id, title, url in admin_pages:
<a class="tab_button" href='$base$url'>$title</a>
<a href="http://dev.deluge-torrent.org/wiki/Faq">Faq</a>
</td><td>
</td><td align="right" width="450px">
$:part_stats()
</td></tr></table>
<hr>
$if organize_filters: $if organize_filters:
$:render.part_organize(organize_filters) $:render.part_organize(organize_filters)