-
Notifications
You must be signed in to change notification settings - Fork 1
/
realtimeadmin.html
98 lines (88 loc) · 3.13 KB
/
realtimeadmin.html
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
<template name="realtimeadmin">
<section id="wrapper" class="row">
<nav id="navigation">
<section id="navwrap">
<div id="logosect">
<img src="images/layout_02.png" alt="BidMe Don't miss it">
</div>
<div id="navlist" >
<ul id="navlinkssection">
<li><a href="/realtimeadmin">Product</a></li>
<li><a href="/home">Real Time Watch</a></li>
</ul>
<div id="navselectbox" class="row" >
<select class="row">
<option value="realtimeadmin">Product</option>
<option value="home">Real Time Watch</option>
<!-- <option value="signup">Sign up</option>
<option value="contacts">Contacts</option> -->
</select>
</div>
</div>
</section>
</nav>
<section id="main_container" >
<div id="mainwrapper" class="row">
<div class="row">
<div class="col-md-8"> <h1>ADD a product </h1>
<form role="form" method="post">
<div class="form-group">
<label for="productName">Prodct Name</label>
<input type="text" class="form-control" name="productName" id="productName" placeholder="Name of the Product">
</div>
<div class="form-group">
<label for="productDis">Discription </label>
<textarea rows="6" cols="50" placeholder="Discription about the Product" class="form-control" name="productDis" id="productDis"></textarea>
</div>
<div class="form-group">
<label for="date1">Expiring Date</label>
<input type="date" class="form-control" name="date1" id="date1" placeholder="2014-08-08">
</div>
<div class="form-group">
<label for="startingbid">Starting Bid</label>
<input type="number" class="form-control" name="startingbid" id="startingbid" placeholder="LKR 2500.00">
</div>
<div class="form-group">
<label for="startingbid">Image URL</label>
<input type="text" class="form-control" name="url" id="url" >
</div>
<button type="submit" class="smallbtnclass" style="float: left;">Submit</button>
<button type="reset" class="smallbtnclass" style="float: left; padding-left:10px:">cancel</button>
</form>
</div>
<div class="col-md-4"></div>
</div>
<div class="row">
<h1> Products In Hand </h1>
<table class="table table-hover">
<thead>
<tr>
<th>Product Name</th>
<th>Added date</th>
<th>Expiring date</th>
<th>startng bid</th>
<th>Image</th>
</tr>
</thead>
<tbody>
{{#each product}}
<tr>
<td> {{name}}</td>
<td>{{start_date}}</td>
<td>{{end_date}}</td>
<td> LKR {{start_bid}}</td>
<td> <img src="{{url}}" width="50" height="50" /> </td>
</tr>
{{/each}}
</tbody>
</table>
</div>
</div>
</section>
<footer id="footer">
<div id="footerwrap">
<p>© Copyrights BidMe 2014</p>
</div>
</footer>
</section>
</template>