1 |
<?xml version="1.0"?> |
2 |
<!DOCTYPE greeter SYSTEM "greeter.dtd"> |
3 |
<greeter> |
4 |
<item type="svg" background="true"> |
5 |
<normal file="/usr/share/mdk/backgrounds/default.jpg"/> |
6 |
<pos x="0" y="0" width="100%" height="100%"/> |
7 |
</item> |
8 |
|
9 |
<!-- MAIN BOX --> |
10 |
<item type="rect"> |
11 |
<normal color="#FFFFFF" alpha="0.4"/> |
12 |
<pos y="50%" x="50%" width="600" height="276" anchor="c"/> |
13 |
<box orientation="vertical"> |
14 |
<item type="rect"> |
15 |
<pos width="100%" height="224"/> |
16 |
<fixed> |
17 |
<item type="rect"> |
18 |
<pos x="50%" height="50" width="100%" anchor="n"/> |
19 |
<fixed> |
20 |
<item type="label"> |
21 |
<pos x="50%" y="50%" anchor="c"/> |
22 |
<normal color="#FFFFFF" font="Sans 12 Bold"/> |
23 |
<!-- Stock label for: Welcome to %h --> |
24 |
<stock type="welcome-label"/> |
25 |
</item> |
26 |
</fixed> |
27 |
</item> |
28 |
<item type="rect"> |
29 |
<pos anchor="n" x="50%" y="50" width="100%" height="156"/> |
30 |
<!-- <normal color="#FF0000" alpha="0.5"/>--> |
31 |
<fixed> |
32 |
<item type="rect" id="userlist-background"> |
33 |
<!-- 16 pixel per user in list --> |
34 |
<pos x="22" width="50%" height="100%"/> |
35 |
<normal color="#ffffff" alpha="1.0"/> |
36 |
<fixed> |
37 |
<item type="list" id="userlist"> |
38 |
<pos height="100%" width="100%"/> |
39 |
</item> |
40 |
</fixed> |
41 |
</item> |
42 |
<!-- the login box contents, positioned freely --> |
43 |
<item type="rect"> |
44 |
<pos width="box" height="box" x="100%" y="46%" anchor="e"/> |
45 |
<box orientation="vertical" spacing="8" xpadding="22"> |
46 |
<!-- Stock label for: Username: --> |
47 |
<item type="label"> |
48 |
<pos anchor="nw" x="0"/> |
49 |
<normal color="#FFFFFF" font="Sans medium 12"/> |
50 |
<stock type="username-label"/> |
51 |
</item> |
52 |
<!-- user entry --> |
53 |
<item type="entry" id="user-entry"> |
54 |
<pos height="24" width="230"/> |
55 |
</item> |
56 |
|
57 |
<!-- Stock label for: Password: --> |
58 |
<item type="label"> |
59 |
<pos anchor="nw" x="0"/> |
60 |
<normal color="#FFFFFF" font="Sans medium 12"/> |
61 |
<stock type="password-label"/> |
62 |
</item> |
63 |
<!-- user entry --> |
64 |
<item type="entry" id="pw-entry"> |
65 |
<pos height="24" width="230"/> |
66 |
</item> |
67 |
|
68 |
<item type="rect"> |
69 |
<pos width="100%" height="20"/> |
70 |
<fixed> |
71 |
<item type="button" id="login_button"> |
72 |
<pos height="box" x="100%" anchor="e" width="box" y="90%"/> |
73 |
<stock type="login"/> |
74 |
</item> |
75 |
</fixed> |
76 |
</item> |
77 |
|
78 |
</box> |
79 |
</item> |
80 |
</fixed> |
81 |
</item> |
82 |
</fixed> |
83 |
</item> |
84 |
<item type="rect"> |
85 |
<pos width="100%" height="2"/> |
86 |
<normal color="#FFFFFF" alpha="0.4"/> |
87 |
</item> |
88 |
<item type="rect"> |
89 |
<pos width="100%" height="50"/> |
90 |
<fixed> |
91 |
<item type="label" id="clock"> |
92 |
<normal color="#FFFFFF" font="Sans medium 12"/> |
93 |
<pos x="22" y="50%" anchor="w"/> |
94 |
<text>%c</text> |
95 |
</item> |
96 |
<item type="rect"> |
97 |
<pos x="-22" y="50%" height="30" width="80" anchor="e"/> |
98 |
<fixed> |
99 |
<item type="rect" id="session_button" button="true"> |
100 |
<pos x="0" y="0" width="30" height="30"/> |
101 |
<fixed> |
102 |
<item type="pixmap"> |
103 |
<normal file="sessions.png" tint="#dddddd"/> |
104 |
<prelight file="sessions.png"/> |
105 |
<active file="sessions.png" tint="#b8bcdb"/> |
106 |
</item> |
107 |
</fixed> |
108 |
</item> |
109 |
<item type="rect" id="system_button" button="true"> |
110 |
<show type="system" modes="console"/> |
111 |
<pos x="50" y="0" width="30" height="30"/> |
112 |
<fixed> |
113 |
<item type="pixmap"> |
114 |
<normal file="system.png" tint="#dddddd"/> |
115 |
<prelight file="system.png"/> |
116 |
<active file="system.png" tint="#b8bcdb"/> |
117 |
</item> |
118 |
</fixed> |
119 |
</item> |
120 |
</fixed> |
121 |
</item> |
122 |
</fixed> |
123 |
</item> |
124 |
</box> |
125 |
</item> |
126 |
<!-- timer --> |
127 |
<item type="rect" id="timed-rect"> |
128 |
<show type="timed"/> |
129 |
<normal color="#FFFFFF" alpha="0"/> |
130 |
<pos anchor="n" x="50%" y="68%" width="box" height="box"/> |
131 |
<box orientation="vertical" min-width="400" xpadding="10" ypadding="5" spacing="0"> |
132 |
<item type="label" id="timed-label"> |
133 |
<normal color="#ffffff" font="Sans 12"/> |
134 |
<pos x="50%" anchor="n"/> |
135 |
<!-- Stock label for: User %s will login in %d seconds --> |
136 |
<stock type="timed-label"/> |
137 |
</item> |
138 |
</box> |
139 |
</item> |
140 |
<item type="label" id="pam-error"> |
141 |
<pos x="50%" y="75%" anchor="c"/> |
142 |
<normal font="Sans Bold 14" color="#ffffff"/> |
143 |
<text/> |
144 |
</item> |
145 |
<item type="rect" id="caps-lock-warning"> |
146 |
<normal color="#FFFFFF" alpha="0"/> |
147 |
<pos anchor="n" x="50%" y="80%" width="box" height="box"/> |
148 |
<box orientation="vertical" min-width="400" xpadding="10" ypadding="5" spacing="0"> |
149 |
<item type="label"> |
150 |
<normal color="#FFFFFF" font="Sans 14"/> |
151 |
<pos x="50%" anchor="n"/> |
152 |
<!-- Stock label for: You've got capslock on! --> |
153 |
<stock type="caps-lock-warning"/> |
154 |
</item> |
155 |
</box> |
156 |
</item> |
157 |
</greeter> |