-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
228 lines (225 loc) · 8.63 KB
/
index.html
File metadata and controls
228 lines (225 loc) · 8.63 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Speech Recognition</title>
<link
href="https://fonts.googleapis.com/css?family=Poppins:400,500&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css?family=Montserrat:400,500&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.4.1/css/bootstrap.css"
/>
<link rel="stylesheet" href="assets/css/main.min.css" />
</head>
<body>
<section class="voiceRecogWrapper">
<div class="sectionWrapper">
<div class="voiceRecog bgcolor-white">
<div class="row justify-content-center align-items-center no-gutters">
<div class="col-12 col-md-5 order-1">
<div class="detailsBlockMainWrap">
<div class="detailsBlockWrap">
<div class="detailsBlock bgcolor-white ">
<div class="row">
<div class="col-3"></div>
<div class="col-9">
<h4>Use Keywords</h4>
<p>
Lorem, ipsum dolor sit amet consectetur adipisicing
elit. Eveniet quaerat culpa cum rem? Minima quis
voluptatem
</p>
</div>
</div>
</div>
<div class="detailsBlock bgcolor-white ">
<div class="row">
<div class="col-3"></div>
<div class="col-9">
<h4>Use Keywords</h4>
<p>
Lorem, ipsum dolor sit amet consectetur adipisicing
elit. Eveniet quaerat culpa cum rem? Minima quis
voluptatem
</p>
</div>
</div>
</div>
<div class="detailsBlock bgcolor-white ">
<div class="row">
<div class="col-3"></div>
<div class="col-9">
<h4>Use Keywords</h4>
<p>
Lorem, ipsum dolor sit amet consectetur adipisicing
elit. Eveniet quaerat culpa cum rem? Minima quis
voluptatem
</p>
</div>
</div>
</div>
</div>
<div
class="d-flex d-flex-wrap justify-content-center align-items-center"
>
<div class="miciconWrap" id="mic">
<div class="mic bgcolor-white">
<img src="assets/images/mic.png" class="" alt="" />
<img src="assets/images/wave.png" class="d-none" alt="" />
<!-- add class d-none in first image and remove it from second -->
</div>
</div>
<div class="editiconWrap" id="edit">
<div class="edit bgcolor-white">
<img src="assets/images/edit.png" class="" alt="" />
<img
src="assets/images/writing.png"
class="d-none"
alt=""
/>
<!-- add class d-none in first image and remove it from second -->
</div>
</div>
</div>
</div>
</div>
<div class="col-12 col-md-7 order-0">
<div class="voiceRecogBlock d-block position-relative d-hidehtag">
<h4>Click icon to Enter text .....</h4>
<!-- add class d-hidehtag in voiceRecogBlock div to hide h4 -->
<div class="contentBlock">
<!-- add class editActive in contentBlock div to make borders in input visible -->
<form action="#">
<div
class="patientDetails editActive d-flex align-items-center justify-content-center"
>
<input
type="text"
class=""
name="patientName"
value="Md Aquiluzzaman Ansari"
/>
<input
type="text"
class=""
value="20"
name="patientAge"
/>
<input
type="text"
class=""
value="Male"
name="patientGender"
/>
</div>
<div class="row justify-content-center mt-4">
<div class="col-lg-4">
<div class="symptomsDetails editActive">
<textarea
name=""
id=""
rows="10"
value=""
name="patientSymptoms"
></textarea>
</div>
<div class="diagnosisDetails editActive">
<textarea
name=""
id=""
rows="10"
value=""
name="patientDiagnosis"
></textarea>
</div>
</div>
<div class="col-lg-8">
<div class="medicineDetails editActive">
<textarea
name=""
id=""
rows="10"
value=""
name="patientMedicine"
></textarea>
</div>
<div class="adviceDetails editActive">
<textarea
name=""
id=""
rows="10"
value=""
name="patientAdvice"
></textarea>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.4.1/js/bootstrap.js"></script>
<script>
$.fn.textWidth = function(_text, _font) {
//get width of text with font. usage: $("div").textWidth();
var fakeEl = $("<span>")
.hide()
.appendTo(document.body)
.text(_text || this.val() || this.text())
.css("font", _font || this.css("font")),
width = fakeEl.width();
fakeEl.remove();
return width;
};
$.fn.autoresize = function(options) {
//resizes elements based on content size. usage: $('input').autoresize({padding:10,minWidth:0,maxWidth:100});
options = $.extend(
{ padding: 10, minWidth: 0, maxWidth: 10000 },
options || {}
);
$(this)
.on("input", function() {
$(this).css(
"width",
Math.min(
options.maxWidth,
Math.max(
options.minWidth,
$(this).textWidth() + options.padding
)
)
);
})
.trigger("input");
return this;
};
$("input").autoresize({ padding: 10, minWidth: 25, maxWidth: 300 });
</script>
<script>
// $.fn.textHeight = function(_text, _font) {
// //get Height of text with font. usage: $("div").textHeight();
// var fakeEl = $("<span>")
// .hide()
// .appendTo(document.body)
// .text(_text || this.val() || this.text())
// .css("font", _font || this.css("font")),
// width = fakeEl.width();
// fakeEl.remove();
// return width;
// };
</script>
</body>
</html>