-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
39 lines (33 loc) · 941 Bytes
/
Copy pathindex.html
File metadata and controls
39 lines (33 loc) · 941 Bytes
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
<!DOCTYPE html>
<html>
<head>
<style>
html, body { margin:0; padding:0; font-family: Verdana; }
header {background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#333), to(#111));color:white; border:1px solid #ccc; border-left:0px; border-right:0px; margin-top:10px;padding:20px; }
a { font-weight:bold; }
#main {padding:20px;}
.name { font-size:130%;font-weight:bold; }
.sellin, .quality { display:block; margin-left:20px; }
</style>
</head>
<body>
<header>
<hgroup>
<h1>Gilded Rose shop</h1>
<h2>List of items</h2>
</hgroup>
</header>
<div id="main">
<p>Number of items in shop : $nbItems$</p>
<a href="#" onclick="javascript:location.reload(true)">And on the next day...</a>
<ul>
$items: {item|
<li><span class="name">$item.name$</span>
<span class="sellin">Sell in $item.sellIn$ days</span>
<span class="quality">Quality is $item.quality$</span>
</li>
}$
</ul>
</div>
</body>
</html>