1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" DIR="LTR">
5
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
7
<script type="text/javascript" src="/usr/lib/cinnamon-settings/data/spices/jquery.js"></script>
8
<style type="text/css">
10
font-family: "Lucida Grande", "Segoe UI";
14
A:link, A:visited {text-decoration: none; color:#000000;}
17
display: inline-block;
26
margin: 10px 10px 20px 0;
49
<div id="appletDetail">
50
<img class="icon" src="#"><h1></h1>
52
<img class="screenshot unknown-size" src="#">
53
<p class="description"></p>
56
<script type="text/javascript">
57
var appletData = $appletData
58
var spiceTemp = "$spiceTemp";
61
$detail = $('#appletDetail');
62
$detail.find('h1').text(appletData['name']);
63
$detail.find('img.icon').attr('src', 'file://'+appletData['icon_path'])
64
$detail.find('img.screenshot').attr('src', 'file://'+appletData['screenshot_path'])
65
$detail.find('p.description').html(appletData['description'])
66
var screenshot = $detail.find('img.screenshot');
67
screenshot.one('load', function() {
68
if (this.width > this.height)
69
$(this).addClass('wider');
71
$(this).addClass('taller');
73
$(this).removeClass('unknown-size');