File tree Expand file tree Collapse file tree 3 files changed +24
-13
lines changed
Expand file tree Collapse file tree 3 files changed +24
-13
lines changed Original file line number Diff line number Diff line change 222222<!-- DWV -->
223223< div id ="dwv "> </ div >
224224
225- < div class ="line ">
225+ < div id =" position-line " class ="line ">
226226< label for ="position "> Position:</ label >
227227< input type ="text " id ="position " autocomplete ="off " >
228228< span id ="positionspan "> </ span >
229229</ div >
230230
231- < div class ="line ">
231+ < div id =" layout-line " class ="line ">
232232< label for ="changelayout "> Layout:</ label >
233233< select name ="layout " id ="changelayout " autocomplete ="off " disabled >
234234 < option value ="one "> One</ option >
240240< label for ="changesmoothing "> Smoothing</ label >
241241</ div >
242242
243- < div class ="line ">
243+ < div id =" binders-line " class ="line ">
244244 < fieldset id ="binders ">
245245 < legend > Binders</ legend >
246246 </ fieldset >
247+ </ div >
248+
249+ < div id ="tools-line " class ="line ">
247250 < fieldset id ="tools " disabled >
248251 < legend > Tools</ legend >
249252 </ fieldset >
250253</ div >
251254
252- < div id ='annotationgroups-panel ' class ="line "> </ div >
253-
254- < div id ='segmentations-panel ' class ="line "> </ div >
255-
256255< div id ="layersdetails "> </ div >
257256
258257< br >
Original file line number Diff line number Diff line change @@ -97,9 +97,15 @@ test.dataModelUI.Annotation = function (app) {
9797 fieldset . appendChild ( legend ) ;
9898 fieldset . appendChild ( annotList ) ;
9999
100- // panel div
101- const panel = document . getElementById ( 'annotationgroups-panel' ) ;
102- panel . appendChild ( fieldset ) ;
100+ // main div
101+ const line = document . createElement ( 'div' ) ;
102+ line . id = 'annotationgroups-line' ;
103+ line . className = 'line' ;
104+ line . appendChild ( fieldset ) ;
105+
106+ // insert
107+ const detailsEl = document . getElementById ( 'layersdetails' ) ;
108+ detailsEl . parentElement . insertBefore ( line , detailsEl ) ;
103109 }
104110
105111 /**
Original file line number Diff line number Diff line change @@ -312,9 +312,15 @@ test.dataModelUI.Segmentation = function (app) {
312312 fieldset . appendChild ( legend ) ;
313313 fieldset . appendChild ( segList ) ;
314314
315- // panel div
316- const panel = document . getElementById ( 'segmentations-panel' ) ;
317- panel . appendChild ( fieldset ) ;
315+ // main div
316+ const line = document . createElement ( 'div' ) ;
317+ line . id = 'segmentations-line' ;
318+ line . className = 'line' ;
319+ line . appendChild ( fieldset ) ;
320+
321+ // insert
322+ const detailsEl = document . getElementById ( 'layersdetails' ) ;
323+ detailsEl . parentElement . insertBefore ( line , detailsEl ) ;
318324 }
319325
320326 /**
You can’t perform that action at this time.
0 commit comments