PageRenderTime 265ms CodeModel.GetById 121ms app.highlight 5ms RepoModel.GetById 136ms app.codeStats 0ms

/indra/newview/skins/default/xui/en/panel_group_notices.xml

https://bitbucket.org/lindenlab/viewer-beta/
XML | 359 lines | 359 code | 0 blank | 0 comment | 0 complexity | 3e8b81666f089c7a7611d337ebeba1d5 MD5 | raw file
  1<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2<panel
  3 height="530"
  4 label="Notices"
  5 layout="topleft"
  6 left="0"
  7 name="notices_tab"
  8 top="0"
  9 width="304">
 10    <panel.string
 11     name="help_text">
 12        Notices let you send a message and an optionally attached item.
 13Notices only go to group members in Roles with the ability to receive Notices.
 14You can turn off Notices on the General tab.
 15    </panel.string>
 16    <panel.string
 17     name="no_notices_text">
 18        There are no past notices
 19    </panel.string>
 20    <text
 21      follows="left|top"
 22     type="string"
 23     word_wrap="true"
 24     height="24"
 25     halign="left"
 26     layout="topleft"
 27     text_color="White_50"
 28     left="5"
 29     name="lbl2"
 30     right="-1"
 31     top="5"
 32     width="300">
 33     Notices are kept for 14 days.
 34Maximum 200 per group daily
 35    </text>
 36    <scroll_list
 37     follows="left|top|right"
 38     column_padding="0"
 39     draw_heading="true"
 40     height="175"
 41     layout="topleft"
 42     left="0"
 43     right="-1"
 44     name="notice_list"
 45     top_pad="0"
 46     width="304">
 47        <scroll_list.columns
 48         label=""
 49         name="icon"
 50         width="20" />
 51        <scroll_list.columns
 52         label="Subject"
 53         name="subject"
 54         width="110" />
 55        <scroll_list.columns
 56         label="From"
 57         name="from"
 58         width="100" />
 59        <scroll_list.columns
 60         label="Date"
 61         name="date"
 62         width="60" />
 63        <scroll_list.columns
 64         name="sort"
 65         width="-1" />
 66    </scroll_list>
 67    <text
 68     follows="left|top"
 69     type="string"
 70     layout="topleft"
 71     name="notice_list_none_found"
 72     visible="false">
 73        None found
 74    </text>
 75      <button
 76       follows="top|left"
 77       height="23"
 78       image_overlay="AddItem_Off"
 79       image_overlay_alignment="left"
 80       imgoverlay_label_space="-10"
 81       label="New Notice"
 82       layout="topleft"
 83       left="5"
 84       name="create_new_notice"
 85       tool_tip="Create a new notice"
 86       top_delta="0"
 87       width="127" />
 88     <button
 89     follows="top|left"
 90     height="23"
 91     image_overlay="Refresh_Off"
 92     layout="topleft"
 93     name="refresh_notices"
 94     left="260"
 95     tool_tip="Refresh list of notices"
 96     top_delta="0"
 97     width="23" />
 98    <panel
 99     follows="left|top|right"
