-rw-r--r-- | content/fireflix-panel.xul | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/content/fireflix-panel.xul b/content/fireflix-panel.xul index 0e511c5..aa3dbd6 100644 --- a/content/fireflix-panel.xul +++ b/content/fireflix-panel.xul | |||
@@ -210,96 +210,99 @@ | |||
210 | flex="1" ondblclick="fireflix.photoset.on_cmd_open(event)" | 210 | flex="1" ondblclick="fireflix.photoset.on_cmd_open(event)" |
211 | onkeypress="if(event.keyCode==event.DOM_VK_RETURN) fireflix.photoset.on_cmd_open(event)" context="setphotos_menu"> | 211 | onkeypress="if(event.keyCode==event.DOM_VK_RETURN) fireflix.photoset.on_cmd_open(event)" context="setphotos_menu"> |
212 | <treecols> | 212 | <treecols> |
213 | <treecol id="sp_title" label="&panel.setphotos.title.label;" flex="1" crop="end" align="start" tooltiptext="&panel.setphotos.title.tip;" /> | 213 | <treecol id="sp_title" label="&panel.setphotos.title.label;" flex="1" crop="end" align="start" tooltiptext="&panel.setphotos.title.tip;" /> |
214 | <splitter class="tree-splitter" /> | 214 | <splitter class="tree-splitter" /> |
215 | <treecol id="sp_taken" label="&panel.setphotos.taken.label;" crop="end" align="start" tooltiptext="&panel.setphotos.taken.tip;" hidden="true" /> | 215 | <treecol id="sp_taken" label="&panel.setphotos.taken.label;" crop="end" align="start" tooltiptext="&panel.setphotos.taken.tip;" hidden="true" /> |
216 | <treecol id="sp_upload" label="&panel.setphotos.upload.label;" crop="end" align="start" tooltiptext="&panel.setphotos.upload.tip;" hidden="true" /> | 216 | <treecol id="sp_upload" label="&panel.setphotos.upload.label;" crop="end" align="start" tooltiptext="&panel.setphotos.upload.tip;" hidden="true" /> |
217 | </treecols> | 217 | </treecols> |
218 | <treechildren/> | 218 | <treechildren/> |
219 | </tree> | 219 | </tree> |
220 | <groupbox id="set_photo_props" orient="horizontal" hidden="true"> | 220 | <groupbox id="set_photo_props" orient="horizontal" hidden="true"> |
221 | <vbox width="100" pack="center"> | 221 | <vbox width="100" pack="center"> |
222 | <hbox pack="center"> | 222 | <hbox pack="center"> |
223 | <image id="set_photo" | 223 | <image id="set_photo" |
224 | ondblclick="fireflix.photoset.on_cmd_open(event)" /> | 224 | ondblclick="fireflix.photoset.on_cmd_open(event)" /> |
225 | </hbox> | 225 | </hbox> |
226 | </vbox> | 226 | </vbox> |
227 | <spacer flex="1"/> | 227 | <spacer flex="1"/> |
228 | </groupbox> | 228 | </groupbox> |
229 | </vbox> | 229 | </vbox> |
230 | </tabpanel> | 230 | </tabpanel> |
231 | 231 | ||
232 | <tabpanel id="tabpanel_tags"> | 232 | <tabpanel id="tabpanel_tags"> |
233 | <listbox id="tagslist" rows="8" flex="1"> | 233 | <listbox id="tagslist" rows="8" flex="1"> |
234 | <listhead> | 234 | <listhead> |
235 | <listheader label="&panel.tagslist.tag.label;"/> | 235 | <listheader label="&panel.tagslist.tag.label;"/> |
236 | </listhead> | 236 | </listhead> |
237 | <listcols> | 237 | <listcols> |
238 | <listcol flex="1"/> | 238 | <listcol flex="1"/> |
239 | </listcols> | 239 | </listcols> |
240 | </listbox> | 240 | </listbox> |
241 | </tabpanel> | 241 | </tabpanel> |
242 | 242 | ||
243 | <tabpanel id="tabpanel_upload"> | 243 | <tabpanel id="tabpanel_upload"> |
244 | <vbox flex="1"> | 244 | <vbox flex="1"> |
245 | <tree id="uploadlist" rows="2" flex="1" | 245 | <tree id="uploadlist" rows="2" flex="1" |
246 | onselect="fireflix.uploads.selectionChanged()" | 246 | onselect="fireflix.uploads.selectionChanged()" |
247 | context="uploads_menu"> | 247 | context="uploads_menu"> |
248 | <treecols> | 248 | <treecols> |
249 | <treecol id="up_file" label="&panel.uploadlist.file.label;" flex="4" crop="start" align="start"/> | 249 | <treecol id="up_file" label="&panel.uploadlist.file.label;" flex="4" crop="start" align="start"/> |
250 | <splitter class="tree-splitter" /> | 250 | <splitter class="tree-splitter" /> |
251 | <treecol id="up_title" label="&panel.uploadlist.title.label;" flex="5" crop="end" align="start" /> | 251 | <treecol id="up_title" label="&panel.uploadlist.title.label;" flex="5" crop="end" align="start" /> |
252 | <splitter class="tree-splitter" /> | 252 | <splitter class="tree-splitter" /> |
253 | <treecol id="up_status" label="&panel.uploadlist.status.label;" flex="1" crop="end" align="start" /> | 253 | <treecol id="up_status" label="&panel.uploadlist.status.label;" flex="1" crop="end" align="start" /> |
254 | </treecols> | 254 | </treecols> |
255 | <treechildren/> | 255 | <treechildren/> |
256 | </tree> | 256 | </tree> |
257 | <progressmeter id="upload_progress" mode="undetermined" hidden="true" /> | 257 | <progressmeter id="upload_progress" mode="undetermined" hidden="true" /> |
258 | <groupbox id="upload_file_props" orient="horizontal" hidden="true"> | 258 | <groupbox id="upload_file_props" orient="vertical" hidden="true"> |
259 | <hbox> | ||
259 | <image id="upload_file_preview" width="100" height="100" /> | 260 | <image id="upload_file_preview" width="100" height="100" /> |
260 | <grid flex="1"> | 261 | <grid flex="1"> |
261 | <columns> | 262 | <columns> |
262 | <column/> | 263 | <column/> |
263 | <column flex="1"/> | 264 | <column flex="1"/> |
264 | </columns> | 265 | </columns> |
265 | <rows> | 266 | <rows> |
266 | <row> | 267 | <row> |
267 | <label control="upload_filename" | 268 | <label control="upload_filename" |
268 | value="&panel.upload_props.filename.label;" /> | 269 | value="&panel.upload_props.filename.label;" /> |
269 | <textbox id="upload_filename" | 270 | <textbox id="upload_filename" |
270 | oninput="fireflix.uploads.propsToSel('filename')"/> | 271 | oninput="fireflix.uploads.propsToSel('filename')"/> |
271 | </row> | 272 | </row> |
272 | <row> | 273 | <row> |
273 | <label control="upload_title" value="&panel.upload_props.title.label;" /> | 274 | <label control="upload_title" value="&panel.upload_props.title.label;" /> |
274 | <textbox id="upload_title" | 275 | <textbox id="upload_title" |
275 | oninput="fireflix.uploads.propsToSel('title')"/> | 276 | oninput="fireflix.uploads.propsToSel('title')"/> |
276 | </row> | 277 | </row> |
277 | <row> | 278 | <row> |
278 | <label control="uplod_tags" value="&panel.upload_props.tags.label;" /> | 279 | <label control="upload_tags" value="&panel.upload_props.tags.label;" /> |
279 | <textbox id="upload_tags" | 280 | <textbox id="upload_tags" |
280 | oninput="fireflix.uploads.propsToSel('tags')"/> | 281 | oninput="fireflix.uploads.propsToSel('tags')"/> |
281 | </row> | 282 | </row> |
282 | <!-- TODO: description, public, friend, family --> | 283 | <!-- TODO: description, public, friend, family --> |
283 | </rows> | 284 | </rows> |
284 | </grid> | 285 | </grid> |
286 | </hbox> | ||
287 | <description id="upload_failure" hidden="true"/> | ||
285 | </groupbox> | 288 | </groupbox> |
286 | <hbox> | 289 | <hbox> |
287 | <button class="lean" command="cmd_uploads_add" /> | 290 | <button class="lean" command="cmd_uploads_add" /> |
288 | <spacer flex="1"/> | 291 | <spacer flex="1"/> |
289 | <button class="lean" command="cmd_uploads_remove" /> | 292 | <button class="lean" command="cmd_uploads_remove" /> |
290 | <spacer flex="1"/> | 293 | <spacer flex="1"/> |
291 | <button class="lean" command="cmd_uploads_clear" /> | 294 | <button class="lean" command="cmd_uploads_clear" /> |
292 | </hbox> | 295 | </hbox> |
293 | <hbox pack="center"> | 296 | <hbox pack="center"> |
294 | <button command="cmd_uploads_upload" flex="1"/> | 297 | <button command="cmd_uploads_upload" flex="1"/> |
295 | </hbox> | 298 | </hbox> |
296 | </vbox> | 299 | </vbox> |
297 | </tabpanel> | 300 | </tabpanel> |
298 | 301 | ||
299 | </tabpanels> | 302 | </tabpanels> |
300 | 303 | ||
301 | </tabbox> | 304 | </tabbox> |
302 | 305 | ||
303 | </vbox> | 306 | </vbox> |
304 | 307 | ||
305 | </page> | 308 | </page> |