File tree Expand file tree Collapse file tree 4 files changed +241
-156
lines changed Expand file tree Collapse file tree 4 files changed +241
-156
lines changed Original file line number Diff line number Diff line change 8
8
background : # f9f9f9 ;
9
9
padding : 1px ;
10
10
}
11
-
11
+
12
12
.title {
13
13
text-align : center;
14
14
font-size : 1.9em ;
15
15
color : # d89200 ;
16
16
}
17
-
17
+
18
18
h2 , h3 , h4 {
19
19
text-align : center;
20
20
}
21
-
21
+
22
22
.datafield {
23
23
font-size : 1.2em ;
24
24
}
25
-
25
+
26
26
.datatable {
27
27
font-size : 1.2em ;
28
28
border : 1px solid black;
29
29
border-collapse : collapse;
30
30
}
31
-
31
+
32
32
.datatable thead {
33
33
font-weight : 800 ;
34
34
}
35
-
35
+
36
36
.datatable tr {
37
37
border : 1px solid black;
38
38
}
39
-
39
+
40
40
.datatable td {
41
41
border : 1px solid black;
42
42
}
43
-
43
+
44
+ .input-field {
45
+ text-align : center;
46
+ border : 1px solid # aaaaaa ;
47
+ }
48
+
49
+ .input-field .btn-add-row {
50
+ border : none;
51
+ }
52
+
44
53
.btn {
45
54
width : 100% ;
46
55
padding : 3px ;
50
59
border : 2px solid black;
51
60
border-radius : 7.5px ;
52
61
}
53
-
62
+
54
63
.btn : hover {
55
64
background : # 333333 ;
56
65
color : # ffffff ;
57
66
}
58
-
67
+
59
68
.btn : active {
60
69
background : # 888888 ;
61
70
}
71
+
72
+ .btn : disabled {
73
+ background : # eeeeee ;
74
+ color : # aaaaaa ;
75
+ }
76
+
77
+ input {
78
+ width : 100% ;
79
+ }
80
+
81
+ table {
82
+ width : 100% ;
83
+ }
84
+
85
+ .btn-add-row {
86
+ width : 100% ;
87
+ padding : 0.2px ;
88
+ margin : 0 ;
89
+ }
62
90
</ style >
63
91
</ head >
64
92
< body >
@@ -68,36 +96,41 @@ <h4>An automatic web parser and packing list printer using a Raspberry Pi and a
68
96
< h3 > < span id ='done-msg '> Not connected - press Send Data above</ span > </ h3 >
69
97
< hr >
70
98
< h4 id ="more-info "> </ h4 >
71
- < button class ="btn " id ='run-button '> Print</ button >
72
- < hr >
73
- < span id ="main-data ">
74
- < h2 > Data Gathered</ h2 >
75
- < h3 > Address</ h3 >
76
- < p class ="datafield " id ="address ">
77
-
78
- </ p >
79
- < h3 > Shipping Paid</ h3 >
80
- < p class ="datafield " id ="shipping ">
81
-
82
- </ p >
83
- < h3 > Total Paid</ h3 >
84
- < p class ="datafield " id ="total ">
85
-
86
- </ p >
87
- < h3 > Items Purchased</ h3 >
88
- < table class ="datatable ">
89
- < thead >
99
+ < button class ="btn " id ='run-button '> Print</ button >
100
+ < hr >
101
+ < span id ="main-data ">
102
+ < h2 > Data Gathered</ h2 >
103
+ < h3 > Address</ h3 >
104
+ <!--<table>
105
+ <tbody id="address">
106
+
107
+ </tbody>
90
108
<tr>
91
- < th > Desc</ th >
92
- < th > Price</ th >
93
- < th > QTY</ th >
94
- < th > SKU</ th >
109
+ <td class="input-field">
110
+ <button class="btn-add-row" id="address-row-btn">Add row</button>
111
+ </td>
95
112
</tr>
96
- </ thead >
97
- < tbody id ="items ">
98
- </ tbody >
99
- </ table >
100
- < hr >
101
- </ span >
113
+ </table>-->
114
+ < textarea id ="address " rows ="4 " cols ="60 "> </ textarea >
115
+ < h3 > Shipping Paid</ h3 >
116
+ < input type ="text " class ="datafield input-field " id ="shipping " />
117
+ < h3 > Total Paid (not including shipping)</ h3 >
118
+ < input type ="text " class ="datafield input-field " id ="total " />
119
+ < h3 > Items Purchased</ h3 >
120
+ < table class ="datatable ">
121
+ < thead >
122
+ < tr >
123
+ < th > Description</ th >
124
+ < th > Price (Total)</ th >
125
+ < th > QTY</ th >
126
+ < th > SKU</ th >
127
+ </ tr >
128
+ </ thead >
129
+ < tbody id ="items ">
130
+ </ tbody >
131
+ </ table >
132
+ < button class ="btn-add-row " id ="items-row-btn "> Add row</ button >
133
+ < hr >
134
+ </ span >
102
135
</ body >
103
136
</ html >
You can’t perform that action at this time.
0 commit comments