-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathsecondPage.html
296 lines (254 loc) · 7.2 KB
/
secondPage.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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
<html lang="en">
<head>
<meta charset="UTF-8">
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("select.test1").change(function(){
var value1 = $(".test1 option:selected").val();
$(".val1").attr("value", value1);
});
$("select.test2").change(function(){
var value2 = $(".test2 option:selected").val();
$(".val2").attr("value", value2);
});
$("select.test3").change(function(){
var value3 = $(".test3 option:selected").val();
$(".val3").attr("value", value3);
});
$("select.test4").change(function(){
var value4 = $(".test4 option:selected").val();
$(".val4").attr("value", value4);
});
$("select.test5").change(function(){
var value5 = $(".test5 option:selected").val();
$(".val5").attr("value", value5);
});
$("#submitClick").click(function(){
var v5 = parseInt($(".val5").val());
var v4 = parseInt($(".val4").val());
var v3 = parseInt($(".val3").val());
var v2 = parseInt($(".val2").val());
var v1 = parseInt($(".val1").val());
var totalScore = ((v1+v2+v3+v4+v5)/5);
alert(totalScore);
});
});
function myFunction() {
// document.getElementById("demo").innerHTML = "Hello World";
window.location.href="/lastPage" ;
}
</script>
<div class="danger">
<p><strong></strong> </p>
</div>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body{
margin:0px;
padding:0px;
}
form{
font-size:14px;
color:orangered;
}
.back-color{
background-color: #fff;
}
h3 {
color: orangered;
}
.checkbox{
color : white;
}
lable{
display: inline-block;
margin: 8px;
padding: 12px;
list-style: none;
width: 493px;
padding-right: 276px ;
}
.danger {
width: 1200px;
/* background-color: #bb511e; */
/* height: 85px; */
float: right;
}
.center {
margin: auto;
border: 0px solid #6153d82e;
padding: 75px;
margin: -87px 11px;
}
.header img {
float: left;
width: 104px;
height: 95px;
/* background: #555; */
/* padding-top: 31px; */
}
.header {
height: 100px;
width:100%;
}
.header h2 {
top: 10px;
left: 10px;
color: black;
}
.header h1 {
top: 10px;
left: 10px;
color: black;
}
h4{
color:orangered;
}
.button {
background-color: rgb(175, 165, 76); /* Green */
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
input[type=text] {
width: 18%;
padding: 12px 20px;
margin: 10px 3px;
box-sizing: border-box;
}
p {
display: block;
margin-block-start: -4em;
margin-block-end: 3em;
margin-inline-start: 1015px;
margin-inline-end: 55px;
}
/* chekcbox in select item style Start */
.multiselect {
width: 223px;
margin: 39px 700px;
height: 46px -26px;
}
.selectBox {
position: relative;
}
.selectBox select {
width: 294px;
font-weight: bold;
height: 41px;
padding: -26px -30px;
margin: -70px 801px;
}
.overSelect {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
#checkboxes {
display: none;
border: 1px #dadada solid;
color:#000;
}
#checkboxes label {
display: block;
}
#checkboxes label:hover {
background-color: #1e90ff;
}
/* chekcbox in select item style End */
.button2 {background-color: #008CBA;}
.left{
float:left;
}
.right_txt{
float:right;
position: absolute;
top:30px;
left:115px;
font-size:25px;
font-family:arial;
}
.clear{
clear:both;
}
</style>
<body>
<div class="danger">
<strong>
</strong>
</div>
<div class="header">
<div class="left">
<img src="./image.jpg" alt="logo" />
</div>
<div class="right_txt">
PwC Survey
</div>
<div class="both"></div>
</div>
<div class="center back-color">
</head>
<body>
<input type= "hidden" class = "val5" value="">
<input type= "hidden" class = "val4" value="">
<input type= "hidden" class = "val3" value="">
<input type= "hidden" class = "val2" value="">
<input type= "hidden" class = "val1" value="">
<div class="center">
<div class="center">
<from action = "/lastPage" style="color:#fff"; id="secPage" method ="GET">
<br>
<lable><h4>Do you analyze non-functional requirements for your application to get the
idea of production user traffic, system response time, transaction rate etc?
</h4> </lable>
<select class ="test1" style="height: 41px; width: 122px; margin: -94px 600px;" >
<option>Select</option>
<option value="5">Partially</option>
<option value="10">Yes</option>
<option value="0">No</option>
</select>
<lable><h4>Do you have a streamlined performance baselining process i.e regular
load/stress testing of application and analysis of captured performance metrics?</h4></lable>
<select class ="test2" style="height: 41px; width: 122px; margin: -94px 600px;">
<option>Select</option>
<option value="5">Partially</option>
<option value="10">Yes</option>
<option value="0">No</option>
</select>
<lable><h4>Do you have proactive monitoring strategy to monitor application performance?</h4></lable>
<select class ="test3" style="height: 41px; width: 122px; margin: -94px 600px;">
<option>Select</option>
<option value="5">Partially</option>
<option value="10">Yes</option>
<option value="0">No</option>
</select>
<lable><h4>Do you maintain any enterprise level dashboard to check the system and infrastructure health?</h4></lable>
<select class ="test4" style="height: 41px; width: 122px; margin: -94px 600px;">
<option>Select</option>
<option value="5">Partially</option>
<option value="10">Yes</option>
<option value="0">No</option>
</select>
<lable><h4>Types of Performance re-engineering exercise you follow in regular basis</h4></lable>
<select class ="test5" style="height: 41px; width: 122px; margin: -94px 600px;">
<option>Select</option>
<option value="5">Partially</option>
<option value="10">Yes</option>
<option value="0">No</option>
</select>
<br>
<br>
<center><button class="button button2" id="submitClick"> Submit </button> <button class="button button2" onclick="myFunction()" id="myButton"> Next </button> </center> </div>
</form>
</body>
</html>