100     height="280"
101     label="Create New Notice"
102     layout="topleft"
103     left="0"
104     right="-1"
105     top_pad="0"
106     visible="true"
107     name="panel_create_new_notice"
108         width="313">
109        <text
110         follows="left|top"
111         type="string"
112         font="SansSerifBig"
113         height="16"
114         layout="topleft"
115         left="10"
116         mouse_opaque="false"
117         name="lbl"
118         text_color="EmphasisColor"
119         top="5"
120         width="200">
121            Create a Notice
122        </text>
123        <text
124         follows="left|top"
125         type="string"
126         halign="left"
127         height="16"
128         layout="topleft"
129         name="lbl3"
130         top_pad="10"
131         width="62">
132            Subject:
133        </text>
134        <line_editor
135         follows="left|top|right"
136         border_style="line"
137         border_thickness="1"
138         height="16"
139         layout="topleft"
140         left_pad="3"
141         max_length_bytes="63"
142         name="create_subject"
143         prevalidate_callback="ascii"
144         width="218" />
145        <text
146         follows="left|top"
147         type="string"
148         halign="left"
149         height="16"
150         layout="topleft"
151         left="10"
152         name="lbl4"
153         top_pad="5"
154         width="62">
155            Message:
156        </text>
157        <text_editor
158         follows="left|top|right"
159         height="90"
160         layout="topleft"
161         left_pad="3"
162         max_length="511"
163         name="create_message"
164         top_delta="0"
165         width="218"
166         word_wrap="true" />
167        <text
168         follows="left|top"
169         type="string"
170         halign="left"
171         height="14"
172         layout="topleft"
173         left="10"
174         name="lbl5"
175         width="200">
176            Attach:
177        </text>
178        <line_editor
179         follows="left|top|right"
180         enabled="false"
181         height="19"
182         layout="topleft"
183         max_length_bytes="90"
184         mouse_opaque="false"
185         name="create_inventory_name"
186         top_pad="2"
187         width="285" />
188        <text
189        text_color="EmphasisColor"
190         follows="left|top"
191         type="string"
192         halign="right"
193         height="34"
194         layout="topleft"
195         left="10"
196         name="string"
197         top_pad="15"
198         word_wrap="true"
199         width="150">
200            Drag and drop item here to attach it:
201        </text>
202        <icon
203         height="72"
204         image_name="DropTarget"
205         layout="topleft"
206         left_pad="10"
207         mouse_opaque="true"
208         name="drop_icon"
209         top_delta="-10"
210         width="72" />
211        <button
212         follows="left|top"
213         layout="topleft"
214         left="20"
215         top_delta="50"
216         height="23"
217         width="100"
218         name="open_inventory"
219         label="Inventory"
220         tool_tip="Open Inventory">
221			<button.init_callback
222				 function="Button.SetFloaterToggle"
223				 parameter="inventory"/>
224		</button>
225        <button
226         follows="left|top"
227         layout="topleft"
228         left="140"
229         name="remove_attachment"
230         top_delta="0"
231                 height="18"
232                 image_selected="TrashItem_Press"
233                 image_unselected="TrashItem_Off"
234                 image_disabled="TrashItem_Disabled"
235                 tool_tip="Remove attachment from your notification"
236                 width="18" />
237        <button
238         follows="left|top"
239         height="23"
240         label="Send"
241         label_selected="Send"
242         layout="topleft"
243         right="-25"
244         top_pad="10"
245         name="send_notice"
246         width="100" />
247      <group_drop_target
248         height="75"
249         top="160"
250         left="10"
251         layout="topleft"
252         name="drop_target"
253         tool_tip="Drag an inventory item onto this target box to send it with this notice. You must have permission to copy and transfer the item in order to attach it."
254         width="280" />
255   </panel>
256    <panel
257     follows="left|top|right"
258     height="280"
259     label="View Past Notice"
260     layout="topleft"
261     left="0"
262     right="-1"
263     visible="false"
264     name="panel_view_past_notice"
265     top="230"
266    width="313">
267        <text
268         type="string"
269         font="SansSerifMedium"
270         height="16"
271         layout="topleft"
272         left="10"
273         mouse_opaque="false"
274         name="lbl"
275         text_color="EmphasisColor"
276         top_pad="5"
277         width="265">
278            Archived Notice
279        </text>
280        <text
281         type="string"
282         height="16"
283         word_wrap="true"
284         layout="topleft"
285         left_delta="0"
286         name="lbl2"
287         top_pad="2"
288         width="265">
289            To send a new notice, click the + button
290        </text>
291        <text
292         type="string"
293         halign="left"
294         height="16"
295         layout="topleft"
296         left_delta="0"
297         name="lbl3"
298         top_pad="15"
299         visible="false"
300         width="60">
301            Subject:
302        </text>
303        <line_editor
304         border_style="line"
305         border_thickness="1"
306         enabled="false"
307         height="20"
308         layout="topleft"
309         left_pad="3"
310         max_length_bytes="63"
311         name="view_subject"
312         top_delta="-1"
313         visible="false"
314         width="200" />
315        <text
316         type="string"
317         halign="left"
318         height="16"
319         layout="topleft"
320         left="10"
321         name="lbl4"
322         top_pad="10"
323         visible="false"
324         width="60">
325            Message:
326        </text>
327        <text_editor
328                     follows="top|left|right"
329         enabled="false"
330         height="160"
331         layout="topleft"
332         left="0"
333         right="-1"
334         max_length="511"
335         name="view_message"
336         top_delta="-40"
337         width="313"
338         word_wrap="true" />
339        <line_editor
340         enabled="false"
341         height="20"
342         layout="topleft"
343         left="5"
344         max_length_bytes="63"
345         mouse_opaque="false"
346         name="view_inventory_name"
347         top_pad="8"
348         width="250"/>
349        <button
350         follows="left|top"
351         height="23"
352         label="Open Attachment"
353         layout="topleft"
354         left="5"
355         name="open_attachment"
356         top_pad="5"
357         width="180" />
358        </panel>
359</panel>