summaryrefslogtreecommitdiffstats
path: root/deluge/ui/web/index.html
blob: 08c6d8bf3068d72b14ec113d89c5967a669fee31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!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">
    <head>
        <title>Deluge WebUI ${version}</title>

        <link rel="icon" sizes="16x16" type="image/png"
            href="${base}icons/deluge.png"/>
        <link rel="icon" sizes="32x32" type="image/png"
            href="${base}icons/deluge-32.png"/>
        <!-- For Chrome, Android, iOS and Windows touch shortcuts: -->
        <link rel="icon" sizes="192x192" type="image/png"
            href="${base}icons/deluge-192.png"/>
        <link rel="icon" sizes="512x512" type="image/png"
            href="${base}icons/deluge-512.png"/>
        <link rel="apple-touch-icon-precomposed"
            href="${base}icons/deluge-apple-180.png"/>
        <meta name="msapplication-TileColor" content="#599eee">
        <meta name="theme-color" content="#599eee">

        <!-- Stylesheets -->
        % for stylesheet in stylesheets:
        <link rel="stylesheet" type="text/css" href="${base}${stylesheet}"/>
        % endfor

        <script type="text/javascript">
        deluge = {
            author: 'Deluge Team',
            version: '${version}',
            config: ${js_config}
        }
        </script>

        <!-- Javascript -->
        % for script in scripts:
        <script type="text/javascript" src="${base}${script}"></script>
        % endfor
        <script type="text/javascript">
            Deluge.debug = ${debug};
        </script>
    </head>
    <body>
        <div style="background-image: url('${base}themes/images/default/tree/loading.gif');"></div>

        <!-- Preload icon classes -->
        <div class="ext-mb-error"></div>
        <div class="icon-ok"></div>
    </body>
</html>