-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcharts.php
695 lines (644 loc) · 38.3 KB
/
charts.php
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
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="apple-touch-icon" sizes="76x76" href="assets/img/apple-icon.png">
<link rel="icon" type="image/png" href="assets/img/favicon.png">
<title>
Proccessing Plant Design
</title>
<!-- Fonts and icons -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700" rel="stylesheet" />
<!-- Nucleo Icons -->
<link href="assets/css/nucleo-icons.css" rel="stylesheet" />
<link href="assets/css/nucleo-svg.css" rel="stylesheet" />
<!-- Font Awesome Icons -->
<script src="https://kit.fontawesome.com/42d5adcbca.js" crossorigin="anonymous"></script>
<link href="assets/css/nucleo-svg.css" rel="stylesheet" />
<!-- CSS Files -->
<link id="pagestyle" href="assets/css/soft-ui-dashboard.css?v=1.0.3" rel="stylesheet" />
<link href="assets/css/style.css" rel="stylesheet" />
</head>
<body class="g-sidenav-show bg-gray-444444">
<aside class="sidenav navbar navbar-vertical navbar-expand-xs border-0 border-radius-xl my-3 fixed-start ms-3 " id="sidenav-main">
<div class="sidenav-header">
<i class="fas fa-times p-3 cursor-pointer text-secondary opacity-5 position-absolute end-0 top-0 d-none d-xl-none" aria-hidden="true" id="iconSidenav"></i>
<a class="navbar-brand m-0" href="#">
<img src="assets/img/logo-ct.png" class="navbar-brand-img h-100" alt="main_logo">
<span class="ms-1 font-weight-bold" style="color:antiquewhite;">Proccessing Plant Design</span>
</a>
</div>
<hr class="horizontal dark mt-0">
<div class="collapse navbar-collapse w-auto max-height-vh-100 h-100" id="sidenav-collapse-main">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="about.html">
<div class="icon icon-shape icon-sm shadow border-radius-md bg-white text-center me-2 d-flex align-items-center justify-content-center">
<svg width="12px" height="12px" viewBox="0 0 40 40" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>About Us</title>
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g transform="translate(-1720.000000, -592.000000)" fill="#FFFFFF" fill-rule="nonzero">
<g transform="translate(1716.000000, 291.000000)">
<g transform="translate(4.000000, 301.000000)">
<path class="color-background" d="M39.3,0.706666667 C38.9660984,0.370464027 38.5048767,0.192278529 38.0316667,0.216666667 C14.6516667,1.43666667 6.015,22.2633333 5.93166667,22.4733333 C5.68236407,23.0926189 5.82664679,23.8009159 6.29833333,24.2733333 L15.7266667,33.7016667 C16.2013871,34.1756798 16.9140329,34.3188658 17.535,34.065 C17.7433333,33.98 38.4583333,25.2466667 39.7816667,1.97666667 C39.8087196,1.50414529 39.6335979,1.04240574 39.3,0.706666667 Z M25.69,19.0233333 C24.7367525,19.9768687 23.3029475,20.2622391 22.0572426,19.7463614 C20.8115377,19.2304837 19.9992882,18.0149658 19.9992882,16.6666667 C19.9992882,15.3183676 20.8115377,14.1028496 22.0572426,13.5869719 C23.3029475,13.0710943 24.7367525,13.3564646 25.69,14.31 C26.9912731,15.6116662 26.9912731,17.7216672 25.69,19.0233333 L25.69,19.0233333 Z"></path>
<path class="color-background" d="M1.855,31.4066667 C3.05106558,30.2024182 4.79973884,29.7296005 6.43969145,30.1670277 C8.07964407,30.6044549 9.36054508,31.8853559 9.7979723,33.5253085 C10.2353995,35.1652612 9.76258177,36.9139344 8.55833333,38.11 C6.70666667,39.9616667 0,40 0,40 C0,40 0,33.2566667 1.855,31.4066667 Z"></path>
<path class="color-background" d="M17.2616667,3.90166667 C12.4943643,3.07192755 7.62174065,4.61673894 4.20333333,8.04166667 C3.31200265,8.94126033 2.53706177,9.94913142 1.89666667,11.0416667 C1.5109569,11.6966059 1.61721591,12.5295394 2.155,13.0666667 L5.47,16.3833333 C8.55036617,11.4946947 12.5559074,7.25476565 17.2616667,3.90166667 L17.2616667,3.90166667 Z" opacity="0.598539807"></path>
<path class="color-background" d="M36.0983333,22.7383333 C36.9280725,27.5056357 35.3832611,32.3782594 31.9583333,35.7966667 C31.0587397,36.6879974 30.0508686,37.4629382 28.9583333,38.1033333 C28.3033941,38.4890431 27.4704606,38.3827841 26.9333333,37.845 L23.6166667,34.53 C28.5053053,31.4496338 32.7452344,27.4440926 36.0983333,22.7383333 L36.0983333,22.7383333 Z" opacity="0.598539807"></path>
</g>
</g>
</g>
</g>
</svg>
</div>
<span class="nav-link-text ms-1" style="color:antiquewhite;">About Us</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="dashboard.php">
<div class="icon icon-shape icon-sm shadow border-radius-md bg-white text-center me-2 d-flex align-items-center justify-content-center">
<svg width="12px" height="12px" viewBox="0 0 45 40" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Dashboard </title>
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g transform="translate(-1716.000000, -439.000000)" fill="#FFFFFF" fill-rule="nonzero">
<g transform="translate(1716.000000, 291.000000)">
<g transform="translate(0.000000, 148.000000)">
<path class="color-background opacity-6" d="M46.7199583,10.7414583 L40.8449583,0.949791667 C40.4909749,0.360605034 39.8540131,0 39.1666667,0 L7.83333333,0 C7.1459869,0 6.50902508,0.360605034 6.15504167,0.949791667 L0.280041667,10.7414583 C0.0969176761,11.0460037 -1.23209662e-05,11.3946378 -1.23209662e-05,11.75 C-0.00758042603,16.0663731 3.48367543,19.5725301 7.80004167,19.5833333 L7.81570833,19.5833333 C9.75003686,19.5882688 11.6168794,18.8726691 13.0522917,17.5760417 C16.0171492,20.2556967 20.5292675,20.2556967 23.494125,17.5760417 C26.4604562,20.2616016 30.9794188,20.2616016 33.94575,17.5760417 C36.2421905,19.6477597 39.5441143,20.1708521 42.3684437,18.9103691 C45.1927731,17.649886 47.0084685,14.8428276 47.0000295,11.75 C47.0000295,11.3946378 46.9030823,11.0460037 46.7199583,10.7414583 Z"></path>
<path class="color-background" d="M39.198,22.4912623 C37.3776246,22.4928106 35.5817531,22.0149171 33.951625,21.0951667 L33.92225,21.1107282 C31.1430221,22.6838032 27.9255001,22.9318916 24.9844167,21.7998837 C24.4750389,21.605469 23.9777983,21.3722567 23.4960833,21.1018359 L23.4745417,21.1129513 C20.6961809,22.6871153 17.4786145,22.9344611 14.5386667,21.7998837 C14.029926,21.6054643 13.533337,21.3722507 13.0522917,21.1018359 C11.4250962,22.0190609 9.63246555,22.4947009 7.81570833,22.4912623 C7.16510551,22.4842162 6.51607673,22.4173045 5.875,22.2911849 L5.875,44.7220845 C5.875,45.9498589 6.7517757,46.9451667 7.83333333,46.9451667 L19.5833333,46.9451667 L19.5833333,33.6066734 L27.4166667,33.6066734 L27.4166667,46.9451667 L39.1666667,46.9451667 C40.2482243,46.9451667 41.125,45.9498589 41.125,44.7220845 L41.125,22.2822926 C40.4887822,22.4116582 39.8442868,22.4815492 39.198,22.4912623 Z"></path>
</g>
</g>
</g>
</g>
</svg>
</div>
<span class="nav-link-text ms-1" style="color:antiquewhite;">Dashboard</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="charts.php">
<div class="icon icon-shape icon-sm shadow border-radius-md bg-white text-center me-2 d-flex align-items-center justify-content-center">
<svg width="12px" height="12px" viewBox="0 0 42 42" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Flow Chart Creator</title>
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g transform="translate(-1869.000000, -293.000000)" fill="#FFFFFF" fill-rule="nonzero">
<g transform="translate(1716.000000, 291.000000)">
<g id="office" transform="translate(153.000000, 2.000000)">
<path class="color-background opacity-6" d="M12.25,17.5 L8.75,17.5 L8.75,1.75 C8.75,0.78225 9.53225,0 10.5,0 L31.5,0 C32.46775,0 33.25,0.78225 33.25,1.75 L33.25,12.25 L29.75,12.25 L29.75,3.5 L12.25,3.5 L12.25,17.5 Z"></path>
<path class="color-background" d="M40.25,14 L24.5,14 C23.53225,14 22.75,14.78225 22.75,15.75 L22.75,38.5 L19.25,38.5 L19.25,22.75 C19.25,21.78225 18.46775,21 17.5,21 L1.75,21 C0.78225,21 0,21.78225 0,22.75 L0,40.25 C0,41.21775 0.78225,42 1.75,42 L40.25,42 C41.21775,42 42,41.21775 42,40.25 L42,15.75 C42,14.78225 41.21775,14 40.25,14 Z M12.25,36.75 L7,36.75 L7,33.25 L12.25,33.25 L12.25,36.75 Z M12.25,29.75 L7,29.75 L7,26.25 L12.25,26.25 L12.25,29.75 Z M35,36.75 L29.75,36.75 L29.75,33.25 L35,33.25 L35,36.75 Z M35,29.75 L29.75,29.75 L29.75,26.25 L35,26.25 L35,29.75 Z M35,22.75 L29.75,22.75 L29.75,19.25 L35,19.25 L35,22.75 Z"></path>
</g>
</g>
</g>
</g>
</svg>
</div>
<span class="nav-link-text ms-1">Flow Chart Creator</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="feedback.php">
<div class="icon icon-shape icon-sm shadow border-radius-md bg-white text-center me-2 d-flex align-items-center justify-content-center">
<svg width="12px" height="12px" viewBox="0 0 46 42" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Feedback</title>
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g transform="translate(-1717.000000, -291.000000)" fill="#FFFFFF" fill-rule="nonzero">
<g transform="translate(1716.000000, 291.000000)">
<g transform="translate(1.000000, 0.000000)">
<path class="color-background" d="M45,0 L26,0 C25.447,0 25,0.447 25,1 L25,20 C25,20.379 25.214,20.725 25.553,20.895 C25.694,20.965 25.848,21 26,21 C26.212,21 26.424,20.933 26.6,20.8 L34.333,15 L45,15 C45.553,15 46,14.553 46,14 L46,1 C46,0.447 45.553,0 45,0 Z" opacity="0.59858631"></path>
<path class="color-foreground" d="M22.883,32.86 C20.761,32.012 17.324,31 13,31 C8.676,31 5.239,32.012 3.116,32.86 C1.224,33.619 0,35.438 0,37.494 L0,41 C0,41.553 0.447,42 1,42 L25,42 C25.553,42 26,41.553 26,41 L26,37.494 C26,35.438 24.776,33.619 22.883,32.86 Z"></path>
<path class="color-foreground" d="M13,28 C17.432,28 21,22.529 21,18 C21,13.589 17.411,10 13,10 C8.589,10 5,13.589 5,18 C5,22.529 8.568,28 13,28 Z"></path>
</g>
</g>
</g>
</g>
</svg>
</div>
<span class="nav-link-text ms-1" style="color:antiquewhite;">Feedback</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="assets/Help.pdf" target="_blank">
<div class="icon icon-shape icon-sm shadow border-radius-md bg-white text-center me-2 d-flex align-items-center justify-content-center">
<svg width="12px" height="12px" viewBox="0 0 46 42" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Help</title>
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g transform="translate(-1717.000000, -291.000000)" fill="#FFFFFF" fill-rule="nonzero">
<g transform="translate(1716.000000, 291.000000)">
<g transform="translate(1.000000, 0.000000)">
<path class="color-background" d="M45,0 L26,0 C25.447,0 25,0.447 25,1 L25,20 C25,20.379 25.214,20.725 25.553,20.895 C25.694,20.965 25.848,21 26,21 C26.212,21 26.424,20.933 26.6,20.8 L34.333,15 L45,15 C45.553,15 46,14.553 46,14 L46,1 C46,0.447 45.553,0 45,0 Z" opacity="0.59858631"></path>
<path class="color-foreground" d="M22.883,32.86 C20.761,32.012 17.324,31 13,31 C8.676,31 5.239,32.012 3.116,32.86 C1.224,33.619 0,35.438 0,37.494 L0,41 C0,41.553 0.447,42 1,42 L25,42 C25.553,42 26,41.553 26,41 L26,37.494 C26,35.438 24.776,33.619 22.883,32.86 Z"></path>
<path class="color-foreground" d="M13,28 C17.432,28 21,22.529 21,18 C21,13.589 17.411,10 13,10 C8.589,10 5,13.589 5,18 C5,22.529 8.568,28 13,28 Z"></path>
</g>
</g>
</g>
</g>
</svg>
</div>
<span class="nav-link-text ms-1" style="color:antiquewhite;">Help</span>
</a>
</li>
</ul>
</div>
</aside>
<main class="main-content position-relative max-height-vh-100 h-100 mt-1 border-radius-lg ">
<div class="container-fluid py-4">
<div class="row" id="chart-input1">
<div class="col-xl-4 col-lg-5 col-md-7 mx-auto">
<div class="card z-index-0">
<div class="card-body">
<form role="form text-left">
<div class="mb-3">
<label for="m_type">Mineral Type</label>
<select class="form-control" name="m_type" id="m_type" aria-label="Name">
<option value="default" disabled>Select the Mineral Type</option>
<option value="Aggregate" selected>Aggregate</option>
<option value="Quatz">Quatz</option>
</select>
</div>
<div class="mb-3 input-suffix mm">
<label for="input_size">Input Size</label>
<div>
<input type="number" min="0" id="input_size1" class="form-control" style="width: 30%; display: inline-block;" placeholder="100" value="152" aria-label="input_size">
<p style="width: auto; display: inline-block; padding: 0% 2%;">x</p>
<input type="number" min="0" id="input_size2" class="form-control" style="width: 30%; display: inline-block;" placeholder="100" value="228" aria-label="input_size">
</div>
</div>
<div class="mb-3 input-suffix ton">
<label for="monthly_output_capacity">Monthly Output Capacity</label>
<input type="number" min="0" id="monthly_output_capacity" class="form-control" placeholder="1000" value="8000" aria-label="Monthly Output Capacity">
</div>
<div class="mb-3 input-suffix days">
<label for="working_days_per_month">No. of Working Days per Month</label>
<input type="number" min="0" id="working_days_per_month" class="form-control" placeholder="28" value="28" aria-label="Working Days per Month">
</div>
<div class="mb-3 input-suffix shifts">
<label for="shifts_per_day">No. of Shifts per Day</label>
<input type="number" min="0" id="shifts_per_day" class="form-control" placeholder="2" value="2" aria-label="Shifts per Day">
</div>
<div class="mb-3 input-suffix hours">
<label for="hours_per_shift">No. of Hours per Shift</label>
<input type="number" min="0" id="hours_per_shift" class="form-control" placeholder="8" value="8" aria-label="Hours per Shift">
</div>
<div class="mb-3 input-suffix perc">
<label for="hours_per_shift">Expected efficiency</label>
<input type="number" min="0" id="expected_efficiency" class="form-control" placeholder="95" value="95" aria-label="Expected Efficiency">
</div>
<div class="text-center">
<button type="button" class="btn bg-gradient-dark w-100 my-4 mb-2" onclick="open_input2();">Proceed</button>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="row" id="chart-input2">
<div class="col-xl-4 col-lg-5 col-md-7 mx-auto">
<div class="card z-index-0">
<div class="card-body">
<form role="form text-left">
<div class="mb-3">
<p style="text-align: center;">Output Particle Sizes</p>
</div>
<div class="mb-3">
<div class="input-suffix mm" style="width: 100%; display: inline-block;">
<label>Output Particle Size</label>
<div>
<input type="number" min="0" id="r1_output_size1" class="form-control" style="width: 30%; display: inline-block;" placeholder="100" aria-label="output_size">
<p style="width: auto; display: inline-block; padding: 0% 2%;">x</p>
<input type="number" min="0" id="r1_output_size2" class="form-control" style="width: 30%; display: inline-block;" placeholder="100" aria-label="output_size">
</div>
</div>
<p id="r1_output_size" style="font-size:80%; display:none;"></p>
</div>
<div class="mb-3">
<div class="input-suffix mm" style="width: 100%; display: inline-block;">
<label>Output Particle Size</label>
<div>
<input type="number" min="0" id="r2_output_size1" class="form-control" style="width: 30%; display: inline-block;" placeholder="100" aria-label="output_size">
<p style="width: auto; display: inline-block; padding: 0% 2%;">x</p>
<input type="number" min="0" id="r2_output_size2" class="form-control" style="width: 30%; display: inline-block;" placeholder="100" aria-label="output_size">
</div>
</div>
<p id="r2_output_size" style="font-size:80%; display:none;"></p>
</div>
<div class="mb-3">
<div class="input-suffix mm" style="width: 100%; display: inline-block;">
<label>Output Particle Size</label>
<div>
<input type="number" min="0" id="r3_output_size1" class="form-control" style="width: 30%; display: inline-block;" placeholder="100" aria-label="output_size">
<p style="width: auto; display: inline-block; padding: 0% 2%;">x</p>
<input type="number" min="0" id="r3_output_size2" class="form-control" style="width: 30%; display: inline-block;" placeholder="100" aria-label="output_size">
</div>
</div>
<p id="r3_output_size" style="font-size:80%; display:none;"></p>
</div>
<div class="mb-3">
<div class="input-suffix mm" style="width: 100%; display: inline-block;">
<label>Output Particle Size</label>
<div>
<input type="number" min="0" id="r4_output_size1" class="form-control" style="width: 30%; display: inline-block;" placeholder="100" aria-label="output_size">
<p style="width: auto; display: inline-block; padding: 0% 2%;">x</p>
<input type="number" min="0" id="r4_output_size2" class="form-control" style="width: 30%; display: inline-block;" placeholder="100" aria-label="output_size">
</div>
</div>
<p id="r4_output_size" style="font-size:80%; display:none;"></p>
</div>
<div class="mb-3">
<div class="input-suffix mm" style="width: 100%; display: inline-block;">
<label>Output Particle Size</label>
<div>
<input type="number" min="0" id="r5_output_size1" class="form-control" style="width: 30%; display: inline-block;" placeholder="100" aria-label="output_size">
<p style="width: auto; display: inline-block; padding: 0% 2%;">x</p>
<input type="number" min="0" id="r5_output_size2" class="form-control" style="width: 30%; display: inline-block;" placeholder="100" aria-label="output_size">
</div>
</div>
<p id="r5_output_size" style="font-size:80%; display:none;"></p>
</div>
<div class="mb-3">
<div class="input-suffix-perc" style="width: 100%; display: inline-block;">
<div>
<input type="checkbox" min="0" id="m_sand" class="" style="width: 10%; display: inline-block;" placeholder="100" aria-label="output_size">
<label for="m_sand">M-Sand | Percentage from the dust</label>
<input type="number" min="0" max="100" id="m_sand_percentage" class="form-control" style="width: 20%; margin-left:3%; display: inline-block;" placeholder="100" aria-label="output_size">
</div>
</div>
</div>
<div class="text-center">
<button type="button" class="btn bg-gradient-dark w-100 my-4 mb-2" onclick="create_diagram();">Create Diagram</button>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="row" id="chart-body">
<div style="width: 60%; margin-left: auto; margin-right: auto;">
<!-- The Modal -->
<div id="myModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<div class="modal-header">
<h2 id="modal-topic">Topic</h2>
<span class="model_btns" id="model_btns"><button class="model_btn" id="model_btn_ratio" onclick="oo2('');">Reduction Ratio</button><button class="model_btn" id="model_btn_distribution" onclick="oo3('Particle Size Distribution');">Particle Size Distribution</button></span>
<span class="close">×</span>
</div>
<div class="modal-body">
<table id="table_body_content">
</table>
</div>
</div>
</div>
<!-- The Modal -->
<div id="myModal2" class="modal2">
<!-- Modal content -->
<div class="modal-content2">
<div class="modal-header2">
<h2 id="modal-topic2">Reduction Ratio</h2>
<span class="close2">×</span>
</div>
<div class="modal-body">
<table id="table_body_content2">
</table>
</div>
</div>
</div>
<table class="chart">
<colgroup>
<col span="1" style="width: 40%;">
<col span="1" style="width: 10%;">
<col span="1" style="width: 40%;">
<col span="1" style="width: 10%;">
</colgroup>
<tbody>
<tr>
<td rowspan="2">
<h6 class="text-center mb-0" style="color:antiquewhite;">Hopper</h6>
<div class="triangle_down"></div>
<span id="hopper_output" style="color:antiquewhite;">0 t/h</span>
<!--
<div class="card">
<div class="card-body pt-3 p-3 text-center">
<h6 class="text-center mb-0">Hopper</h6>
<hr class="horizontal dark my-2">
</div>
</div>
-->
</td>
<td rowspan="2">
<p class="arrow-body">→</p><p class="arrow-body-p"></p>
</td>
<td rowspan="2">
<div class="card" onclick="oo('Feeder');">
<div class="card-body pt-3 p-3 text-center">
<h6 class="text-center mb-0">Feeder</h6>
<hr class="horizontal dark my-2">
<span class="text-xs" id="Feeder">#000000</span><br>
</div>
</div>
</td>
<td></td>
</tr>
<tr>
<td rowspan="3"></td>
</tr>
<tr>
<td></td>
<td></td>
<td class="arrow">
<p class="arrow-body">|</p><p class="arrow-body-p" id="feeder-jaw">0 t/h</p><p class="arrow-body">↓</p>
</td>
</tr>
<tr>
<td></td>
<td></td>
<td rowspan="2">
<div class="card" onclick="oo('Jaw Crusher');">
<div class="card-body pt-3 p-3 text-center">
<h6 class="text-center mb-0">Jaw Crusher</h6>
<hr class="horizontal dark my-2">
<span class="text-xs" id="JawCrusher1">#000000</span><br>
<span class="text-xs" id="JawCrusher2">#000000</span>
</div>
</div>
</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td class="arrow">
<p class="arrow-body">|</p><p class="arrow-body-p" id="jaw-cone">0 t/h</p><p class="arrow-body">↓</p>
</td>
</tr>
<tr>
<td></td>
<td></td>
<td rowspan="2">
<div class="card" onclick="oo('Cone Crusher');">
<div class="card-body pt-3 p-3 text-center">
<h6 class="text-center mb-0">Cone Crusher</h6>
<hr class="horizontal dark my-2">
<span class="text-xs" id="ConeCrusher1">#000000</span><br>
<span class="text-xs" id="ConeCrusher2">#000000</span>
</div>
</div>
</td>
</tr>
<tr>
<td></td>
<td></td>
<td rowspan="3">
<div class="line-container">
<span class="line arrow-left"></span>
<span class="lineh"></span>
<span class="linev"></span>
<p id="screen1_return" style="color:antiquewhite;">0 t/h</p>
</div>
</td>
</tr>
<tr>
<td></td>
<td></td>
<td class="arrow">
<p class="arrow-body">|</p><p class="arrow-body-p" id="cone-s1">0 t/h</p><p class="arrow-body">↓</p>
</td>
<td></td>
</tr>
<tr id="s1_row1" class="s1_row">
<td></td>
<td>
</td>
<td rowspan="2">
<div class="card" onclick="oo('Screen 1');">
<div class="card-body pt-3 p-3 text-center">
<h6 class="text-center mb-0" id="screen1">Screen 1</h6>
<hr class="horizontal dark my-2">
<span class="text-xs" id="Screen11">#000000</span><br>
<span class="text-xs" id="Screen12">#000000</span>
</div>
</div>
</td>
<td></td>
</tr>
<tr id="s1_row2" class="s1_row">
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr id="s1_row3" class="s1_row">
<td></td>
<td></td>
<td class="arrow">
<p class="arrow-body">|</p><p class="arrow-body-p" id="s1-s2">0 t/h</p><p class="arrow-body">↓</p>
</td>
<td></td>
</tr>
<tr id="s2_row1" class="s2_row">
<td rowspan="2"><span id="screen2_output" style="color:antiquewhite;">0 mm</span><br><span id="s2-s3" style="color:antiquewhite;">0 t/h</span><br><img src="assets/img/outputs/1.png" style="width:10vw;"/></td>
<td rowspan="2"><p class="arrow-body">←</p><p class="arrow-body-p"></p></td>
<td rowspan="2">
<div class="card" onclick="oo('Screen 2');">
<div class="card-body pt-3 p-3 text-center">
<h6 class="text-center mb-0" id="screen2">Screen 2</h6>
<hr class="horizontal dark my-2">
<span class="text-xs" id="Screen21">#000000</span><br>
<span class="text-xs" id="Screen22">#000000</span>
</div>
</div>
</td>
<td></td>
</tr>
<tr id="s2_row2" class="s2_row">
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr id="s2_row3" class="s2_row">
<td></td>
<td></td>
<td class="arrow">
<p class="arrow-body">↓</p>
</td>
<td></td>
</tr>
<tr id="s3_row1" class="s3_row">
<td rowspan="2"></div><span id="screen3_output" style="color:antiquewhite;">0 mm</span><br><span id="s3-s4" style="color:antiquewhite;">0 t/h</span><br><img src="assets/img/outputs/2.png" style="width:10vw;"/></td>
<td rowspan="2"><p class="arrow-body">←</p><p class="arrow-body-p"></p></td>
<td rowspan="2">
<div class="card" onclick="oo('Screen 3');">
<div class="card-body pt-3 p-3 text-center">
<h6 class="text-center mb-0" id="screen3">Screen 3</h6>
<hr class="horizontal dark my-2">
<span class="text-xs" id="Screen31">#000000</span><br>
<span class="text-xs" id="Screen32">#000000</span>
</div>
</div>
</td>
<td></td>
</tr>
<tr id="s3_row2" class="s3_row">
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr id="s3_row3" class="s3_row">
<td></td>
<td></td>
<td class="arrow">
<p class="arrow-body">↓</p>
</td>
<td></td>
</tr>
<tr id="s4_row1" class="s4_row">
<td rowspan="2"><span id="screen4_output" style="color:antiquewhite;">0 mm</span><br><span id="s4-s5" style="color:antiquewhite;">0 t/h</span><br><img src="assets/img/outputs/3.png" style="width:10vw;"/></td>
<td rowspan="2"><p class="arrow-body">←</p><p class="arrow-body-p"></p></td>
<td rowspan="2">
<div class="card" onclick="oo('Screen 4');">
<div class="card-body pt-3 p-3 text-center">
<h6 class="text-center mb-0" id="screen4">Screen 4</h6>
<hr class="horizontal dark my-2">
<span class="text-xs" id="Screen41">#000000</span><br>
<span class="text-xs" id="Screen42">#000000</span>
</div>
</div>
</td>
<td></td>
</tr>
<tr id="s4_row2" class="s4_row">
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr id="s4_row3" class="s4_row">
<td></td>
<td></td>
<td class="arrow">
<p class="arrow-body">↓</p>
</td>
<td></td>
</tr>
<tr id="s5_row1" class="s5_row">
<td rowspan="2"><span id="screen5_output" style="color:antiquewhite;">0 mm</span><br><span id="s5-s6" style="color:antiquewhite;">0 t/h</span><br><img src="assets/img/outputs/4.png" style="width:10vw;"/></td>
<td rowspan="2"><p class="arrow-body">←</p><p class="arrow-body-p"></p></td>
<td rowspan="2">
<div class="card" onclick="oo('Screen 5');">
<div class="card-body pt-3 p-3 text-center">
<h6 class="text-center mb-0" id="screen5">Screen 5</h6>
<hr class="horizontal dark my-2">
<span class="text-xs" id="Screen51">#000000</span><br>
<span class="text-xs" id="Screen52">#000000</span>
</div>
</div>
</td>
<td></td>
</tr>
<tr id="s5_row2" class="s5_row">
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr id="s5_row3" class="s5_row">
<td></td>
<td></td>
<td class="arrow">
<p class="arrow-body">↓</p>
</td>
<td></td>
</tr>
<tr id="s6_row1" class="s6_row">
<td rowspan="2"><span id="screen6_output" style="color:antiquewhite;">0 mm</span><br><span id="s6-output" style="color:antiquewhite;">0 t/h</span><br><img src="assets/img/outputs/4.png" style="width:10vw;"/></td>
<td rowspan="2"><p class="arrow-body">←</p><p class="arrow-body-p"></p></td>
<td rowspan="2">
<div class="card" onclick="oo('Screen 6');">
<div class="card-body pt-3 p-3 text-center">
<h6 class="text-center mb-0" id="screen6">Screen 6</h6>
<hr class="horizontal dark my-2">
<span class="text-xs" id="Screen61">#000000</span><br>
<span class="text-xs" id="Screen62">#000000</span>
</div>
</div>
</td>
<td></td>
</tr>
<tr id="s6_row2" class="s6_row">
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr id="s6_row3" class="s6_row">
<td></td>
<td></td>
<td class="arrow">
<p class="arrow-body">↓</p>
</td>
<td></td>
</tr>
<tr>
<td rowspan="2"></td>
<td rowspan="2"></td>
<td rowspan="2" style="color:white;"><img src="assets/img/outputs/4.png" style="width:10vw;"/><br>Dust<br><span id="output_size" style="color:antiquewhite;">0 mm</span><br><span id="output_perc" style="color:antiquewhite;">0 t/h</span></td>
<td></td>
</tr>
<tr id="m_row2" class="m_row">
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr id="m_row3" class="m_row">
<td></td>
<td></td>
<td class="arrow">
<p class="arrow-body">↓</p>
</td>
<td></td>
</tr>
<tr id="m_row1" class="m_row">
<td rowspan="2"><span style="color:antiquewhite;">M-Sand</span><br><img src="assets/img/outputs/4.png" style="width:10vw;"/><br><span id="wp-output" style="color:antiquewhite;">0 t/h</span></td>
<td rowspan="2"><p class="arrow-body">←</p><p class="arrow-body-p"></p></td>
<td rowspan="2">
<div class="card" onclick="oo('Washing Plant');">
<div class="card-body pt-3 p-3 text-center">
<h6 class="text-center mb-0" id="wp">Washing Plant</h6>
<hr class="horizontal dark my-2">
<span class="text-xs" id="wp1">#000000</span><br>
</div>
</div>
</td>
<td></td>
</tr>
<tr><td></td><td></td><td></td></tr>
</tbody>
</table>
</div>
</div>
</div>
</main>
<div id="save_chart_btn" title="Save Chart" style="display:none; right:3vw; top:3vh; background-color:#fff; position:fixed; border-radius: 50%;"><button style="background-color:transparent; borders:none; border-radius: 50%; padding:1vw;" onclick="pdf_generator('save', '', '');"><i class="fa fa-save" aria-hidden="true"></i></button></div>
<div id="download_pdf_btn" title="Download PDF" style="display:none; right:3vw; bottom:3vh; background-color:#fff; position:fixed; border-radius: 50%;"><button style="background-color:transparent; borders:none; border-radius: 50%; padding:1vw;" onclick="pdf_generator('download', '', 'MoraMP');"><i class="fa fa-download" aria-hidden="true"></i></button></div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/0.4.1/html2canvas.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.0.272/jspdf.debug.js"></script>
<!-- Core JS Files -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="assets/js/core/popper.min.js"></script>
<script src="assets/js/core/bootstrap.min.js"></script>
<script src="assets/js/plugins/perfect-scrollbar.min.js"></script>
<script src="assets/js/plugins/smooth-scrollbar.min.js"></script>
<script src="assets/js/custom.js"></script>
<!-- Github buttons -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
<!-- Control Center for Soft Dashboard: parallax effects, scripts for the example pages etc -->
<!--<script src="assets/js/soft-ui-dashboard.min.js?v=1.0.3"></script>-->
</body>
</html>