|
8 | 8 | <head> |
9 | 9 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
10 | 10 |
|
11 | | -<script src="scripts/modernizr.custom.34982.js"></script> |
12 | | - |
13 | | -<script src="scripts/signing.js"></script> |
14 | | -<script src="scripts/signatureCapture.js"></script> |
| 11 | +<script src="../scripts/modernizr.custom.34982.js"></script> |
15 | 12 |
|
| 13 | +<script src="../scripts/signing.js"></script> |
| 14 | +<script src="../scripts/signatureCapture.js"></script> |
16 | 15 | <script |
17 | 16 | src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> |
18 | 17 | <!-- Latest compiled and minified CSS --> |
|
40 | 39 | #canvasContainer { |
41 | 40 | border: 1px solid grey; |
42 | 41 | border-radius: 5px; |
| 42 | + background-color:white; |
| 43 | +} |
| 44 | +#smallJum{ |
| 45 | + background-color:#EDEEFF; |
| 46 | + padding: 2%; |
| 47 | + border-radius: 15px; |
43 | 48 | } |
44 | 49 | </style> |
45 | 50 | <title>SignOff Form</title> |
46 | 51 | </head> |
47 | 52 | <body> |
48 | 53 |
|
49 | | - <!-- <p style="font-size:160%;">aBode</p> --> |
50 | | - |
51 | | - |
52 | | - |
53 | 54 | <div style="margin: 2%"> |
54 | | - |
55 | | - <c:url value="/register" var="url" /> |
56 | | - <form name="form" method="post" action="${url}" |
57 | | - class="form-horizontal" onsubmit="return verify()"> |
58 | | - <!-- May not need!! |
59 | | - <div class="form-group"> |
60 | | -
|
61 | | - <label for="homeCivicAddress" class="col-lg-8 control-label">Vendor/Builder and Home Address Information</label> |
62 | | -
|
63 | | - <div class="col-lg-4"> |
64 | | - <input path="homeCivicAddress" name="txtHomeCivicAddress" |
65 | | - class="form-control" id="homeCivicAddress" placeholder="Enter Home Enrollment Number" |
66 | | - required="required" type="text" /> |
67 | | - </div> |
68 | | -
|
69 | | -
|
70 | | - </div> |
71 | | - |
72 | | - <div class="form-group"> |
73 | | - </div> --> |
74 | | - |
75 | | - |
76 | | - <fieldset> |
| 55 | + <div id="smallJum"> |
| 56 | + <fieldset> |
| 57 | + <c:url value="/addSignOff" var="url" /> |
| 58 | + <form name="form" method="post" action="${url}" class="form-horizontal" onsubmit="return verify()"> |
77 | 59 |
|
78 | 60 | <legend>SignOff Form</legend> |
79 | 61 |
|
80 | | - |
81 | 62 | <div class="form-group"> |
82 | | - <p>I have inspected my new home and I agree that the descriptions of the items listed on this form are accurate.</p> |
| 63 | + <p>I have inspected my new home and I agree that the descriptions of the items listed on |
| 64 | + this form are accurate.</p> |
83 | 65 | </div> |
84 | 66 |
|
85 | | - <!-- --> |
| 67 | + <!--entry row 1 --> |
86 | 68 |
|
87 | 69 | <div class="form-group"> |
88 | 70 | <label for="date" class="col-lg-3 control-label">Date</label> |
89 | 71 |
|
90 | 72 | <div class="col-lg-2"> |
91 | | - <input path="date" name="txtDate" class="form-control" |
92 | | - id="level" placeholder="" required="required" type="text" /> |
93 | | - </div> |
| 73 | + <input path="date" name="date" class="form-control" value="${form.date}" |
| 74 | + id="date" placeholder="" required="required" type="text" /> |
94 | 75 | </div> |
| 76 | + </div> |
| 77 | + <!--entry row 2 --> |
95 | 78 | <div class="form-group"> |
96 | 79 |
|
97 | | - <label for="purchasersName" class="col-lg-3 control-label">Purchaser's Name</label> |
| 80 | + <label for="purchName" class="col-lg-3 control-label">Purchaser's Name</label> |
98 | 81 |
|
99 | 82 | <div class="col-lg-4"> |
100 | | - <input path="purchasersName" name="txtPurchasersName" class="form-control" id="purchasersName" |
101 | | - placeholder="" required="required" type="text" /> |
| 83 | + <input path="purchName" name="txtPurchasersName" class="form-control" id="purchName" |
| 84 | + placeholder="" value="${form.purchName}" required="required" type="text" /> |
102 | 85 | </div> |
| 86 | + </div> |
| 87 | + <!--entry row 3 --> |
| 88 | + <div class="form-group"> |
| 89 | + <label for="desName" class="col-lg-3 control-label">Designator's Name</label> |
103 | 90 |
|
104 | | - <label for="designatorsName" class="col-lg-3 control-label">Designator's * Name</label> |
105 | | - |
106 | | - <div class="col-lg-2"> |
107 | | - <input path="designatorsName" name="txtDesignatorsName" |
108 | | - class="form-control" id="designatorsName" |
109 | | - placeholder="" required="required" type="text" /> |
| 91 | + <div class="col-lg-4"> |
| 92 | + <input path="desName" name="desName" class="form-control" id="desName" value="${form.desName}" |
| 93 | + placeholder="" type="text" /> |
110 | 94 |
|
111 | 95 | </div> |
112 | 96 | </div> |
| 97 | + <!-- row 4 --> |
| 98 | + <input type="hidden" name="homeEnrollmentNumber" value="${form.homeEnrollmentNumber}"/> |
| 99 | + <input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}"/> |
| 100 | + <div class="form-group"> |
| 101 | + <input type="submit" value="Save" class="pull-right btn btn-primary" /> |
113 | 102 |
|
114 | | - <!-- end of row 2 start of row 3 --> |
115 | | - |
| 103 | + </div> |
| 104 | + </form> |
116 | 105 | <div class="form-group"> |
117 | 106 |
|
118 | | - <label for="purchasersSig" class="col-lg-3 control-label">Designator / Purchaser's Signature</label> |
| 107 | + <label for="finalSig" class="col-lg-3 control-label">Designator / Purchaser's Signature</label> |
119 | 108 | <div class="col-lg-4"> |
120 | 109 | <div id="canvasContainer" width="300px" > |
121 | 110 | <canvas id="signature" height="200px" /> |
122 | 111 | </div> |
123 | 112 | </div> |
124 | | - <!--<div><button onclick="to_image()">Accept</button></div>--> |
125 | | - <div><button id="acc2" onclick="accept()">Accept</button></div> |
| 113 | + |
| 114 | + <div><button id="acc2" onclick="accept()" class="btn btn-primary btn-sm">Accept</button></div> |
126 | 115 | <div id="acc1"></div> |
127 | 116 | <br><br> |
128 | | - <div><button onclick="clearSig()">Redo</button></div> |
129 | | - |
130 | | - <!-- |
131 | | - <div class="col-lg-4"> |
132 | | - <input path="purchasersSig" name="txtPurchasersSig" |
133 | | - class="form-control" id="purchasersSig" placeholder="" |
134 | | - required="required" type="text" /> |
135 | | - </div> --> |
| 117 | + <div><button onclick="clearSig()" class="btn btn-default btn-sm">Redo</button></div> |
136 | 118 |
|
137 | | - |
138 | | - </div> |
139 | | - |
140 | | - <!-- end of row 3 start of row 4 --> |
141 | | - <div class="form-group"> |
142 | | - <p>* Purchasers or owners who intend to designate someone to conduct the PDI in their place should ensure they |
143 | | - provide written authority to the vendor/builder authorizing the designate to sign this form on their behalf</p> |
144 | | - <br> |
145 | | - <!-- <p>I the homeowner, confirm that all repair work listed has been completed.</p> --> |
146 | | - </div> |
| 119 | +</div> |
| 120 | + </fieldset> |
| 121 | +</div> |
| 122 | +</div> |
| 123 | + <!-- end text --> |
| 124 | + |
| 125 | + <div> |
| 126 | + <p>* Purchasers or owners who intend to designate someone to conduct the PDI in their place should ensure they |
| 127 | + provide written authority to the vendor/builder authorizing the designate to sign this form on their behalf</p> |
| 128 | + <br> |
| 129 | + <!-- <p>I the homeowner, confirm that all repair work listed has been completed.</p> --> |
| 130 | + </div> |
147 | 131 |
|
148 | 132 | <!-- end of row 5 start of row 6 --> |
149 | 133 | <!-- MAY NOT NEED |
|
169 | 153 |
|
170 | 154 | <!-- end of row 6 start of row 7 --> |
171 | 155 |
|
172 | | - <div class="form-group"> |
| 156 | + <input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}"/> |
| 157 | + |
| 158 | + <div class="form-group"> |
173 | 159 | <c:url value="/" var="home" /> |
174 | | - <a href="${home}" class="pull-right btn btn-default">Finish</a> |
| 160 | + <a href="${home}" class="pull-right btn btn-success" id="nextBtn">Finish</a> |
175 | 161 |
|
176 | | - </div> |
| 162 | + </div> |
177 | 163 |
|
178 | 164 | <div class="form-group"> |
179 | | - |
180 | | - |
181 | | - <input type="hidden" name="${_csrf.parameterName}" |
182 | | - value="${_csrf.token}" /> <input type="submit" value="Save" |
183 | | - class="pull-right btn btn-default" onclick="verify()" |
184 | | - /> |
| 165 | + <c:url value="/displayUnitDeficiencies/${form.homeEnrollmentNumber}" var="displayUnitDeficiencies" /> |
| 166 | + <a href="${displayUnitDeficiencies}" class="pull-left btn btn-default" id="backBtn">Back</a> |
185 | 167 |
|
186 | 168 | </div> |
187 | 169 |
|
|
190 | 172 | <!-- end --> |
191 | 173 |
|
192 | 174 |
|
193 | | - </fieldset> |
194 | | - </form> |
| 175 | + |
195 | 176 |
|
196 | 177 | </div> |
197 | 178 |
|
|
0 commit comments