File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
runtime/eoapi/raster/eoapi/raster/templates Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 230230 </ div >
231231 </ div >
232232
233+ < div class ='px12 pt12 pb6 '>
234+ < div class ='txt-h5 mt6 mb6 color-black '> Mosaic Name</ div >
235+ < input id ="mosaic-name " class ='input inline-block align-center color-black '/>
236+ < div id ='mosaic-metadata '> </ div >
237+ </ div >
238+
233239 <!-- <div class='px12 pt12 pb6'>
234240 <div class='txt-h5 mt6 mb6 color-black'>Mosaic Metadata</div>
235241 <div class='mt12'>
369375 document . getElementById ( 'start-date' ) . value = ''
370376 document . getElementById ( 'end-date' ) . value = ''
371377 document . getElementById ( 'mosaic-info' ) . innerHTML = ''
378+ document . getElementById ( 'mosaic-name' ) . value = ''
372379} )
373380
374381document . getElementById ( 'collection-select' ) . addEventListener ( 'change' , ( ) => {
569576
570577 if ( filter . args . length > 0 ) body . filter = filter
571578
579+ var name = document . getElementById ( 'mosaic-name' ) . value
580+ if ( name ) {
581+ body . metadata . name = name
582+ }
583+
572584 fetch ( '{{ register_endpoint }}' , {
573585 method : 'POST' ,
574586 body : JSON . stringify ( body ) ,
You can’t perform that action at this time.
0 commit comments