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"></command> | 112 <command id="cut" i18n-values="label:CUT_BUTTON_LABEL"></command> |
113 <command id="copy"></command> | 113 <command id="copy" i18n-values="label:COPY_BUTTON_LABEL"></command> |
114 <command id="paste"></command> | 114 <command id="paste" i18n-values="label:PASTE_BUTTON_LABEL"></command> |
115 <command id="rename"></command> | 115 <command id="rename" i18n-values="label:RENAME_BUTTON_LABEL"></command> |
116 <command id="delete"></command> | 116 <command id="delete" i18n-values="label:DELETE_BUTTON_LABEL"></command> |
| 117 <command id="newfolder" i18n-values="label:NEW_FOLDER_BUTTON_LABEL"></comm
and> |
117 </commands> | 118 </commands> |
118 | 119 |
119 <menu class=file-context-menu> | 120 <menu class=file-context-menu> |
120 <menuitem i18n-content=CUT_BUTTON_LABEL command='#cut'></menuitem> | 121 <menuitem command='#cut'></menuitem> |
121 <menuitem i18n-content=COPY_BUTTON_LABEL command='#copy'></menuitem> | 122 <menuitem command='#copy'></menuitem> |
122 <menuitem i18n-content=PASTE_BUTTON_LABEL command='#paste'></menuitem> | 123 <menuitem command='#paste'></menuitem> |
123 <hr> | 124 <hr> |
124 <menuitem i18n-content=RENAME_BUTTON_LABEL command='#rename'></menuitem> | 125 <menuitem command='#rename'></menuitem> |
125 <menuitem i18n-content=DELETE_BUTTON_LABEL command='#delete'></menuitem> | 126 <menuitem 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> |
126 </menu> | 132 </menu> |
127 | 133 |
128 <div class=dialog-title visibleif='this.dialogType_ != "full-page"' | 134 <div class=dialog-title visibleif='this.dialogType_ != "full-page"' |
129 >[TITLE]</div> | 135 >[TITLE]</div> |
130 <div class=dialog-header> | 136 <div class=dialog-container> |
131 <div class=breadcrumbs></div> | 137 <div class=dialog-sidebar> |
132 <button class=detail-view tabindex=4 | 138 <div class=close-sidebar><img src='images/close_sidebar.png'></div> |
133 ><img src='images/icon-detail-view.png'></button | 139 <list class=roots-list></list> |
134 ><button class=thumbnail-view tabindex=5 | 140 </div> |
135 ><img src='images/icon-thumb-view.png'></button> | 141 <div class=dialog-main> |
136 <button i18n-content=NEW_FOLDER_BUTTON_LABEL class='new-folder' | 142 <div class=dialog-header> |
137 tabindex=6 | 143 <div class=open-sidebar><img src='images/open_sidebar.png'></div> |
138 visibleif='this.dialogType_ == "saveas-file" || | 144 <div class=breadcrumbs></div> |
139 this.dialogType_ == "full-page"' | 145 <button class=detail-view tabindex=4 |
| 146 ><img src='images/icon-detail-view.png'></button |
| 147 ><button class=thumbnail-view tabindex=5 |
| 148 ><img src='images/icon-thumb-view.png'></button> |
| 149 </div> |
| 150 <div class=dialog-body> |
| 151 <div class=filelist-panel> |
| 152 <div class=list-container> |
| 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 |
140 ></button> | 172 ></button> |
141 </div> | 173 </div> |
142 <div class=dialog-body> | 174 </div> |
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> | |
152 </div> | |
153 <div class=preview-panel visibility=hidden> | |
154 <div><div class=preview-thumbnails></div></div> | |
155 <div><div class=preview-summary></div></div> | |
156 <div class=task-buttons></div> | |
157 <div> | |
158 <button class='delete-button task-button' command='#delete' | |
159 onclick='fileManager.deleteEntries( | |
160 fileManager.selection.entries, false)' | |
161 visibleif='this.dialogType_ == "full-page"' | |
162 ><img src='images/button-icon-delete.png' | |
163 ><div i18n-content=DELETE_BUTTON_LABEL></div | |
164 ></button> | |
165 </div> | 175 </div> |
166 </div> | 176 </div> |
167 </div> | 177 </div> |
168 <div class=dialog-footer visibleif='this.dialogType_ != "full-page"'> | 178 <div class=dialog-footer visibleif='this.dialogType_ != "full-page"'> |
169 <div class=filename-label i18n-content=FILENAME_LABEL | 179 <div class=filename-label i18n-content=FILENAME_LABEL |
170 visibleif='this.dialogType_ == "saveas-file"' | 180 visibleif='this.dialogType_ == "saveas-file"' |
171 >[FILENAME]</div> | 181 >[FILENAME]</div> |
172 <input type=text class=filename-input spellcheck=false | 182 <input type=text class=filename-input spellcheck=false |
173 tabindex=1 | 183 tabindex=1 |
174 visibleif='this.dialogType_ == "saveas-file"'> | 184 visibleif='this.dialogType_ == "saveas-file"'> |
175 <div class=horizontal-spacer></div> | 185 <div class=horizontal-spacer></div> |
176 <button class=ok disabled tabindex=2>[OK]</button> | 186 <button class=ok disabled tabindex=2>[OK]</button> |
177 <button class=cancel tabindex=3 i18n-content=CANCEL_LABEL | 187 <button class=cancel tabindex=3 i18n-content=CANCEL_LABEL |
178 >[CANCEL]</button> | 188 >[CANCEL]</button> |
179 </div> | 189 </div> |
180 | 190 |
181 <script>init();</script> | 191 <script>init();</script> |
182 </body> | 192 </body> |
183 </html> | 193 </html> |
OLD | NEW |