-
Notifications
You must be signed in to change notification settings - Fork 1
/
transaction.php
252 lines (234 loc) · 12 KB
/
transaction.php
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
<?php include 'header.php' ?>
<body>
<?php include 'navbar.php' ?>
<div class="body-content pull-up">
<div class="container">
<div class="row">
<section id="transaction-body" class="span8">
<header class="row">
<div class="span1">
<img src="img/lisa.jpg" class="hidden-phone">
</div>
<div class="span7">
<h5>You want to buy from</h5>
<h1>Lisa Sy.</h1>
</div>
</header>
<article id="message-input" class="row">
<div class="chat-user span1">
<img src="img/lisa.jpg" class="hidden-phone">
<h5>You</h5>
</div>
<div class="span5">
<div class="arrow-left"></div>
<textarea placeholder="Send a message"></textarea>
</div>
<div class="textarea-control span2 pull-right">
<button type="submit" class="btn btn-green">Send message</button>
<button type="submit" class="btn btn-green">Clear message</button>
</div>
</article>
<article id="message-chat"class="row">
<div class="span8">
<section class="message-box">
`<ul>
<li class="user-me row">
<div class="chat-user">
<h5>You</h5>
<small>9:47pm</small>
</div>
<div class="message-content">
<p>Yeah, I think that is a good place for us to meet up.</p>
</div>
</li>
<li class="user-other row">
<div class="chat-user">
<h5>Lisa Sy</h5>
<small>12:00pm</small>
</div>
<div class="message-content">
<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
</div>
</li>
<li class="user-other row">
<div class="chat-user">
<h5>Lisa Sy</h5>
<small>12:00pm</small>
</div>
<div class="message-content">
<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
</div>
</li>
<li class="user-me row">
<div class="chat-user">
<h5>You</h5>
<small>9:47pm</small>
</div>
<div class="message-content">
<p>Yeah, I think that is a good place for us to meet up.</p>
</div>
</li>
<li class="user-other row">
<div class="chat-user">
<h5>Lisa Sy</h5>
<small>12:00pm</small>
</div>
<div class="message-content">
<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
</div>
</li>
<li class="user-me row">
<div class="chat-user">
<h5>You</h5>
<small>9:47pm</small>
</div>
<div class="message-content">
<p>Yeah, I think that is a good place for us to meet up.</p>
</div>
</li>
<li class="user-other row">
<div class="chat-user">
<h5>Justin Timberlake</h5>
<small>12:00pm</small>
</div>
<div class="message-content">
<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
</div>
</li>
<li class="user-me row">
<div class="chat-user">
<h5>You</h5>
<small>9:47pm</small>
</div>
<div class="message-content">
<p>Yeah, I think that is a good place for us to meet up.</p>
</div>
</li>
</ul>
</section>
</div>
</article>
</section>
<aside id="transaction-sidebar" class="span4">
<article class="book-list">
<h3>Selected Books (3)</h3>
<div class="box">
<ul>
<li class="book-asset">
<div class="book-thumb"><img src="img/mc-example.jpg"></div>
<div class="book-description">
<h5>Modern China: A Very Short Introduction</h5>
<p>Rana Mitter</p>
<p><small>Oxford University Press (2008)</small></p>
<strong>$9.48</strong>
</div>
</li>
<li class="book-asset">
<div class="book-thumb"><img src="img/wild.jpg"></div>
<div class="book-description">
<h5>Wild: From Lost to Found on the Pacific Crest Trail</h5>
<p>Cheryl Strayed</p>
<strong>$9.48</strong>
</div>
</li>
<li class="book-asset">
<div class="book-thumb"><img src="img/mc-example.jpg"></div>
<div class="book-description">
<h5>Modern China: A Very Short Introduction</h5>
<p>Rana Mitter</p>
<p><small>Oxford University Press (2008)</small></p>
<strong>$9.48</strong>
</div>
</li>
</ul>
</div>
<a class="xbook btn btn-medium add-more-books" data-toggle="modal" href="#addMoreBooks">Add more books!</a>
<!-- actual modal -->
<div id="addMoreBooks" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button>
<h3 id="myModalLabel">(Seller) is also selling the following:</h3>
</div>
<div class="modal-body">
<table class="table span8">
<thead>
<tr>
<th>Book</th>
<th>Information</th>
<th>Price</th>
<th>Scale</th>
</tr>
</thead>
<tbody>
<tr>
<td><img src="img/wild.jpg" class="table-img"></td>
<td>
<strong>Wild: From Lost to Found on the Pacific Crest Trail</strong><br>
Cheryl Strayed<br>
Vintage
</td>
<td>$13.09</td>
<td><button class="btn btn-small btn-primary" data-loading-text="Loading...">Add to buy</button></td>
</tr>
<tr>
<td><img src="img/mc-example.jpg" class="table-img"></td>
<td>
<strong>Modern China: A Very Short Introduction</strong><br>
Rana Mitter<br>
Oxford University Press (2008)
</td>
<td>$24.00</td>
<td><button class="btn btn-small btn-primary" data-loading-text="Loading...">Add to buy</button></td>
</tr>
<tr>
<td><img src="img/wild.jpg" class="table-img"></td>
<td>
<strong>(insert book title)</strong><br>
(insert book author)<br>
(publisher)
</td>
<td>(price)</td>
<td><button class="btn btn-small btn-primary" data-loading-text="Loading...">Add to buy</button></td>
</tr>
<tr>
<td><img src="img/mc-example.jpg" class="table-img"></td>
<td>
<strong>Modern China: A Very Short Introduction</strong><br>
Rana Mitter<br>
Oxford University Press (2008)
</td>
<td>$24.00</td>
<td><button class="btn btn-small btn-primary" data-loading-text="Loading...">Add to buy</button></td>
</tr>
</tbody>
</table>
</div>
<!--
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
<button class="btn btn-primary">Confirm purchase</button>
</div> -->
</div>
</article>
<article class="logistics">
<form>
<fieldset>
<label><h4>Total Price</h4></label>
<input type="text" placeholder="$19.09">
<label><h4>Location</h4></label>
<input type="text" placeholder="Pick a place">
<button type="submit" class="btn center">Set location</button>
<button type="submit" class="center btn btn-large btn-green confirm">Confirm transaction</button>
</fieldset>
</form>
</article>
</aside>
</div>
</div>
<div class="container">
</div>
</div>
<?php include 'footer.php' ?>
<?php include 'javascript.php' ?>
</body>
</html>