@@ -111,51 +111,109 @@ <h4>Composite metadata</h4>
111111 </ div >
112112 < div class ="col-8 ">
113113 < div class ="row " style ="display:flex; align-items:center; ">
114- < div style ="max-width:calc(100% - 270px); ">
114+ < div style ="max-width:calc(100% - 270px); " id =" main-plot-div " >
115115 < svg id ="main-plot " baseProfile ="full " version ="1.1 " xmlns ="http://www.w3.org/2000/svg " font-family ="Helvetica " style ="height: 50vh; max-width: 100%; overflow: hide; "> </ svg >
116116 < script src ="js/sliding_window.js "> </ script >
117117 < script src ="js/widgets/main_plot.js "> </ script >
118118 </ div >
119119 < div class ="text-right " style ="width:270px; padding-right:20px; ">
120- < div id ="settings-dropdown "> </ div >
121- < script src ="js/widgets/preset_dropdown.js "> </ script >
122- < div id ="opacity-input "> </ div >
123- < script src ="js/widgets/opacity_input.js "> </ script >
124- < div id ="smoothing-input "> </ div >
125- < script src ="js/widgets/smoothing_input.js "> </ script >
126- < div id ="shift-input "> </ div >
127- < script src ="js/widgets/shift_input.js "> </ script >
128- < div >
129- < label for ="combined-checkbox " id ="combined-label "> Combined</ label >
130- < input id ="combined-checkbox " type ="checkbox ">
131- < script src ="js/events/combined_checkbox.js "> </ script >
120+ < div id ="plot-tabs ">
121+ < input type ="button " id ="plot-options-tab " value ="Plot Options " style ="grid-column:1; height: auto; " class ="plot-tab selected-tab ">
122+ < input type ="button " id ="reference-axes-tab " value ="Reference Axes " style ="grid-column:2; height: auto; " class ="plot-tab ">
123+ < input type ="button " id ="nucleosome-slider-tab " value ="Nucleosome Slider " style ="grid-column:3; height: auto; " class ="plot-tab ">
124+ < script src ="js/events/plot_tabs.js "> </ script >
132125 </ div >
133- < div >
134- < label for ="separate-color-checkbox " id ="seperate-color-label "> Separate colors for strands</ label >
135- < input id ="separate-color-checkbox " type ="checkbox ">
136- < script src ="js/events/separate_color_checkbox.js "> </ script >
137- </ div >
138- < div >
139- < label for ="color-trace-checkbox " id ="color-trace-label "> Color trace</ label >
140- < input id ="color-trace-checkbox " type ="checkbox ">
141- < script src ="js/events/color_trace_checkbox.js "> </ script >
142- </ div >
143- < div >
144- < label for ="tooltip-checkbox " id ="tooltip-label "> Enable tooltip</ label >
145- < input id ="tooltip-checkbox " type ="checkbox " checked >
146- < script src ="js/events/tooltip_checkbox.js "> </ script >
126+ < div style ="display: block; " id ="plot-options " class ="plot-pane ">
127+ < div id ="settings-dropdown "> </ div >
128+ < script src ="js/widgets/preset_dropdown.js "> </ script >
129+ < div id ="opacity-input "> </ div >
130+ < script src ="js/widgets/opacity_input.js "> </ script >
131+ < div id ="smoothing-input "> </ div >
132+ < script src ="js/widgets/smoothing_input.js "> </ script >
133+ < div id ="shift-input "> </ div >
134+ < script src ="js/widgets/shift_input.js "> </ script >
135+ < div >
136+ < label for ="combined-checkbox " id ="combined-label "> Combined</ label >
137+ < input id ="combined-checkbox " type ="checkbox ">
138+ < script src ="js/events/combined_checkbox.js "> </ script >
139+ </ div >
140+ < div >
141+ < label for ="separate-color-checkbox " id ="seperate-color-label "> Separate colors for strands</ label >
142+ < input id ="separate-color-checkbox " type ="checkbox ">
143+ < script src ="js/events/separate_color_checkbox.js "> </ script >
144+ </ div >
145+ < div >
146+ < label for ="color-trace-checkbox " id ="color-trace-label "> Color trace</ label >
147+ < input id ="color-trace-checkbox " type ="checkbox ">
148+ < script src ="js/events/color_trace_checkbox.js "> </ script >
149+ </ div >
150+ < div >
151+ < label for ="tooltip-checkbox " id ="tooltip-label "> Enable tooltip</ label >
152+ < input id ="tooltip-checkbox " type ="checkbox " checked >
153+ < script src ="js/events/tooltip_checkbox.js "> </ script >
154+ </ div >
155+ < div >
156+ < label for ="show-legend-checkbox " id ="show-legend-label "> Show legend</ label >
157+ < input id ="show-legend-checkbox " type ="checkbox " checked >
158+ < script src ="js/events/show_legend_checkbox.js "> </ script >
159+ </ div >
160+ < div >
161+ < input type ="button " id ="download-svg-button " value ="Download as SVG ">
162+ < script src ="js/events/download_svg_button.js "> </ script >
163+ </ div >
147164 </ div >
148- < div >
149- < label for ="show-legend-checkbox " id ="show-legend-label "> Show legend</ label >
150- < input id ="show-legend-checkbox " type ="checkbox " checked >
151- < script src ="js/events/show_legend_checkbox.js "> </ script >
165+ < div style ="display: none; " id ="nucleosome-slider-options " class ="plot-pane ">
166+ < div id ="nucleosome-slider ">
167+ < svg id ="nucleosome-svg " class ="nucleosome-svg " style ="display: inline; width:146px; height:50px; position:relative; " xmlns ="http://www.w3.org/2000/svg ">
168+ < rect width ="100% " height ="100% " style ="fill:rgb(46, 139, 185);stroke-width:5;stroke:rgb(3, 100, 122) " />
169+ </ svg >
170+ </ div >
171+ < div >
172+ < label for ="nucleosome-start-text " style ="display: inline-block; margin-top: 10px; "> Starting coord</ label >
173+ < input type ="text " id ="nucleosome-start-text " value ="0 " style ="display: inline; ">
174+ </ div >
175+ < div >
176+ < label for ="nucleosome-projection-text " style ="display: inline-block; "> Project to nucleosome</ label >
177+ < input type ="text " id ="nucleosome-projection-text " value ="" style ="display: inline;border-style:solid; border-color:yellow; border-width:3px ">
178+ </ div >
179+ < div >
180+ < label for ="mark-nucleosome-text " style ="display: inline-block; margin-top: 10px "> Mark nucleosome</ label >
181+ < input type ="text " id ="mark-nucleosome-text " value ="" style ="display: inline;border-style:solid; border-color:rgb(205, 233, 255); border-width:3px ">
182+ </ div >
183+ < div >
184+ < input type ="button " id ="generate-3D-button " value ="Generate 3D Visual " style ="margin-top: 10px; ">
185+ </ div >
186+ < div >
187+ < label for ="keep-nucleosome " id ="keep-nucleosome-lable "> Keep nucleosome on plot</ label >
188+ < input type ="checkbox " id ="keep-nucleosome " label ="Plot Nucleosome " style ="margin-top: 15px; ">
189+ </ div >
190+ < script src ="js/widgets/nucleosome_slider.js "> </ script >
191+ < script src ="js/events/generate_3D_Button.js "> </ script >
152192 </ div >
153- < div >
154- < input type ="button " id ="download-svg-button " value ="Download as SVG ">
155- < script src ="js/events/download_svg_button.js "> </ script >
193+ < div style ="display: none; " id ="reference-axes-pane " class ="plot-pane ">
194+ < label for ="y-axis-lines " style ="float: left; "> Y-Axis Lines</ label >
195+ < div class ="reference-table-div ">
196+ < table id ="y-axis-lines " class ="reference-lines-table "> </ table >
197+ </ div >
198+ < svg id ="y-plus " height ="30 " width ="30 " xmlns ="http://www.w3.org/2000/svg " style ="margin-left:41%;margin-right:59%;margin-top:10px; ">
199+ < circle r ="15 " cx ="15 " cy ="15 " fill ="grey " />
200+ < path d ="m 15 2 l 0 26 M 2 15 l 26 0 " stroke-width ="4 " stroke ="white " />
201+ </ svg >
202+ < label for ="x-axis-lines " style ="float: left; "> X-Axis Lines</ label >
203+ < div class ="reference-table-div ">
204+ < table id ="x-axis-lines " class ="reference-lines-table "> </ table > </ table >
205+ </ div >
206+ < svg id ="x-plus " height ="30 " width ="30 " xmlns ="http://www.w3.org/2000/svg " style ="margin-left:41%;margin-right:59%;margin-top:10px; ">
207+ < circle r ="15 " cx ="15 " cy ="15 " fill ="grey " />
208+ < path d ="m 15 2 l 0 26 M 2 15 l 26 0 " stroke-width ="4 " stroke ="white " />
209+ </ svg >
210+ < div >
211+ < label for ="keep-reference-lines " id ="keep-reference-lable "> Keep reference lines on plot</ label >
212+ < input type ="checkbox " id ="keep-reference-lines " style ="margin-top: 15px; ">
213+ </ div >
214+ < script src ="js/widgets/reference_axes.js "> </ script >
156215 </ div >
157216 </ div >
158- </ div >
159217 </ div >
160218 </ div >
161219 < div class ="row ">
0 commit comments