forked from wader/appsnax
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathiwebkit.php
More file actions
90 lines (90 loc) · 2.87 KB
/
Copy pathiwebkit.php
File metadata and controls
90 lines (90 loc) · 2.87 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!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>Applications</title>
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="minimum-scale=1.0, width=device-width, maximum-scale=0.6667, user-scalable=no" name="viewport" />
<link href="iwebkit/css/style.css" rel="stylesheet" media="screen" type="text/css" />
<link href="css/appicon.css" rel="stylesheet" media="screen" type="text/css" />
<script src="iwebkit/javascript/functions.js" type="text/javascript"></script>
<style type="text/css">
/* ugly iwebkit overrides */
.list ul img {
width: 57px !important;
height: 57px !important;
}
.list li a {
padding: 5px 10px 0px 20px !important;
}
.list .withimage {
height: 70px !important;
}
.list .withimage .name {
margin: 5px 0px 0px 70px !important;
position: absolute;
}
.list .withimage .comment {
margin: 25px 0px 0px 70px !important;
position: absolute;
}
.list .withimage a, .list .withimage:hover a {
height: 70px !important;
}
.warning {
background-color: #f99;
height: auto !important;
}
.warning-requires {
/*color: #f99;*/
color: #922;
font-size: 0.8em;
}
</style>
</head>
<body class="list">
<div id="topbar">
<div id="leftnav"></div>
<div id="rightnav"></div>
<div id="title">Applications</div>
</div>
<div id="content">
<ul>
<?php if(isset($warning)) { ?>
<li class="textbox warning"><?=$warning?></li>
<?php } ?>
<?php foreach($manifests as $m) { ?>
<li class="withimage">
<a class="noeffect" href="<?=$m->link_itms?>">
<span class="icon">
<div class="icon-shadow"></div>
<div class="icon-background"></div>
<div class="<?=$m->ipa->has_prerendered_icon ? "" : "icon-glossy"?>"></div>
<?php if(isset($m->link_icon)) { ?>
<img class="icon-rounded" src="<?=$m->link_icon?>">
<?php } ?>
</span>
<span class="name"><?=htmlspecialchars($m->ipa->display_name)?></span>
<span class="comment">
Version <?=$m->ipa->version?>
<?php if(!$m->ipa->ios_version->has_model($ios)) { ?>
<span class="warning-requires">
requires <?=implode_natural(", ", " or ", $m->ipa->ios_version->models)?>
</span>
<?php } else if($ios->less_than($m->ipa->ios_version)) { ?>
<span class="warning-requires">
requires iOS <?=$m->ipa->ios_version->version_string()?>
</span>
<?php } ?>
<br>
<?=date("Y-m-d", $m->ipa->created)?>
<br>
</span>
</a>
</li>
<?php } ?>
</ul>
</div>
<div id="footer"></div>
</body>
</html>