forked from devxzero/blogpost_files
-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.xhtml
75 lines (64 loc) · 2.13 KB
/
template.xhtml
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="default.css" media="screen" rel="stylesheet" type="text/css" />
<!-- Title needs to be injected -->
<title>Products listing</title>
</head>
<body>
<div id="maincontainer">
<div id="topsection">
<div class="innertube"><h1>Company Title .....</h1></div>
</div>
<div id="contentwrapper">
<div id="contentcolumn">
<!-- Page name needs to be injected -->
<div><h2>Producs listing</h2></div>
<div class="innertube">
<!-- The content that is unique for each page -->
<table>
<!-- The products -->
<tr>
<td>
<!-- This part/layout of each product needs to be made as a custom component, so that it can be reused at other pages -->
<div class="product">
<img src="1.jpg" />
<span class="productname">A name of product1....</span>, <span class="price">$150</span>
</div>
</td>
<!-- The associated categories of each product -->
<td>category4, category2, category9, category23</td>
</tr>
<tr>
<td>
<div class="product">
<img src="2.jpg" />
<span class="productname">A name of product2....</span>, <span class="price">$9140</span>
</div>
</td>
<td>category51, category38, category93, category4</td>
</tr>
<tr>
<td>
<div class="product">
<img src="3.jpg" />
<span class="productname">A name of product3....</span>, <span class="price">$8970</span>
</div>
</td>
<td>category1, category8, category31, category3</td>
</tr>
</table>
</div>
</div>
</div>
<div id="leftcolumn">
<div class="innertube">
<h3>Side bar.....</h3>
</div>
</div>
<div id="footer">footer.....</div>
</div>
</body>
</html>