-
Notifications
You must be signed in to change notification settings - Fork 2
/
inventory.html
112 lines (112 loc) · 2.57 KB
/
inventory.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<html>
<head>
<style>
@import url('https://fonts.googleapis.com/css?family=Raleway');
body{
background-color: #f5f5f5;
color: #333;
font-family: 'Raleway';
padding: 5px;
user-select: none;
display: flex;
justify-content: space-between;
}
.section{
padding: 10px;
background-color: #fff;
flex: 1;
box-sizing: border-box;
border:1px solid #eee;
margin: 0;
height: 100%;
overflow: auto;
}
.section:not(:first-of-type){
margin-left: 10px;
}
label{
display: block;
margin-top: 10px;
width: 100%;
}
input{
border: none;
outline: none;
padding: 5px;
box-sizing: border-box;
width: 100%;
border:1px solid #eee;
border-radius: 5px;
font-size: 16px;
background-color: #fcfcfc;
}
.actions{
display: flex;
justify-content: flex-end;
}
.btn{
margin-top: 10px;
display: inline-block;
color: #00e6ac;
border: 2px solid #00e6ac;
font-weight: 700;
font-family: Raleway;
background-color: transparent;
padding: 7px 15px;
border-radius: 5px;
transition: background-color 0.1s linear;
cursor: pointer;
}
.btn:not(:first-of-type){
margin-left: 10px;
}
.btn:hover{
color: #fff;
background-color: #00e6ac;
}
.btn.secondary{
color: #bbb;
border-color: #bbb;
}
.btn.secondary:hover{
color: #666;
background-color: #bbb;
}
table{
width: 100%;
table-layout: fixed;
}
tbody{
font-size: 14px;
user-select: auto;
}
td, th{
text-align: left;
overflow: hidden;
text-overflow: ellipsis;
user-select:
}
</style>
</head>
<body>
<div class="section">
<label for="asset">Asset tag</label>
<input id="asset" autofocus requied/>
<label for="serial">Serial number</label>
<input id="serial" requied/>
<div class="actions">
<div class="btn secondary" id="cancel">Cancel</div>
<div class="btn" id="submit">Save</div>
</div>
</div>
<div class="section">
<table>
<thead>
<tr><th>Asset</th><th>Serial</th><th>Status</th></tr>
</thead>
<tbody></tbody>
</table>
</div>
</body>
<script src="inventory.js"></script>
</html>