OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <html i18n-values="dir:textdirection;"> | 2 <html i18n-values="dir:textdirection;"> |
3 <head> | 3 <head> |
4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
5 <title i18n-content="title"></title> | 5 <title i18n-content="title"></title> |
6 <style type="text/css"> | 6 <style type="text/css"> |
7 div.header { | 7 div.header { |
8 border-bottom: 1px solid #7289E2; | 8 border-bottom: 1px solid #7289E2; |
9 padding: 8px; | 9 padding: 8px; |
10 margin: 0; | 10 margin: 0; |
(...skipping 834 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
845 return 'icon iconmedia'; | 845 return 'icon iconmedia'; |
846 } else if (pathIsAudioFile(path)) { | 846 } else if (pathIsAudioFile(path)) { |
847 return 'icon iconmusic'; | 847 return 'icon iconmusic'; |
848 } | 848 } |
849 return 'icon iconfile'; | 849 return 'icon iconfile'; |
850 } | 850 } |
851 | 851 |
852 function getDataForPath(path) { | 852 function getDataForPath(path) { |
853 if (path == 'roots' ) { | 853 if (path == 'roots' ) { |
854 if (inSaveMode) { | 854 if (inSaveMode) { |
855 var newfolderbutton = $('newfolderbutton'); | 855 if (advancedEnabled) { |
856 newfolderbutton.className = 'filebutton newfolderbutton disabled'; | 856 var newfolderbutton = $('newfolderbutton'); |
| 857 newfolderbutton.className = 'filebutton newfolderbutton disabled'; |
| 858 } |
857 var savebutton = $('savebutton'); | 859 var savebutton = $('savebutton'); |
858 savebutton.className = 'filebutton openbutton disabled'; | 860 savebutton.className = 'filebutton openbutton disabled'; |
859 } else if (inSelectMode) { | 861 } else if (inSelectMode) { |
860 var openbutton = $('openbutton'); | 862 var openbutton = $('openbutton'); |
861 openbutton.className = 'filebutton openbutton disabled'; | 863 openbutton.className = 'filebutton openbutton disabled'; |
862 } | 864 } |
863 chrome.send('getRoots', []); | 865 chrome.send('getRoots', []); |
864 } else { | 866 } else { |
865 if (inSaveMode) { | 867 if (inSaveMode) { |
866 var newfolderbutton = $('newfolderbutton'); | 868 if (advancedEnabled) { |
867 newfolderbutton.className = 'filebutton newfolderbutton'; | 869 var newfolderbutton = $('newfolderbutton'); |
| 870 newfolderbutton.className = 'filebutton newfolderbutton'; |
| 871 } |
868 var savebutton = $('savebutton'); | 872 var savebutton = $('savebutton'); |
869 savebutton.className = 'filebutton openbutton'; | 873 savebutton.className = 'filebutton openbutton'; |
870 } else if (inSelectMode) { | 874 } else if (inSelectMode) { |
871 var openbutton = $('openbutton'); | 875 var openbutton = $('openbutton'); |
872 openbutton.className = 'filebutton openbutton'; | 876 openbutton.className = 'filebutton openbutton'; |
873 } | 877 } |
874 chrome.send('getChildren', [path]); | 878 chrome.send('getChildren', [path]); |
875 } | 879 } |
876 }; | 880 }; |
877 | 881 |
(...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1547 <div id='header' class=''> | 1551 <div id='header' class=''> |
1548 <div id='back' class='backbutton controlbutton' onclick='goBackInList();return
false;'> | 1552 <div id='back' class='backbutton controlbutton' onclick='goBackInList();return
false;'> |
1549 <img src="../../app/theme/filebrowse_back.png" width='100%' height='100%'> | 1553 <img src="../../app/theme/filebrowse_back.png" width='100%' height='100%'> |
1550 </div> | 1554 </div> |
1551 <div id='currenttitle' class=''></div> | 1555 <div id='currenttitle' class=''></div> |
1552 </div><br> | 1556 </div><br> |
1553 <div id='main' class='container'></div> | 1557 <div id='main' class='container'></div> |
1554 <div id='status' class='status'></div> | 1558 <div id='status' class='status'></div> |
1555 </body> | 1559 </body> |
1556 </html> | 1560 </html> |
OLD | NEW |