-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
376 lines (360 loc) · 21.6 KB
/
index.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
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
<!DOCTYPE html>
<html lang="fa" dir="rtl">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- favicon -->
<link rel="apple-touch-icon" sizes="180x180" href="icons/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="icons/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="icons/favicon/favicon-16x16.png">
<link rel="manifest" href="icons/favicon/site.webmanifest">
<meta name="msapplication-TileColor" content="#da532c">
<title>سرای تبدیل | محاسبه آنلاین</title>
<!-- فایل های استایل -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.rtl.min.css"
integrity="sha384-dc2NSrAXbAkjrdm9IYrX10fQq9SDG6Vjz7nQVKdKcJl3pC+k37e7qJR5MVSCS+wR" crossorigin="anonymous">
<link rel="stylesheet" href="styles/main.css">
</head>
<body>
<header class="py-4">
<div class="container">
<div class="header-top d-flex justify-content-center align-items-center py-5 flex-wrap">
<div
class="brand col-6 col-md-12 col-lg-3 d-flex justify-content-center justify-content-md-center justify-content-lg-center align-items-center">
<div class="logo me-sm-3">
<img src="icons/calculator-simple.svg" alt="">
</div>
<h3 class="fw-bold text-white m-0">سرای تبدیل</h3>
</div>
<div class="notification col-2 col-lg-1 text-center d-lg-block mt-md-4 mt-lg-0">
<a class="btn btn-primary d-inline-block" type="button" href="job.html">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-briefcase"
viewBox="0 0 16 16">
<path
d="M6.5 1A1.5 1.5 0 0 0 5 2.5V3H1.5A1.5 1.5 0 0 0 0 4.5v8A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-8A1.5 1.5 0 0 0 14.5 3H11v-.5A1.5 1.5 0 0 0 9.5 1h-3zm0 1h3a.5.5 0 0 1 .5.5V3H6v-.5a.5.5 0 0 1 .5-.5zm1.886 6.914L15 7.151V12.5a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5V7.15l6.614 1.764a1.5 1.5 0 0 0 .772 0zM1.5 4h13a.5.5 0 0 1 .5.5v1.616L8.129 7.948a.5.5 0 0 1-.258 0L1 6.116V4.5a.5.5 0 0 1 .5-.5z" />
</svg>
</a>
</div>
<div class="search col-9 col-md-8 col-lg-5 mt-4 mt-lg-0">
<input type="text" class="fs-6 fw-bolder border rounded-3 w-100 p-3 text-white bg-1 border-0"
placeholder="دنبال چه ابزاری میگردی؟">
</div>
</div>
</div>
</header>
<main>
<section class="features">
<div class="container">
<article id="compass">
<div class="section-title p-3">
<h3 class="d-inline ms-2 m-0">
ابزار ها
</h3>
<img src="icons/compass-drafting.svg" alt="">
</div>
<div class="row mt-5">
<div class="col-12 col-md-6 col-lg-4 mb-4">
<div class="feature d-flex justify-content-center align-items-center flex-column">
<h4 class="mb-3">تبدیل واحد پول</h4>
<span>تبدیل واحد های ارزی روز دنیا</span>
<button type="button" class="btn btn-primary mt-3" data-bs-toggle="modal"
data-bs-target="#exampleModal1">
استفاده
</button>
<div class="modal fade" id="exampleModal1" tabindex="-1" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-xl">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">تبدیل واحد پول</h5>
<button type="button" class="btn-close m-0" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body py-5">
<div class="alert alert-warning" role="alert">
یکای خود را انتخاب و اعداد مورد نظر را وارد کنید سپس روی محاسبه کلیک نمایید
</div>
<div class="d-flex justify-content-center align-items-center">
<input type="number" name="" id="num" class="form-control w-25" placeholder="ورودی"
oninput="this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\..*)\./g, '$1');">
<span class="mx-3">=</span>
<input type="text" name="" id="ans" class="form-control w-25" placeholder="خروجی" disabled>
</div>
<div class="d-flex justify-content-center align-items-center mt-3">
<select name="currency" class="currency form-select w-25"></select>
<span class="mx-3">=</span>
<select name="currency" class="currency form-select w-25"></select>
</div>
<div class="text-center mt-3">
<button class="btn btn-success w-50" id="btn">محاسبه</button>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary m-0" data-bs-dismiss="modal"
id="btn">بستن</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-12 col-md-6 col-lg-4 mb-4">
<div class="feature d-flex justify-content-center align-items-center flex-column">
<h4 class="mb-3">میانگین</h4>
<span>محاسبه میانگین 3 عدد</span>
<button type="button" class="btn btn-primary mt-3" data-bs-toggle="modal"
data-bs-target="#exampleModal2">
استفاده
</button>
<div class="modal fade" id="exampleModal2" tabindex="-1" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-xl">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">محاسبه میانگین</h5>
<button type="button" class="btn-close m-0" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body py-5">
<div class="alert alert-warning" role="alert">
اعداد مورد نطر را وارد نمایید سپس روی نتیجه کلیک نمایید
</div>
<div class="d-flex justify-content-center">
<input type="text" class="form-control w-25 me-3" placeholder="عدد1" id="number1"
oninput="this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\..*)\./g, '$1');">
<input type="text" class="form-control w-25 me-3" placeholder="عدد2" id="number2"
oninput="this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\..*)\./g, '$1');">
<input type="text" class="form-control w-25 me-3" placeholder="عدد3" id="number3"
oninput="this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\..*)\./g, '$1');">
<button class="btn btn-success" id="sumbtn">نتیجه</button>
</div>
<p class="text-center mt-3">
نتیجه : <span id="resultsum"></span>
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">بستن</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-12 col-md-6 col-lg-4 mb-4">
<div class="feature d-flex justify-content-center align-items-center flex-column">
<h4 class="mb-3">محاسبه درصد</h4>
<span>محاسبه درصد آزمون بر اساس درست و غلط</span>
<button type="button" class="btn btn-primary mt-3" data-bs-toggle="modal"
data-bs-target="#exampleModal3">
استفاده
</button>
<div class="modal fade" id="exampleModal3" tabindex="-1" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-xl">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">محاسبه درصد</h5>
<button type="button" class="btn-close m-0" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body py-5">
<div class="alert alert-warning" role="alert">
جواب های درست،غلط و نزده خود را وارد نمایید سپس روی محاسبه کلیک نمایید
</div>
<div class="d-flex justify-content-center">
<input type="text" class="form-control w-25 me-3" placeholder="درست" id="mark1"
oninput="this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\..*)\./g, '$1');">
<input type="text" class="form-control w-25 me-3" placeholder="غلط" id="mark2"
oninput="this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\..*)\./g, '$1');">
<input type="text" class="form-control w-25 me-3" placeholder="نزده" id="mark3"
oninput="this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\..*)\./g, '$1');">
<button class="btn btn-success" id="markbtn">محاسبه</button>
</div>
<p class="text-center mt-3">
درصد آزمون : <span id="marksum"></span>
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">بستن</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-12 col-md-6 col-lg-4 mb-4">
<div class="feature d-flex justify-content-center align-items-center flex-column">
<h4 class="mb-3">طول</h4>
<span>متر به کیلومتر ، سانتی متر به متر و ....</span>
<button type="button" class="btn btn-primary mt-3" data-bs-toggle="modal"
data-bs-target="#exampleModal4">
استفاده
</button>
<div class="modal fade" id="exampleModal4" tabindex="-1" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">تبدیل واحد طول</h5>
<button type="button" class="btn-close m-0" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body py-5">
<div class="alert alert-warning" role="alert">
یکای خود را انتخاب و اعداد مورد نظر را وارد کنید سپس روی محاسبه کلیک نمایید
</div>
<div class="d-flex justify-content-center align-items-center">
<input type="text" class="form-control w-25" placeholder="خروجی" id="result1" disabled>
<span class="mx-3">=</span>
<input type="text" class="form-control w-25" placeholder="ورودی" id="input1"
oninput="this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\..*)\./g, '$1');">
</div>
<div class="d-flex justify-content-center align-items-center mt-3">
<select class="form-select w-25" id="resultType1">
<option value="meter">متر</option>
<option value="kilometer">کیلومتر</option>
<option value="centimeter">سانتی متر</option>
</select>
<span class="mx-3">=</span>
<select class="form-select w-25" id="inputType1">
<option value="meter">متر</option>
<option value="kilometer">کیلومتر</option>
<option value="centimeter">سانتی متر</option>
</select>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">بستن</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-12 col-md-6 col-lg-4 mb-4">
<div class="feature d-flex justify-content-center align-items-center flex-column">
<h4 class="mb-3">جرم</h4>
<span>محاسبه و نمایش جرم به گرم،کیلوگرم و ...</span>
<button type="button" class="btn btn-primary mt-3" data-bs-toggle="modal"
data-bs-target="#exampleModal5">استفاده</button>
<div class="modal fade" id="exampleModal5" tabindex="-1" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">تبدیل واحد جرم</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body py-5">
<div class="alert alert-warning" role="alert">
یکای خود را انتخاب و اعداد مورد نظر را وارد کنید سپس روی محاسبه کلیک نمایید
</div>
<div class="d-flex justify-content-center align-items-center">
<input type="text" class="form-control w-25" placeholder="خروجی" id="result2" disabled>
<span class="mx-3">=</span>
<input type="text" class="form-control w-25" placeholder="ورودی" id="input2"
oninput="this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\..*)\./g, '$1');">
</div>
<div class="d-flex justify-content-center align-items-center mt-3">
<select class="form-select w-25" id="resultType2">
<option value="gram">گرم</option>
<option value="kilogram">کیلوگرم</option>
<option value="ton">تن</option>
</select>
<span class="mx-3">=</span>
<select class="form-select w-25" id="inputType2">
<option value="gram">گرم</option>
<option value="kilogram">کیلوگرم</option>
<option value="ton">تن</option>
</select>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">بستن</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-12 col-md-6 col-lg-4 mb-4">
<div class="feature d-flex justify-content-center align-items-center flex-column">
<h4 class="mb-3">زمان</h4>
<span>محاسبه و نمایش زمان به دقیقه،ثانیه ...</span>
<button type="button" class="btn btn-primary mt-3" data-bs-toggle="modal"
data-bs-target="#exampleModal6">استفاده</button>
<div class="modal fade" id="exampleModal6" tabindex="-1" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">تبدیل واحد زمان</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body py-5">
<div class="alert alert-warning" role="alert">
یکای خود را انتخاب و اعداد مورد نظر را وارد کنید سپس روی محاسبه کلیک نمایید
</div>
<div class="d-flex justify-content-center align-items-center">
<input type="text" class="form-control w-25" placeholder="خروجی" id="result3" disabled>
<span class="mx-3">=</span>
<input type="text" class="form-control w-25" placeholder="ورودی" id="input3"
oninput="this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\..*)\./g, '$1');">
</div>
<div class="d-flex justify-content-center align-items-center mt-3">
<select class="form-select w-25" id="resultType3">
<option value="second">ثانیه</option>
<option value="minute">دقیقه</option>
<option value="hour">ساعت</option>
</select>
<span class="mx-3">=</span>
<select class="form-select w-25" id="inputType3">
<option value="second">ثانیه</option>
<option value="minute">دقیقه</option>
<option value="hour">ساعت</option>
</select>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">بستن</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</article>
</div>
</section>
</main>
<footer>
<div class="container">
<div class="footer-top text-center mb-3">
<div class="social-media d-flex justify-content-center">
<span
class="bg-light rounded p-2 border rounded-circle me-2 d-flex justify-content-center align-items-center tel">
<img src="icons/telegram.svg" alt="">
</span>
<span
class="bg-light rounded p-2 border rounded-circle me-2 d-flex justify-content-center align-items-center ins">
<img src="icons/instagram.svg" alt="">
</span>
<span
class="bg-light rounded p-2 border rounded-circle me-2 d-flex justify-content-center align-items-center lin">
<img src="icons/linkedin.svg" alt="">
</span>
<span
class="bg-light rounded p-2 border rounded-circle me-2 d-flex justify-content-center align-items-center git">
<img src="icons/github.svg" alt="">
</span>
</div>
</div>
<div class="copyright text-center">
<p class="m-0 text-white">© تمامی حقوق برای امیرعلی فدیشه ای محفوظ است</p>
</div>
</div>
</footer>
<!-- اسکریپت ها -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-pprn3073KE6tl6bjs2QrFaJGz5/SUsLqktiwsUTF55Jfv3qYSDhgCecCxMW52nD2"
crossorigin="anonymous"></script>
<script src="scripts/script.js"></script>
</body>
</html>