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