add the apple iOS bookmark icons from #1339

This commit is contained in:
Damien Churchill 2010-08-14 16:15:18 +01:00
parent 9f992ec40d
commit e0eb0bd06a
5 changed files with 43 additions and 23 deletions

View File

@ -1,3 +1,20 @@
Icons in this folder are copied from the fruge icon set, taken from Icons in this folder are copied from the fruge icon set, taken from
http://www.pinvoke.com, licensed under the Creative Common http://www.pinvoke.com, licensed under the Creative Common
Attribution-ShareAlike 3.0 License. Attribution-ShareAlike 3.0 License.
Exceptions
==========
apple-pre-57.png
apple-pre-72.png
apple-pre-114.png
active.png
alert.png
all.png
deluge.png
dht.png
downloading.png
inactive.png
queued.png
seeding.png
traffic.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

View File

@ -1,37 +1,40 @@
<!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: Web UI ${version}</title> <title>Deluge: Web UI ${version}</title>
<link rel="shortcut icon" href="${base}icons/deluge.png" type="image/png" /> <link rel="shortcut icon" href="${base}icons/deluge.png" type="image/png" />
<link rel="icon" href="${base}icons/deluge.png" type="image/png" /> <link rel="icon" href="${base}icons/deluge.png" type="image/png" />
<link rel="apple-touch-icon-precomposed" media="screen and (resolution: 163dpi)" href="${base}icons/apple-pre-57.png" />
<!-- Stylesheets --> <link rel="apple-touch-icon-precomposed" media="screen and (resolution: 132dpi)" href="${base}icons/apple-pre-72.png" />
% for stylesheet in stylesheets: <link rel="apple-touch-icon-precomposed" media="screen and (resolution: 326dpi)" href="${base}icons/apple-pre-114.png" />
<link rel="stylesheet" type="text/css" href="${base}${stylesheet}" />
% endfor <!-- Stylesheets -->
% for stylesheet in stylesheets:
<link rel="stylesheet" type="text/css" href="${base}${stylesheet}" />
% endfor
<script type="text/javascript"> <script type="text/javascript">
deluge = { deluge = {
author: 'Damien Churchill <damoxc@gmail.com>', author: 'Damien Churchill <damoxc@gmail.com>',
version: '${version}', version: '${version}',
config: ${js_config} config: ${js_config}
} }
</script> </script>
<!-- Javascript --> <!-- Javascript -->
% for script in scripts: % for script in scripts:
<script type="text/javascript" src="${base}${script}"></script> <script type="text/javascript" src="${base}${script}"></script>
% endfor % endfor
<script type="text/javascript"> <script type="text/javascript">
Deluge.debug = ${str(debug).lower()}; Deluge.debug = ${str(debug).lower()};
</script> </script>
</head> </head>
<body> <body>
<div style="background-image: url('${base}themes/default/tree/loading.gif');"></div> <div style="background-image: url('${base}themes/default/tree/loading.gif');"></div>
<!-- Preload icon classes --> <!-- Preload icon classes -->
<div class="ext-mb-error"></div> <div class="ext-mb-error"></div>
<div class="icon-ok"></div> <div class="icon-ok"></div>
</body> </body>
</html> </html>