1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+ < head >
4
+ < meta charset ="UTF-8 ">
5
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6
+ < title > Topsoil Test</ title >
7
+ < script src ="https://unpkg.com/split.js/dist/split.min.js "> </ script >
8
+ < script src ="../../dist/topsoil.js "> </ script >
9
+ < link rel ="stylesheet " href ="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css " integrity ="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk " crossorigin ="anonymous ">
10
+ < link rel ="stylesheet " href ="index.css ">
11
+ </ head >
12
+ < body >
13
+ < div class ="demo-container ">
14
+ < div id ="scatter-plot " class ="split "> </ div >
15
+ < div id ="options-panel " class ="split ">
16
+ < div id ="options-panel-inner ">
17
+
18
+ < div class ="option ">
19
+ < label for ="title "> Title:</ label >
20
+ < input id ="title " type ="text " name ="title " class ="option-control " oninput ="setOption(event) ">
21
+ </ div >
22
+ < div class ="option ">
23
+ < label for ="x_axis "> X Axis:</ label >
24
+ < input id ="x_axis " type ="text " name ="x_axis " class ="option-control " oninput ="setOption(event) ">
25
+ </ div >
26
+ < div class ="option ">
27
+ < label for ="y_axis "> Y Axis:</ label >
28
+ < input id ="y_axis " type ="text " name ="y_axis " class ="option-control " oninput ="setOption(event) ">
29
+ </ div >
30
+
31
+ < div class ="horizontal divider "> </ div >
32
+
33
+ < div class ="option ">
34
+ < label for ="isotope_system "> Iso. System:</ label >
35
+ < select id ="isotope_system " name ="isotope_system " disabled oninput ="setOption(event) ">
36
+ < option value ="Uranium Lead "> U-Pb</ option >
37
+ < option value ="Uranium Lead "> U-Th</ option >
38
+ </ select >
39
+ </ div >
40
+ < div class ="option ">
41
+ < label for ="uncertainty "> Uncertainty:</ label >
42
+ < select id ="uncertainty " name ="uncertainty " oninput ="setOption(event) ">
43
+ < option value ="1 "> 1σ</ option >
44
+ < option value ="2 "> 2σ</ option >
45
+ < option value ="2.4477 "> 95% Confidence</ option >
46
+ </ select >
47
+ </ div >
48
+
49
+ < div class ="horizontal divider "> </ div >
50
+
51
+ < div class ="option ">
52
+ < label for ="points "> Points:</ label >
53
+ < div class ="h-center ">
54
+ < input id ="points " name ="points " type ="checkbox " oninput ="setOption(event) ">
55
+ < input id ="points_fill " name ="points_fill " type ="color " oninput ="setOption(event) ">
56
+ </ div >
57
+ </ div >
58
+ < div class ="option ">
59
+ < label for ="ellipses "> Ellipses:</ label >
60
+ < div class ="h-center ">
61
+ < input id ="ellipses " name ="ellipses " type ="checkbox " oninput ="setOption(event) ">
62
+ < input id ="ellipses_fill " name ="ellipses_fill " type ="color " oninput ="setOption(event) ">
63
+ </ div >
64
+ </ div >
65
+ < div class ="option ">
66
+ < label for ="error_bars "> Error Bars:</ label >
67
+ < div class ="h-center ">
68
+ < input id ="error_bars " name ="error_bars " type ="checkbox " oninput ="setOption(event) ">
69
+ < input id ="error_bars_fill " name ="error_bars_fill " type ="color " oninput ="setOption(event) ">
70
+ </ div >
71
+ </ div >
72
+
73
+ < div class ="horizontal divider "> </ div >
74
+
75
+ < div class ="option ">
76
+ < label for ="concordia_line "> Concordia:</ label >
77
+ < div class ="d-flex flex-column align-items-stretch ">
78
+ < div class ="h-center ">
79
+ < input id ="concordia_line " name ="concordia_line " type ="checkbox " oninput ="setOption(event) ">
80
+ < select id ="concordia_type " name ="concordia_type " class ="flex-grow-1 ">
81
+ < option value ="wetherill "> Wetherill</ option >
82
+ < option value ="tera-wasserburg "> Tera-Wasserburg</ option >
83
+ </ select >
84
+ </ div >
85
+ < div class ="h-center mt-1 ">
86
+ < label for ="concordia_line_fill " class ="small-label mr-1 "> Line:</ label >
87
+ < input id ="concordia_line_fill " name ="concordia_line_fill " type ="color " class ="flex-1 " oninput ="setOption(event) ">
88
+ < label for ="concordia_envelope_fill " class ="small-label ml-2 mr-1 "> Envelope:</ label >
89
+ < input id ="concortia_envelope_fill " name ="concortia_envelope_fill " type ="color " class ="flex-1 " oninput ="setOption(event) ">
90
+ </ div >
91
+ </ div >
92
+
93
+ </ div >
94
+ </ div >
95
+ </ div >
96
+ </ div >
97
+ < script src ="index.js "> </ script >
98
+ </ body >
99
+ </ html >
0 commit comments