]> git.saurik.com Git - cydia.git/blame - Cydia.app/package.html
Reworked how ratings integrate.
[cydia.git] / Cydia.app / package.html
CommitLineData
ad554f10
JF
1<?xml version="1.0" encoding="UTF-16"?>
2<html><head>
3 <title>Details</title>
f464053e 4 <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0"/>
ad554f10
JF
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
6 <link rel="stylesheet" type="text/css" href="menes/style.css"/>
7 <script type="text/javascript" src="menes/menes.js"></script>
8 <script type="text/javascript" src="package.js"></script>
9 <base target="_blank"/>
853d14d3
JF
10
11 <script type="text/javascript">
12 var count = -1;
13 var loaded = function() {
14 if (count++ != 0)
15 return;
16 $("#depiction-load").remove();
2e018aa4 17 $("#depiction-src").css("display" "block");
853d14d3
JF
18 }
19
20 var remove = function() {
2e018aa4 21 $(".description").css("display", "block");
853d14d3
JF
22 $(".depiction").remove();
23 }
24 </script>
25
26 <style>
853d14d3
JF
27 #remove {
28 margin-top: 7px;
29 text-align: center;
30 }
31
32 #indicator {
33 left: 20px;
34 position: relative;
35 top: -5px;
36 }
37
e00439f7 38 #depiction {
907a35d6 39 margin: -8px 0;
e00439f7
JF
40 overflow: hidden;
41 width: 320px;
42 }
43
853d14d3 44 #notice {
907a35d6 45 margin: -8px 0 -9px 0;
853d14d3
JF
46 overflow: hidden;
47 width: 320px;
48 }
49
50 #remove > a {
51 color: #335588;
52 text-decoration: none;
53 }
54
55 #upper-bar {
56 margin-bottom: 0;
57 margin-top: 10px;
58 }
59
60 #lower-bar {
61 margin-bottom: 10px;
62 margin-top: 0;
63 }
f464053e
JF
64
65 #warnings {
66 background-color: #ffdddd;
67 }
68
69 #warnings > div > label {
70 color: red;
71 }
dbe0f181
JF
72
73 #boundry {
74 float: left;
2e018aa4 75 width: 64px;
dbe0f181
JF
76 }
77
78 #icon {
2e018aa4
JF
79 background-position: center center;
80 background-repeat: no-repeat;
81 -webkit-border-radius: 9px;
82 height: 64px;
83 width: 64px;
dbe0f181
JF
84 }
85
2e018aa4 86 /* XXX: this style is out of date */
dbe0f181
JF
87 #reflection {
88 height: 59px;
89 max-width: 60px;
90 opacity: 0.4;
91 position: absolute;
92 -webkit-transform: matrix(1, 0, 0, -1, 0, 0);
93 width: auto;
94 }
95
2e018aa4 96 #id, #author, #maintainer, #sponsor {
dbe0f181
JF
97 white-space: nowrap;
98 }
99
100 #header {
101 background: transparent;
102 border: none;
103 }
104
105 #header > div {
106 padding: 0;
dbe0f181
JF
107 }
108
109 #content {
2e018aa4 110 padding: 5px;
907a35d6 111 position: absolute;
2e018aa4
JF
112 left: 77px;
113 width: 232px;
dbe0f181
JF
114 }
115
78b966cc 116 #lower {
2e018aa4 117 margin: 0px 5px;
dbe0f181
JF
118 }
119
120 #name {
2e018aa4 121 margin-bottom: 10px;
dbe0f181 122 font-weight: bold;
2e018aa4
JF
123 font-size: 17px;
124 overflow: hidden;
125 text-overflow: ellipsis;
126 white-space: nowrap;
dbe0f181
JF
127 }
128
129 #latest {
130 color: #335588;
78b966cc
JF
131 float: left;
132 }
133
2e018aa4
JF
134 a[href].rating {
135 background: 105px 7px no-repeat url(menes/chevron.png);
136 }
137
138 .rating {
139 /*border: 1px solid #999999;*/
140 -webkit-border-radius: 6px;
141 padding: 7px 7px;
142 margin: -7px 0px;
78b966cc 143 float: right;
2e018aa4 144 width: 124px;
dbe0f181 145 }
907a35d6 146
2e018aa4
JF
147 .rating .back,
148 .rating .fore,
149 .rating .star {
150 background: url(star.png);
151 height: 16px;
152 }
153
154 .rating .back,
155 .rating .fore {
156 width: 80px;
157 }
158
159 .rating .star {
160 display: inline-block;
161 width: 16px;
162 }
163
164 .rating .back {
165 opacity: 0.2;
166 }
167
168 .rating .fore {
169 /*border-right: 1px solid #999999;*/
170 position: absolute;
171 }
172
173 .rating .text {
174 display: inline-block;
175 color: #4d4d70;
176 margin: 0 6px;
177 vertical-align: top;
178 }
179
180 #rating-none,
181 #rating-done {
182 display: none;
907a35d6 183 }
853d14d3 184 </style>
2bfeaf6f 185</head><body class="pinstripe">
cd8bec2f 186<dialog><panel>
ad554f10 187
dbe0f181
JF
188<fieldset id="header">
189 <div class="clearfix">
190 <div id="boundry">
2e018aa4 191 <div id="icon"></div>
dbe0f181
JF
192 <!--img id="reflection"/-->
193 </div>
194
195 <div id="content">
196 <div id="name"></div>
2e018aa4
JF
197 <div id="latest"></div>
198
199 <a class="rating" id="rating-href">
200 <div id="rating-none">
201 <div class="star"></div><div class="text">Not Rated</div>
202 </div><div id="rating-done">
203 <div class="fore" id="rating-value"></div>
204 <div class="back"></div>
205 </div>
206 </a>
dbe0f181 207 </div>
ad554f10 208 </div>
f464053e 209</fieldset>
ad554f10 210
f464053e 211<fieldset id="actions">
dbe0f181 212 <a id="settings">
6e673d99 213 <img class="icon" src="settings.png"/><div>
dbe0f181 214 <label>Change Package Settings</label>
6e673d99 215 </div></a>
dbe0f181 216
0235116c 217 <a id="author-href" class="author">
6e673d99 218 <img id="author-icon" class="icon" src="email.png"/><div>
ad554f10 219 <label>Author</label>
04700693 220 <label id="author"></label>
6e673d99 221 </div></a>
f464053e 222
dbe0f181 223 <div class="commercial">
6e673d99 224 <img class="icon" src="commercial.png"/><div>
dbe0f181 225 <label>This is a commercial package!</label>
6e673d99 226 </div></div>
dbe0f181 227
890c1d38 228 <a class="console" href="http://cydia.saurik.com/purpose/console/">
6e673d99 229 <img class="icon" src="console.png"/><div>
890c1d38 230 <label>This is a console package!</label>
6e673d99 231 </div></a>
dbe0f181 232
f464053e 233 <a id="application">
6e673d99 234 <img class="icon"/><div>
f464053e 235 <label class="application"></label>
6e673d99 236 </div></a>
f464053e
JF
237</fieldset>
238
f464053e
JF
239<fieldset class="warnings" id="warnings">
240 <div id="warning">
6e673d99 241 <img class="icon" src="warning.png"/><div>
f464053e 242 <label class="warning"></label>
6e673d99 243 </div></div>
0235116c
JF
244</fieldset>
245
853d14d3
JF
246<div id="notice" class="notice"><iframe
247 id="notice-src"
248 frameborder="0"
249 width="320"
250 height="0"
251 target="_top"
252></iframe></div>
253
e00439f7 254<!--div id="remove" class="depiction">
853d14d3
JF
255 <a href="javascript:remove()">Remove Custom Depiction</a>
256</div>
257
e00439f7 258<hr id="upper-bar" class="depiction"/-->
853d14d3 259
dbe0f181 260<div id="depiction" class="depiction"><iframe
0235116c
JF
261 id="depiction-src"
262 frameborder="0"
853d14d3
JF
263 width="320"
264 height="0"
0235116c 265 target="_top"
7ec29c77 266 onload_="loaded()"
dbe0f181 267></iframe></div>
ad554f10 268
e00439f7 269<!--hr id="lower-bar" class="depiction"/-->
853d14d3 270
2e018aa4 271<block class="description"><p id="description"></p></block>
ad554f10 272
907a35d6 273<fieldset class="description homepage">
853d14d3 274 <a class="homepage" id="homepage-href">
6e673d99 275 <img class="icon" src="web.png"/><div>
ad554f10 276 <label>More Information</label>
6e673d99 277 </div></a>
ad554f10
JF
278</fieldset>
279
280<label class="installed">Installed Package</label>
281<fieldset class="installed">
0a7e5478
JF
282 <div>
283 <img class="icon" src="version.png"/><div>
7ec29c77 284 <label>Version</label>
04700693 285 <label id="installed"></label>
6e673d99 286 </div></div>
ad554f10 287
dbe0f181 288 <a id="files-href">
6e673d99 289 <img class="icon" src="filesystem.png"/><div>
dbe0f181 290 <label>Filesystem Content</label>
6e673d99 291 </div></a>
ad554f10
JF
292</fieldset>
293
294<label>Package Details</label>
295<fieldset>
0a7e5478
JF
296 <div>
297 <img class="icon" src="id.png"/><div>
ad554f10 298 <label>ID</label>
04700693 299 <label id="id"></label>
6e673d99 300 </div></div>
ad554f10
JF
301
302 <div class="section">
6e673d99 303 <img id="section-src" class="icon"/><div>
ad554f10 304 <label>Section</label>
04700693 305 <label id="section"></label>
6e673d99 306 </div></div>
ad554f10
JF
307
308 <div class="size">
6e673d99 309 <img class="icon" src="expanded.png"/><div>
ad554f10 310 <label>Expanded Size</label>
04700693 311 <label id="size"></label>
6e673d99 312 </div></div>
ad554f10 313
0235116c 314 <a id="maintainer-href" class="maintainer">
6e673d99 315 <img id="maintainer-icon" class="icon" src="email.png"/><div>
f464053e 316 <label>Contact</label>
04700693 317 <label id="maintainer"></label>
6e673d99 318 </div></a>
ad554f10 319
0235116c 320 <a id="sponsor-href" class="sponsor">
6e673d99 321 <img class="icon" src="web.png"/><div>
6bffd7b7 322 <label>Sponsor</label>
04700693 323 <label id="sponsor"></label>
6e673d99 324 </div></a>
6bffd7b7 325
dbe0f181 326 <!--a class="trusted" id="trusted">
6e673d99 327 <img class="icon" src="trusted.png"><div>
dbe0f181 328 <label>View Repository Signature</label>
6e673d99 329 </div></a-->
dbe0f181
JF
330
331 <div class="trusted">
6e673d99
JF
332 <img class="icon" src="trusted.png"><div>
333 <label>&nbsp;</label>
04700693 334 <label>This package has been signed.</label>
6e673d99 335 </div></div>
ad554f10
JF
336</fieldset>
337
4d2ac731 338<label class="source">Source Information</label>
ad554f10 339<fieldset class="source">
18159e09 340 <div>
6e673d99 341 <img class="icon" id="source-src"/><div>
18159e09 342 <label id="source-name"></label>
6e673d99 343 </div></div>
18159e09 344
853d14d3 345 <div class="source-description" id="source-description"></div>
ad554f10
JF
346</fieldset>
347
cd8bec2f
JF
348</panel></dialog>
349</body></html>