@@ -7,44 +7,42 @@ function FileManagerView(state, emit) {
77 }
88
99 return html `
10- < div id ="app ">
11- < div class ="working-area ">
12- ${ Toolbar ( state , emit ) }
13- < div id ="file-manager ">
14- < div id ="board-files ">
15- < div class ="device-header ">
16- < img class ="icon " src ="media/${ state . isConnected ?'connect' :'disconnect' } .svg " />
17- < div onclick =${ ( ) => emit ( 'open-connection-dialog' ) } class ="text">
18- < span > ${ boardFullPath } </ span >
19- </ div >
20- < button disabled =${ ! state . isConnected } onclick =${ ( ) => emit ( 'create-folder' , 'board' ) } >
21- < img class ="icon " src ="media/new-folder.svg " />
22- </ button >
23- < button disabled =${ ! state . isConnected } onclick =${ ( ) => emit ( 'create-file' , 'board' ) } >
24- < img class ="icon " src ="media/new-file.svg " />
25- </ button >
10+ < div class ="working-area ">
11+ ${ Toolbar ( state , emit ) }
12+ < div id ="file-manager ">
13+ < div id ="board-files ">
14+ < div class ="device-header ">
15+ < img class ="icon " src ="media/${ state . isConnected ?'connect' :'disconnect' } .svg " />
16+ < div onclick =${ ( ) => emit ( 'open-connection-dialog' ) } class ="text">
17+ < span > ${ boardFullPath } </ span >
2618 </ div >
27- ${ BoardFileList ( state , emit ) }
19+ < button disabled =${ ! state . isConnected } onclick =${ ( ) => emit ( 'create-folder' , 'board' ) } >
20+ < img class ="icon " src ="media/new-folder.svg " />
21+ </ button >
22+ < button disabled =${ ! state . isConnected } onclick =${ ( ) => emit ( 'create-file' , 'board' ) } >
23+ < img class ="icon " src ="media/new-file.svg " />
24+ </ button >
2825 </ div >
29- ${ FileActions ( state , emit ) }
30- < div id ="disk-files ">
31- < div class ="device-header ">
32- < img class ="icon " src ="media/computer.svg " />
33- < div class ="text " onclick =${ ( ) => emit ( 'select-disk-navigation-root' ) } >
34- < span > ${ diskFullPath } </ span >
35- </ div >
36- < button onclick =${ ( ) => emit ( 'create-folder' , 'disk' ) } >
37- < img class ="icon " src ="media/new-folder.svg " />
38- </ button >
39- < button onclick =${ ( ) => emit ( 'create-file' , 'disk' ) } >
40- < img class ="icon " src ="media/new-file.svg " />
41- </ button >
26+ ${ BoardFileList ( state , emit ) }
27+ </ div >
28+ ${ FileActions ( state , emit ) }
29+ < div id ="disk-files ">
30+ < div class ="device-header ">
31+ < img class ="icon " src ="media/computer.svg " />
32+ < div class ="text " onclick =${ ( ) => emit ( 'select-disk-navigation-root' ) } >
33+ < span > ${ diskFullPath } </ span >
4234 </ div >
43- ${ DiskFileList ( state , emit ) }
35+ < button onclick =${ ( ) => emit ( 'create-folder' , 'disk' ) } >
36+ < img class ="icon " src ="media/new-folder.svg " />
37+ </ button >
38+ < button onclick =${ ( ) => emit ( 'create-file' , 'disk' ) } >
39+ < img class ="icon " src ="media/new-file.svg " />
40+ </ button >
4441 </ div >
42+ ${ DiskFileList ( state , emit ) }
4543 </ div >
4644 </ div >
47- ${ ConnectionDialog ( state , emit ) }
4845 </ div >
46+ ${ ConnectionDialog ( state , emit ) }
4947 `
5048}
0 commit comments