Files
SingularityViewer/indra/newview/skins/default/xui/en-us/floater_ban_duration.xml
Lirusaito d0a6772245 Merge in EAM from viewer-release
Remove the derpy stuff lindens like to do
Wide strings aren't normal strings

Make it all a bit better~
Redid the Duration floater because it was kinda icky,
gave it more flexibility~<3
Display parcel ban and access durations as dates instead of text, sortable!
Reworked the rather icky lookin' Access panel control ordering
Enabled lowering parcel ban time without needing to find and remove first
2019-07-20 18:27:47 -04:00

56 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<floater
can_minimize="false"
can_tear_off="false"
can_resize="false"
can_drag_on_left="false"
can_close="true"
height="80"
layout="topleft"
name="ban_duration"
title="Duration"
single_instance="true"
width="180">
<!-- Liru make this a combo: Hours, Days, Weeks, Months -->
<combo_box name="ban_duration_combo" bottom="-40" left="10" height="20" width="100" initial_value="0">
<combo_item name="permanent" label="Permanent" value="0"/>
<combo_item name="hours" label="Hours" value="1"/>
<combo_item name="days" label="Days" value="2"/>
<combo_item name="weeks" label="Weeks" value="3"/>
<combo_item name="months" label="Months" value="4"/>
</combo_box>
<spinner
allow_digits_only="true"
decimal_digits="0"
follows="left|top"
height="20"
increment="1"
max_val="8766"
min_val="1"
initial_val="1"
name="ban_duration"
bottom_delta="-2"
left_delta="100"
width="60"/>
<button
follows="left|top"
height="23"
label="OK"
left="10"
name="ok_btn"
bottom_delta="-30"
width="80">
</button>
<button
follows="left|top"
height="23"
label="Cancel"
left_delta="80"
name="cancel_btn"
bottom_delta="0"
width="80">
</button>
</floater>