blob: bfb5181e269edc68db2b62a60292f1b97bc22a94 (
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
|
<?xml version="1.0"?>
<!DOCTYPE greeter SYSTEM "greeter.dtd">
<greeter>
<item type="pixmap" id="background" background="true">
<normal file="/usr/share/mdk/backgrounds/default.jpg"/>
<pos x="0" y="0" width="100%" height="100%"/>
</item>
<!-- MAIN BOX -->
<item type="rect">
<normal color="#FFFFFF" alpha="0.4"/>
<pos y="50%" x="50%" width="600" height="276" anchor="c"/>
<box orientation="vertical">
<item type="rect">
<pos width="100%" height="224"/>
<fixed>
<item type="rect">
<pos x="50%" height="50" width="100%" anchor="n"/>
<fixed>
<item type="label">
<pos x="50%" y="50%" anchor="c"/>
<normal color="#FFFFFF" font="Sans Bold 12"/>
<!-- Stock label for: Welcome to %h -->
<stock type="welcome-label"/>
</item>
</fixed>
</item>
<item type="rect">
<pos anchor="n" x="50%" y="50" width="100%" height="156"/>
<!-- <normal color="#FF0000" alpha="0.5"/>-->
<fixed>
<item type="rect" id="userlist-background">
<!-- 16 pixel per user in list -->
<pos x="22" width="50%" height="100%"/>
<normal color="#ffffff" alpha="1.0"/>
<fixed>
<item type="list" id="userlist">
<pos height="100%" width="100%"/>
</item>
</fixed>
</item>
<!-- the login box contents, positioned freely -->
<item type="rect">
<pos width="box" height="box" x="100%" y="50%" anchor="e"/>
<box orientation="vertical" spacing="8" xpadding="22">
<!-- Stock label for: Username: -->
<item type="label" id="pam-prompt">
<pos anchor="nw" x="0"/>
<normal color="#FFFFFF" font="Sans 12"/>
<stock type="username-label"/>
</item>
<!-- user entry -->
<item type="entry" id="user-pw-entry">
<pos height="24" width="230"/>
</item>
<item type="rect">
<pos width="100%" height="24"/>
<fixed>
<item type="button" id="ok_button">
<pos height="box" x="100%" anchor="e" width="box" y="50%"/>
<stock type="ok"/>
</item>
</fixed>
</item>
</box>
</item>
</fixed>
</item>
</fixed>
</item>
<item type="rect">
<pos width="100%" height="2"/>
<normal color="#FFFFFF" alpha="0.4"/>
</item>
<item type="rect">
<pos width="100%" height="50"/>
<fixed>
<item type="label" id="clock">
<normal color="#FFFFFF" font="Sans 12"/>
<pos x="22" y="50%" anchor="w"/>
<text>%c</text>
</item>
<item type="rect">
<pos x="100%" y="50%" height="30" width="box" anchor="e"/>
<box orientation="horizontal" spacing="20" xpadding="22">
<item type="rect" id="language_button" button="true">
<pos width="30" height="30"/>
<fixed>
<item type="pixmap">
<normal file="languages.png" tint="#dddddd"/>
<prelight file="languages.png"/>
<active file="languages.png" tint="#b8bcdb"/>
</item>
</fixed>
</item>
<item type="rect" id="session_button" button="true">
<pos width="30" height="30"/>
<fixed>
<item type="pixmap">
<normal file="sessions.png" tint="#dddddd"/>
<prelight file="sessions.png"/>
<active file="sessions.png" tint="#b8bcdb"/>
</item>
</fixed>
</item>
<item type="rect" id="disconnect_button" button="true">
<show modes="flexi,remote"/>
<pos width="30" height="30"/>
<fixed>
<item type="pixmap">
<normal file="disconnect.png" tint="#dddddd"/>
<prelight file="disconnect.png"/>
<active file="disconnect.png" tint="#b8bcdb"/>
</item>
</fixed>
</item>
<item type="rect" id="system_button" button="true">
<show type="system" modes="console"/>
<pos width="30" height="30"/>
<fixed>
<item type="pixmap">
<normal file="system.png" tint="#dddddd"/>
<prelight file="system.png"/>
<active file="system.png" tint="#b8bcdb"/>
</item>
</fixed>
</item>
</box>
</item>
</fixed>
</item>
</box>
</item>
<!-- timer -->
<item type="rect" id="timed-rect">
<show type="timed"/>
<normal color="#FFFFFF" alpha="0"/>
<pos anchor="n" x="50%" y="68%" width="box" height="box"/>
<box orientation="vertical" min-width="400" xpadding="10" ypadding="5" spacing="0">
<item type="label" id="timed-label">
<normal color="#ffffff" font="Sans 12"/>
<pos x="50%" anchor="n"/>
<!-- Stock label for: User %s will login in %d seconds -->
<stock type="timed-label"/>
</item>
</box>
</item>
<item type="label" id="pam-error">
<pos x="50%" y="75%" anchor="c"/>
<normal font="Sans Bold 14" color="#ffffff"/>
<text/>
</item>
<item type="rect" id="caps-lock-warning">
<normal color="#FFFFFF" alpha="0"/>
<pos anchor="n" x="50%" y="80%" width="box" height="box"/>
<box orientation="vertical" min-width="400" xpadding="10" ypadding="5" spacing="0">
<item type="label">
<normal color="#FFFFFF" font="Sans 14"/>
<pos x="50%" anchor="n"/>
<!-- Stock label for: You've got capslock on! -->
<stock type="caps-lock-warning"/>
</item>
</box>
</item>
</greeter>
|