summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en/panel_login.xml
blob: 134ca75018281609d4b65f02ce97d3345e1da8c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<panel
    follows="all"
    height="600"
    layout="topleft"
    left="0"
    name="panel_login"
    focus_root="true" 
    top="600"
    width="1130">
  <string name="reg_in_client_url" translate="false">
    http://secondlife.eniac15.lindenlab.com/reg-in-client/
  </string>
  <panel.string
      name="forgot_password_url">
    http://secondlife.com/account/request.php
  </panel.string>
  <!-- *NOTE: Custom resize logic for login_html in llpanellogin.cpp -->
  <web_browser
      tab_stop="false" 
      trusted_content="true" 
      bg_opaque_color="Black"
      border_visible="false"
      bottom="600"
      follows="all"
      left="0"
      name="login_html"
      start_url=""
      top="0"
      height="600"
      width="996"/>
  <layout_stack
      animate="false"
      clip="false"
      follows="left|bottom|right"
      name="login_widgets"
      layout="topleft"
      orientation="horizontal"
      top="519"
      width="1130"
      height="80">
    <layout_panel
        auto_resize="false"
        follows="left|bottom"
        name="login"
        layout="topleft"
        width="310"
        min_width="310"
        height="80">
      <text
          follows="left|bottom"
          font="SansSerif"
          font.style="BOLD"
          font.size="Large"
          height="16"
          name="log_in_text"
          top="8"
          left="15"
          width="150">
        LOG IN
      </text>
      <text
          follows="left|bottom"
          font="SansSerifSmall"
          height="16"
          name="username_text"
          top="35"
          left="15"
          width="150">
        Username:
      </text>
      <!-- STEAM-14: Turn off commit_on_focus_lost so if user presses Enter
           with focus in this combo_box, we can use commit action to initiate
           login -->
      <combo_box
          allow_text_entry="true"
          follows="left|bottom"
          height="22"
          left_delta="0"
          max_chars="128"
          commit_on_focus_lost="false"
          combo_editor.prevalidate_callback="ascii"
          tool_tip="The username you chose when you registered, like bobsmith12 or Steller Sunshine"
          top_pad="0"
          name="username_combo"
          width="178">
<!-- empirically, displayed width is 150 anyway?!? -->
        <combo_box.combo_button
            visible ="false"/>
        <combo_box.drop_down_button
            visible ="false"/>
      </combo_box>
<!-- left="175" based on actual "username_combo" width of 150 vs. 178 -->
      <text
          follows="left|bottom"
          font="SansSerifSmall"
          height="16"
          name="password_text"
          top="35"
          left="175"
          width="150">
        Password:
      </text>
      <!-- STEAM-14: Turn off commit_on_focus_lost so if user presses Enter
           with focus in this line_editor, we can use commit action to
           initiate login -->
      <line_editor
          follows="left|bottom"
          height="22"
          max_length_bytes="16"
          name="password_edit"
          is_password="true" 
          select_on_focus="true"
          commit_on_focus_lost="false"
          top_pad="0"
          width="135" />
    </layout_panel>
    <layout_panel
        auto_resize="false"
        follows="left|bottom"
        name="start_location_panel"
        layout="topleft"
        width="175"
        min_width="175"
        height="80">
      <text
          follows="left|bottom"
          font="SansSerifSmall"
          height="16"
          left="10"
          name="start_location_text"
          top="35"
          width="130">
        Start at:
      </text>
      <combo_box
          allow_text_entry="true"
          control_name="NextLoginLocation"
          follows="left|bottom"
          height="22"
          max_chars="128"
          top_pad="0"
          name="start_location_combo"
          width="165">
        <combo_box.item
            label="My last location"
            name="MyLastLocation"
            value="last" />
        <combo_box.item
            label="My home"
            name="MyHome"
            value="home" />
        <combo_box.item
            label="&lt;Type region name&gt;"
            name="Typeregionname"   value="" />
      </combo_box>
    </layout_panel>
    <layout_panel
        auto_resize="false"
        follows="left|bottom"
        name="grid_panel"
        layout="topleft"
        width="145"
        height="80"
        visible="false">
      <combo_box
          allow_text_entry="false"
          font="SansSerifSmall"
          follows="left|right|bottom"
          height="23"
          max_chars="256"
          left="10"
          top="51"
          layout="topleft"
          top_pad="2"
          name="server_combo"
          width="135" />
    </layout_panel>
    <layout_panel
        auto_resize="false"
        follows="left|bottom"
        name="links_login_panel"
        layout="topleft"
        width="290"
        height="80">
      <text
          follows="left|bottom"
          font="SansSerifSmall"
          text_color="EmphasisColor"
          left="10"
          height="16"
          name="login_help"
          top="19"
          width="280">
        Need help logging in?
      </text>
      <text
          follows="left|bottom"
          font="SansSerifSmall"
          text_color="EmphasisColor"
          height="16"
          name="forgot_password_text"
          top="35"
          width="280">
        Forgot your username or password?
      </text>
      <button
          follows="left|bottom"
          top_pad="0"
          height="23"
          image_unselected="PushButton_On"
          image_selected="PushButton_On_Selected"
          label="Log In"
          label_color="White"
          layout="topleft"
          name="connect_btn"
          width="90" />
      <check_box
          control_name="RememberPassword"
          follows="left|bottom"
          font="SansSerifSmall"
          left="110"
          top="56"
          height="16"
          label="Remember password"
          top_pad="3"
          name="remember_check"
          width="145" />
    </layout_panel>
    <layout_panel
        tab_stop="false"
        follows="right|bottom"
        name="links" 
        width="210"
        min_width="100"
        height="80">
      <text
          follows="right|bottom"
          font="SansSerif"
          font.style="BOLD"
          font.size="Large"
          halign="right"
          height="16"
          name="create_account_text"
          top="8"
          right="-15"
          width="200">
        CREATE YOUR ACCOUNT
      </text>
      <button
          follows="right|bottom"
          top="35"
          right="-15"
          height="23"
          image_unselected="PushButton_On"
          image_selected="PushButton_On_Selected"
          label="Start now"
          label_color="White"
          layout="topleft"
          left_pad="10"
          name="create_new_account_btn"
          width="90" />
    </layout_panel>
  </layout_stack>
</panel>