-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaddproduct.html
66 lines (58 loc) · 2.21 KB
/
addproduct.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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Bizcatch</title>
<link rel="stylesheet" href="themes/Bootstrap.css">
<link rel="stylesheet" type="text/css" href="css/jquery.mobile.structure-1.4.0.min.css" />
<link rel="stylesheet" href="themes/jquery.mobile.icons.min.css" />
<script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="js/jquery.validate.min.js"></script>
<script type="text/javascript" src="js/jquery.mobile-1.4.0.min.js"></script>
<script type="text/javascript" src="cordova.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<script type="text/javascript" src="js/db.js"></script>
</head>
<body>
<div data-role="page" data-theme="c">
<div data-role="header" data-position="inline">
<a href="index.html" data-icon="home" data-theme="c"> </a>
<h1>Add Product</h1>
<a href="index.html" data-icon="check"> </a>
</div>
<div data-role="content" data-theme="a">
<form action="#" method="get" id="add_prod_form" novalidate>
<div data-role="fieldcontainer">
<label for="code">Code:<em>* </em></label>
<input type="text" name="code" id="code" class="required" required/>
</div>
<div data-role="fieldcontainer">
<label for="desc">Description:<em>* </em></label>
<input type="text" name="desc" id="desc" required/>
</div>
<div data-role="fieldcontainer">
<label for="unit">Unit:<em>* </em> </label>
<input type="text" name="unit" id="unit" />
</div>
<div data-role="fieldcontainer">
<label for="price">Price:<em>* </em> </label>
<input type="text" name="price" id="price" />
</div>
<div class="ui-body">
<fieldset class="ui-grid-a">
<div class="ui-block-a"><button type="submit" data-theme="c" data-icon="delete">Cancel</button></div>
<div class="ui-block-b"><button type="submit" data-theme="c" data-icon="check">Save</button></div>
</fieldset>
</div>
</form>
</div>
</div>
</body>
</html>
<style>
label.error {
color: red;
}
em { color: red; font-weight: bold; padding-right: .25em; }
</style>