remove pointless divs in the html

This commit is contained in:
Damien Churchill 2009-02-10 12:56:48 +00:00
parent 74d2657750
commit 032b0fa934
3 changed files with 23 additions and 27 deletions

View File

@ -1,28 +1,25 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>Deluge: AJAX UI (alpha) ${version}</title> <title>Deluge: AJAX UI (alpha) ${version}</title>
<!-- Stylesheets --> <!-- Stylesheets -->
<link rel="stylesheet" type="text/css" href="/css/ext-all.css" /> <link rel="stylesheet" type="text/css" href="/css/ext-all.css" />
<link rel="stylesheet" type="text/css" href="/css/xtheme-slate.css" /> <link rel="stylesheet" type="text/css" href="/css/xtheme-slate.css" />
<link rel="stylesheet" type="text/css" href="/css/deluge.css" /> <link rel="stylesheet" type="text/css" href="/css/deluge.css" />
<!-- Javascript --> <!-- Javascript -->
<script type="text/javascript" src="/js/mootools-1.2.1-core-yc.js"></script> <script type="text/javascript" src="/js/mootools-1.2.1-core-yc.js"></script>
<script type="text/javascript" src="/js/ext-mootools-adapter.js"></script> <script type="text/javascript" src="/js/ext-mootools-adapter.js"></script>
<script type="text/javascript" src="/js/ext-all.js"></script> <script type="text/javascript" src="/js/ext-all.js"></script>
<script type="text/javascript" src="/js/rpc.js"></script> <script type="text/javascript" src="/js/rpc.js"></script>
<script type="text/javascript" src="/gettext.js"></script> <script type="text/javascript" src="/gettext.js"></script>
<script type="text/javascript" src="/js/deluge.js"></script> <script type="text/javascript" src="/js/deluge.js"></script>
<script type="text/javascript" src="/js/deluge-menus.js"></script> <script type="text/javascript" src="/js/deluge-menus.js"></script>
<script type="text/javascript" src="/js/deluge-bars.js"></script> <script type="text/javascript" src="/js/deluge-bars.js"></script>
<script type="text/javascript" src="/js/deluge-torrents.js"></script> <script type="text/javascript" src="/js/deluge-torrents.js"></script>
<script type="text/javascript" src="/js/deluge-details.js"></script> <script type="text/javascript" src="/js/deluge-details.js"></script>
<script type="text/javascript" src="/js/deluge-ui.js"></script> <script type="text/javascript" src="/js/deluge-ui.js"></script>
</head> </head>
<body> <body></body>
<div id="torrents"></div>
<div id="details"></div>
</body>
</html> </html>

View File

@ -40,4 +40,4 @@ Deluge.Details.Status.add({
Deluge.Details.update = function(torrentId) { Deluge.Details.update = function(torrentId) {
Deluge.Details.getActiveTab().update(torrent); Deluge.Details.getActiveTab().update(torrent);
} }

View File

@ -63,7 +63,6 @@ Deluge.Torrents = new Ext.grid.GridPanel({
stripeRows: true, stripeRows: true,
autoExpandColumn: 'name', autoExpandColumn: 'name',
deferredRender:false, deferredRender:false,
contentEl: 'torrents',
autoScroll:true, autoScroll:true,
margins: '5 5 0 0' margins: '5 5 0 0'
}) })