| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <!-- | 2 <!-- |
| 3 -- Copyright (c) 2011 The Chromium Authors. All rights reserved. | 3 -- Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 4 -- Use of this source code is governed by a BSD-style license that can be | 4 -- Use of this source code is governed by a BSD-style license that can be |
| 5 -- found in the LICENSE file. | 5 -- found in the LICENSE file. |
| 6 --> | 6 --> |
| 7 <html> | 7 <html> |
| 8 <head> | 8 <head> |
| 9 <!-- metrics.js initiates load performance tracking | 9 <!-- metrics.js initiates load performance tracking |
| 10 so we want to parse it as early as possible --> | 10 so we want to parse it as early as possible --> |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 <!-- We have to set some default title, or chrome will use the page | 105 <!-- We have to set some default title, or chrome will use the page |
| 106 -- name. As soon as we init and change to a directory, we'll use | 106 -- name. As soon as we init and change to a directory, we'll use |
| 107 -- the directory as the page title. Until then, have a unicode glyph | 107 -- the directory as the page title. Until then, have a unicode glyph |
| 108 -- of a tape reel. | 108 -- of a tape reel. |
| 109 --> | 109 --> |
| 110 <title>✇</title> | 110 <title>✇</title> |
| 111 </head> | 111 </head> |
| 112 <body i18n-values=".style.fontFamily:WEB_FONT_FAMILY; | 112 <body i18n-values=".style.fontFamily:WEB_FONT_FAMILY; |
| 113 .style.fontSize:WEB_FONT_SIZE"> | 113 .style.fontSize:WEB_FONT_SIZE"> |
| 114 <commands> | 114 <commands> |
| 115 <command id="cut"></command> | 115 <command id="cut" i18n-content=CUT_BUTTON_LABEL></command> |
| 116 <command id="copy"></command> | 116 <command id="copy" i18n-content=COPY_BUTTON_LABEL></command> |
| 117 <command id="paste"></command> | 117 <command id="paste" i18n-content=PASTE_BUTTON_LABEL></command> |
| 118 <command id="rename"></command> | 118 <command id="rename" i18n-content=RENAME_BUTTON_LABEL></command> |
| 119 <command id="delete"></command> | 119 <command id="delete" i18n-content=DELETE_BUTTON_LABEL></command> |
| 120 <command id="newfolder" i18n-content=NEW_FOLDER_BUTTON_LABEL></command> |
| 120 </commands> | 121 </commands> |
| 121 | 122 |
| 122 <menu class=file-context-menu> | 123 <menu class=file-context-menu> |
| 123 <menuitem i18n-content=CUT_BUTTON_LABEL command='#cut'></menuitem> | 124 <menuitem command='#cut'></menuitem> |
| 124 <menuitem i18n-content=COPY_BUTTON_LABEL command='#copy'></menuitem> | 125 <menuitem command='#copy'></menuitem> |
| 125 <menuitem i18n-content=PASTE_BUTTON_LABEL command='#paste'></menuitem> | 126 <menuitem command='#paste'></menuitem> |
| 126 <hr> | 127 <hr> |
| 127 <menuitem i18n-content=RENAME_BUTTON_LABEL command='#rename'></menuitem> | 128 <menuitem command='#rename'></menuitem> |
| 128 <menuitem i18n-content=DELETE_BUTTON_LABEL command='#delete'></menuitem> | 129 <menuitem command='#delete'></menuitem> |
| 130 <hr visibleif='this.dialogType_ == "saveas-file" || |
| 131 this.dialogType_ == "full-page"'> |
| 132 <menuitem command='#newfolder' |
| 133 visibleif='this.dialogType_ == "saveas-file" || |
| 134 this.dialogType_ == "full-page"'></menuitem> |
| 129 </menu> | 135 </menu> |
| 130 | 136 |
| 131 <div class=dialog-title visibleif='this.dialogType_ != "full-page"' | 137 <div class=dialog-title visibleif='this.dialogType_ != "full-page"' |
| 132 >[TITLE]</div> | 138 >[TITLE]</div> |
| 133 <div class=dialog-header> | 139 <div class=dialog-container> |
| 134 <div class=breadcrumbs></div> | 140 <div class=dialog-sidebar> |
| 135 <button class=detail-view tabindex=4 | 141 <div class=close-sidebar><img src='images/close_sidebar.png'></div> |
| 136 ><img src='images/icon-detail-view.png'></button | 142 <list class=roots-list></list> |
| 137 ><button class=thumbnail-view tabindex=5 | 143 </div> |
| 138 ><img src='images/icon-thumb-view.png'></button> | 144 <div class=dialog-main> |
| 139 <button i18n-content=NEW_FOLDER_BUTTON_LABEL class='new-folder' | 145 <div class=dialog-header> |
| 140 tabindex=6 | 146 <div class=open-sidebar><img src='images/open_sidebar.png'></div> |
| 141 visibleif='this.dialogType_ == "saveas-file" || | 147 <div class=breadcrumbs></div> |
| 142 this.dialogType_ == "full-page"' | 148 <button class=detail-view tabindex=4 |
| 149 ><img src='images/icon-detail-view.png'></button |
| 150 ><button class=thumbnail-view tabindex=5 |
| 151 ><img src='images/icon-thumb-view.png'></button> |
| 152 </div> |
| 153 <div class=dialog-body> |
| 154 <div class=filelist-panel> |
| 155 <div class=list-container> |
| 156 <div class=detail-table tabindex=0></div> |
| 157 <grid class=thumbnail-grid tabindex=0></grid> |
| 158 </div> |
| 159 <div class=downloads-warning hidden> |
| 160 <img src=images/warning_icon_square_26x26.png> |
| 161 <div></div> |
| 162 </div> |
| 163 </div> |
| 164 <div class=preview-panel hidden> |
| 165 <div><div class=preview-thumbnails></div></div> |
| 166 <div><div class=preview-summary></div></div> |
| 167 <div class=task-buttons></div> |
| 168 <div> |
| 169 <button class='delete-button task-button' command='#delete' |
| 170 onclick='fileManager.deleteEntries( |
| 171 fileManager.selection.entries, false)' |
| 172 visibleif='this.dialogType_ == "full-page"' |
| 173 ><img src='images/button-icon-delete.png' |
| 174 ><div i18n-content=DELETE_BUTTON_LABEL></div |
| 143 ></button> | 175 ></button> |
| 144 </div> | 176 </div> |
| 145 <div class=dialog-body> | 177 </div> |
| 146 <div class=filelist-panel> | |
| 147 <div class=list-container> | |
| 148 <div class=detail-table tabindex=0></div> | |
| 149 <grid class=thumbnail-grid tabindex=0></grid> | |
| 150 </div> | |
| 151 <div class=downloads-warning hidden> | |
| 152 <img src=images/warning_icon_square_26x26.png> | |
| 153 <div></div> | |
| 154 </div> | |
| 155 </div> | |
| 156 <div class=preview-panel hidden> | |
| 157 <div><div class=preview-thumbnails></div></div> | |
| 158 <div><div class=preview-summary></div></div> | |
| 159 <div class=task-buttons></div> | |
| 160 <div> | |
| 161 <button class='delete-button task-button' command='#delete' | |
| 162 onclick='fileManager.deleteEntries( | |
| 163 fileManager.selection.entries, false)' | |
| 164 visibleif='this.dialogType_ == "full-page"' | |
| 165 ><img src='images/button-icon-delete.png' | |
| 166 ><div i18n-content=DELETE_BUTTON_LABEL></div | |
| 167 ></button> | |
| 168 </div> | 178 </div> |
| 169 </div> | 179 </div> |
| 170 </div> | 180 </div> |
| 171 <div class=dialog-footer visibleif='this.dialogType_ != "full-page"'> | 181 <div class=dialog-footer visibleif='this.dialogType_ != "full-page"'> |
| 172 <div class=filename-label i18n-content=FILENAME_LABEL | 182 <div class=filename-label i18n-content=FILENAME_LABEL |
| 173 visibleif='this.dialogType_ == "saveas-file"' | 183 visibleif='this.dialogType_ == "saveas-file"' |
| 174 >[FILENAME]</div> | 184 >[FILENAME]</div> |
| 175 <input type=text class=filename-input spellcheck=false | 185 <input type=text class=filename-input spellcheck=false |
| 176 tabindex=1 | 186 tabindex=1 |
| 177 visibleif='this.dialogType_ == "saveas-file"'> | 187 visibleif='this.dialogType_ == "saveas-file"'> |
| 178 <div class=horizontal-spacer></div> | 188 <div class=horizontal-spacer></div> |
| 179 <button class=ok disabled tabindex=2>[OK]</button> | 189 <button class=ok disabled tabindex=2>[OK]</button> |
| 180 <button class=cancel tabindex=3 i18n-content=CANCEL_LABEL | 190 <button class=cancel tabindex=3 i18n-content=CANCEL_LABEL |
| 181 >[CANCEL]</button> | 191 >[CANCEL]</button> |
| 182 </div> | 192 </div> |
| 183 | 193 |
| 184 <script>init();</script> | 194 <script>init();</script> |
| 185 </body> | 195 </body> |
| 186 </html> | 196 </html> |
| OLD | NEW |