summaryrefslogtreecommitdiffabout
path: root/content/fireflix-panel.xul
Unidiff
Diffstat (limited to 'content/fireflix-panel.xul') (more/less context) (ignore whitespace changes)
-rw-r--r--content/fireflix-panel.xul3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/fireflix-panel.xul b/content/fireflix-panel.xul
index 405804c..8aec0e4 100644
--- a/content/fireflix-panel.xul
+++ b/content/fireflix-panel.xul
@@ -119,197 +119,198 @@
119 <button class="lean" command="cmd_auth_open_flickr" 119 <button class="lean" command="cmd_auth_open_flickr"
120 tooltiptext="&panel.auth.flickr.tip;"/> 120 tooltiptext="&panel.auth.flickr.tip;"/>
121 <button class="lean" command="cmd_help"/> 121 <button class="lean" command="cmd_help"/>
122 </hbox> 122 </hbox>
123 </groupbox> 123 </groupbox>
124 124
125 <tabbox flex="1" id="fireflix_tabs"> 125 <tabbox flex="1" id="fireflix_tabs">
126 126
127 <tabs> 127 <tabs>
128 <tab label="&panel.tabs.search;"/> 128 <tab label="&panel.tabs.search;"/>
129 <tab label="&panel.tabs.sets;"/> 129 <tab label="&panel.tabs.sets;"/>
130 <tab label="&panel.tabs.tags;" hidden="true"/> <!-- TODO: --> 130 <tab label="&panel.tabs.tags;" hidden="true"/> <!-- TODO: -->
131 <tab id="tab_upload" label="&panel.tabs.upload;"/> 131 <tab id="tab_upload" label="&panel.tabs.upload;"/>
132 </tabs> 132 </tabs>
133 133
134 <tabpanels flex="1"> 134 <tabpanels flex="1">
135 135
136 <tabpanel id="tabpanel_search" flex="1"> 136 <tabpanel id="tabpanel_search" flex="1">
137 <vbox flex="1"> 137 <vbox flex="1">
138 <groupbox class="search_params" orient="vertical" onkeypress="if(event.keyCode==event.DOM_VK_RETURN) fireflix.foundphotos.search_photos()"> 138 <groupbox class="search_params" orient="vertical" onkeypress="if(event.keyCode==event.DOM_VK_RETURN) fireflix.foundphotos.search_photos()">
139 <hbox> 139 <hbox>
140 <vbox pack="center"> 140 <vbox pack="center">
141 <label control="search_for" value="&panel.search.search_for.label;" accesskey="s"/> 141 <label control="search_for" value="&panel.search.search_for.label;" accesskey="s"/>
142 </vbox> 142 </vbox>
143 <textbox id="search_for" flex="1"/> 143 <textbox id="search_for" flex="1"/>
144 </hbox> 144 </hbox>
145 <hbox> 145 <hbox>
146 <checkbox id="search_tags" label="&panel.search.mode.tagsonly.label;" 146 <checkbox id="search_tags" label="&panel.search.mode.tagsonly.label;"
147 tooltiptext="&panel.search.mode.tagsonly.tip;" checked="false" 147 tooltiptext="&panel.search.mode.tagsonly.tip;" checked="false"
148 accesskey="t" /> 148 accesskey="t" />
149 <checkbox id="search_mine" label="&panel.search.mode.mine.label;" checked="true" accesskey="m"/> 149 <checkbox id="search_mine" label="&panel.search.mode.mine.label;" checked="true" accesskey="m"/>
150 <spacer flex="1"/> 150 <spacer flex="1"/>
151 <button class="lean" command="cmd_search"/> 151 <button class="lean" command="cmd_search"/>
152 </hbox> 152 </hbox>
153 </groupbox> 153 </groupbox>
154 <hbox> 154 <hbox>
155 <button class="lean" command="cmd_search_prev_page"/> 155 <button class="lean" command="cmd_search_prev_page"/>
156 <spacer flex="1"/> 156 <spacer flex="1"/>
157 <label id="search_page" hidden="true"/> 157 <label id="search_page" hidden="true"/>
158 <spacer flex="1"/> 158 <spacer flex="1"/>
159 <button class="lean" command="cmd_search_next_page"/> 159 <button class="lean" command="cmd_search_next_page"/>
160 </hbox> 160 </hbox>
161 <tree id="searchresults" rows="2" flex="1" 161 <tree id="searchresults" rows="2" flex="1"
162 onselect="fireflix.foundphotos.on_select()" 162 onselect="fireflix.foundphotos.on_select()"
163 ondblclick="fireflix.foundphotos.on_cmd_open(event)" 163 ondblclick="fireflix.foundphotos.on_cmd_open(event)"
164 onkeypress="if(event.keyCode==event.DOM_VK_RETURN) fireflix.foundphotos.on_cmd_open(event)"> 164 onkeypress="if(event.keyCode==event.DOM_VK_RETURN) fireflix.foundphotos.on_cmd_open(event)">
165 <treecols> 165 <treecols>
166 <treecol id="sr_title" label="&panel.search.col.title.label;" flex="2" crop="end" align="start" /> 166 <treecol id="sr_title" label="&panel.search.col.title.label;" flex="2" crop="end" align="start" />
167 </treecols> 167 </treecols>
168 <treechildren/> 168 <treechildren/>
169 </tree> 169 </tree>
170 <groupbox id="searchresult_props" orient="horizontal" hidden="true"> 170 <groupbox id="searchresult_props" orient="horizontal" hidden="true">
171 <vbox width="100" pack="center"> 171 <vbox width="100" pack="center">
172 <hbox pack="center"> 172 <hbox pack="center">
173 <image id="search_photo" 173 <image id="search_photo"
174 ondblclick="fireflix.foundphotos.on_cmd_open(event)"/> 174 ondblclick="fireflix.foundphotos.on_cmd_open(event)"/>
175 </hbox> 175 </hbox>
176 </vbox> 176 </vbox>
177 <vbox flex="1"> 177 <vbox flex="1">
178 <label id="searchresult_title" crop="end"/> 178 <label id="searchresult_title" crop="end"/>
179 <hbox flex="1" pack="center"> 179 <hbox flex="1" pack="center">
180 <div flex="1" id="searchresult_description" xmlns="http://www.w3.org/1999/xhtml"/> 180 <div flex="1" id="searchresult_description" xmlns="http://www.w3.org/1999/xhtml"/>
181 </hbox> 181 </hbox>
182 <hbox pack="end"> 182 <hbox pack="end">
183 <button command="cmd_search_open"/> 183 <button command="cmd_search_open"/>
184 </hbox> 184 </hbox>
185 </vbox> 185 </vbox>
186 </groupbox> 186 </groupbox>
187 </vbox> 187 </vbox>
188 </tabpanel> 188 </tabpanel>
189 189
190 <tabpanel id="tabpanel_sets" flex="1" 190 <tabpanel id="tabpanel_sets" flex="1"
191 onkeypress="if(event.keyCode==event.DOM_VK_RETURN) 191 onkeypress="if(event.keyCode==event.DOM_VK_RETURN)
192 document.getElementById('setphotos').focus()"> 192 document.getElementById('setphotos').focus()">
193 <vbox flex="1"> 193 <vbox flex="1">
194 <tree id="setslist" rows="2" onselect="fireflix.photosets.on_select()" 194 <tree id="setslist" rows="2" onselect="fireflix.photosets.on_select()"
195 flex="1" context="sets_menu" 195 flex="1" context="sets_menu"
196 ondblclick="fireflix.photosets.on_cmd_open_in_flickr(event)" 196 ondblclick="fireflix.photosets.on_cmd_open_in_flickr(event)"
197 > 197 >
198 <treecols> 198 <treecols>
199 <treecol id="sl_name" label="&panel.sets.name.label;" flex="4" crop="end" align="start" tooltiptext="&panel.sets.name.tip;"/> 199 <treecol id="sl_name" label="&panel.sets.name.label;" flex="4" crop="end" align="start" tooltiptext="&panel.sets.name.tip;"/>
200 <splitter class="tree-splitter" /> 200 <splitter class="tree-splitter" />
201 <treecol id="sl_photos" label="&panel.sets.photos.label;" flex="1" align="end" tooltiptext="&panel.sets.photos.tip;" /> 201 <treecol id="sl_photos" label="&panel.sets.photos.label;" flex="1" align="end" tooltiptext="&panel.sets.photos.tip;" />
202 </treecols> 202 </treecols>
203 <treechildren/> 203 <treechildren/>
204 </tree> 204 </tree>
205 <hbox> 205 <hbox>
206 <button command="cmd_refresh_sets" /> 206 <button command="cmd_refresh_sets" />
207 <button command="cmd_set_props" /> 207 <button command="cmd_set_props" />
208 </hbox> 208 </hbox>
209 <tree id="setphotos" rows="2" onselect="fireflix.photoset.on_select()" 209 <tree id="setphotos" rows="2" onselect="fireflix.photoset.on_select()"
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" ondblclick="fireflix.uploads.on_cmd_open(event)"
248 onkeypress="if(event.keyCode==event.DOM_VK_RETURN) fireflix.uploads.on_cmd_open(event)" >
248 <treecols> 249 <treecols>
249 <treecol id="up_file" label="&panel.uploadlist.file.label;" flex="4" crop="start" align="start"/> 250 <treecol id="up_file" label="&panel.uploadlist.file.label;" flex="4" crop="start" align="start"/>
250 <splitter class="tree-splitter" /> 251 <splitter class="tree-splitter" />
251 <treecol id="up_title" label="&panel.uploadlist.title.label;" flex="5" crop="end" align="start" /> 252 <treecol id="up_title" label="&panel.uploadlist.title.label;" flex="5" crop="end" align="start" />
252 <splitter class="tree-splitter" /> 253 <splitter class="tree-splitter" />
253 <treecol id="up_status" label="&panel.uploadlist.status.label;" flex="1" crop="end" align="start" /> 254 <treecol id="up_status" label="&panel.uploadlist.status.label;" flex="1" crop="end" align="start" />
254 </treecols> 255 </treecols>
255 <treechildren/> 256 <treechildren/>
256 </tree> 257 </tree>
257 <progressmeter id="upload_progress" mode="undetermined" hidden="true" /> 258 <progressmeter id="upload_progress" mode="undetermined" hidden="true" />
258 <groupbox id="upload_file_props" orient="vertical" hidden="true"> 259 <groupbox id="upload_file_props" orient="vertical" hidden="true">
259 <hbox> 260 <hbox>
260 <image id="upload_file_preview" width="100" height="100" /> 261 <image id="upload_file_preview" width="100" height="100" />
261 <vbox flex="1"> 262 <vbox flex="1">
262 <grid> 263 <grid>
263 <columns> 264 <columns>
264 <column/> 265 <column/>
265 <column flex="1"/> 266 <column flex="1"/>
266 </columns> 267 </columns>
267 <rows> 268 <rows>
268 <row> 269 <row>
269 <label control="upload_filename" 270 <label control="upload_filename"
270 value="&panel.upload_props.filename.label;" /> 271 value="&panel.upload_props.filename.label;" />
271 <textbox id="upload_filename" 272 <textbox id="upload_filename"
272 oninput="fireflix.uploads.propsToSel('filename')"/> 273 oninput="fireflix.uploads.propsToSel('filename')"/>
273 </row> 274 </row>
274 <row> 275 <row>
275 <label control="upload_title" value="&panel.upload_props.title.label;" /> 276 <label control="upload_title" value="&panel.upload_props.title.label;" />
276 <textbox id="upload_title" 277 <textbox id="upload_title"
277 oninput="fireflix.uploads.propsToSel('title')"/> 278 oninput="fireflix.uploads.propsToSel('title')"/>
278 </row> 279 </row>
279 <row> 280 <row>
280 <label control="upload_tags" value="&panel.upload_props.tags.label;" /> 281 <label control="upload_tags" value="&panel.upload_props.tags.label;" />
281 <textbox id="upload_tags" 282 <textbox id="upload_tags"
282 oninput="fireflix.uploads.propsToSel('tags')"/> 283 oninput="fireflix.uploads.propsToSel('tags')"/>
283 </row> 284 </row>
284 <!-- TODO: description, public, friend, family --> 285 <!-- TODO: description, public, friend, family -->
285 </rows> 286 </rows>
286 </grid> 287 </grid>
287 <hbox> 288 <hbox>
288 <checkbox id="upload_is_public" label="&panel.upload_props.is_public;"/> 289 <checkbox id="upload_is_public" label="&panel.upload_props.is_public;"/>
289 <checkbox id="upload_is_friends" label="&panel.upload_props.is_friend;"/> 290 <checkbox id="upload_is_friends" label="&panel.upload_props.is_friend;"/>
290 <checkbox id="upload_is_family" label="&panel.upload_props.is_family;"/> 291 <checkbox id="upload_is_family" label="&panel.upload_props.is_family;"/>
291 </hbox> 292 </hbox>
292 </vbox> 293 </vbox>
293 </hbox> 294 </hbox>
294 <description id="upload_failure" hidden="true"/> 295 <description id="upload_failure" hidden="true"/>
295 </groupbox> 296 </groupbox>
296 <hbox> 297 <hbox>
297 <button class="lean" command="cmd_uploads_add" /> 298 <button class="lean" command="cmd_uploads_add" />
298 <spacer flex="1"/> 299 <spacer flex="1"/>
299 <button class="lean" command="cmd_uploads_remove" /> 300 <button class="lean" command="cmd_uploads_remove" />
300 <spacer flex="1"/> 301 <spacer flex="1"/>
301 <button class="lean" command="cmd_uploads_clear" /> 302 <button class="lean" command="cmd_uploads_clear" />
302 </hbox> 303 </hbox>
303 <hbox pack="center"> 304 <hbox pack="center">
304 <button command="cmd_uploads_upload" flex="1"/> 305 <button command="cmd_uploads_upload" flex="1"/>
305 </hbox> 306 </hbox>
306 </vbox> 307 </vbox>
307 </tabpanel> 308 </tabpanel>
308 309
309 </tabpanels> 310 </tabpanels>
310 311
311 </tabbox> 312 </tabbox>
312 313
313 </vbox> 314 </vbox>
314 315
315</page> 316</page>