<?xml version="1.0"?>
<!DOCTYPE greeter SYSTEM "greeter.dtd">
<greeter>
<!-- first we take care of the background stuff -->
  <item type="pixmap" id="background">
    <normal file="background.jpg" alpha="1"/>
    <pos x="0" y="0" width="100%" height="100%"/>
  </item>
  <!-- 
  <item type="pixmap">
    <normal file="opensuse.png" alpha="0.9"/>
    <pos x="-10" y="10" width="64" height="26" anchor="ne"/>
  </item>
  -->

  <!-- the user list -->
  <item type="rect" id="userlist-background">
    <pos x="12%" y="10%" width="22%" height="70%"/>
    <fixed>
      <item type="rect" id="userlist">
        <pos x="0" y="0" width="100%" height="100%"/>
        <show type="userlist"/>
        <normal color="#ffffff"/>
        <active color="#ffffff"/>
        <prelight color="#ffffff"/>
      </item>
    </fixed>
  </item>



<!-- remote logins have a hostname shown -->
<item type="rect">
  <pos y="10" x="100%" width="box" height="box" anchor="ne"/>
  <box ypadding="10" xpadding="13" spacing="25" orientation="horizontal">
    <item type="label">
      <text>%h</text>
      <normal font="Sans 9" color="#ffffff" alpha="0.5" />
      <pos x="50%" anchor="n"/>
    </item>
  </box>
  <show modes="remote,remote-flexi" />
</item>

<!-- timer -->
  <item type="rect" id="timed-rect">
    <show type="timed"/>
    <normal color="#FFFFFF" alpha="0.1"/>
    <pos anchor="c" x="50%" y="75%" 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>
<!-- the login box contents, positioned freely -->
  <item type="rect">
    <pos y="50%" x="55%" width="box" height="box" anchor="c"/>
    <box ypadding="5" xpadding="5" spacing="25" orientation="horizontal">
<!-- "(o) |" logo -->
      <item type="pixmap">
        <normal file="logo.png" alpha="1"/>
        <pos y="40%" x="50%" width="60" height="60" anchor="c"/>
        <show type="!userlist"/>
      </item>
      <item type="rect">
        <pos width="box" height="box"/>
        <box ypadding="5" xpadding="5" spacing="15" orientation="vertical">
<!-- balance out the caps-lock and timer spacing below -->
<!-- filler -->
          <item type="rect">
            <pos width="200" height="60"/>
          </item>
<!-- label textentry pair -->
<!-- KDE way -->
          <item type="rect">
            <normal color="#FFFFFF" alpha="0"/>
            <pos anchor="e" x="0" y="10%" width="box" height="box"/>
            <box orientation="vertical" xpadding="0" ypadding="0" spacing="10">
<!-- Stock label for: Username: -->
              <item type="label">
                <pos anchor="nw" x="100%"/>
                <normal color="#FFFFFF" font="Sans 12"/>
                <stock type="username-label"/>
              </item>
<!-- user entry -->
              <item type="entry" id="user-entry">
                <pos anchor="nw" x="100%" height="24" width="250"/>
              </item>
<!-- Stock label for: Password: -->
              <item type="label">
                <pos anchor="nw" x="100%"/>
                <normal color="#FFFFFF" font="Sans 12"/>
                <stock type="password-label"/>
              </item>
<!-- pw entry-->
              <item type="rect">
                <normal color="#ff0000" alpha="0"/>
                <pos anchor="nw" x="100%" height="24" width="300"/>
                <fixed>
                  <item type="entry" id="pw-entry">
                    <pos anchor="nw" x="0" height="24" width="250"/>
                  </item>
                  <item type="pixmap" button="true" id="login_button">
                    <pos anchor="sw" x="255" y="-0" height="21"/>
                    <normal file="enter.png"/>
                  </item>
                </fixed>
              </item>
              <item type="rect" id="plugin-specific-winbind">
                <pos anchor="nw" x="100%" width="250"/>
                <fixed>
                  <item type="label" id="domain-label">
                    <pos anchor="nw" x="0"/>
                    <normal color="#ffffff" font="Sans 12"/>
                    <stock type="domain-label"/>
                  </item>
                  <item type="entry" id="domain-entry">
                    <pos anchor="nw" x="3%" y="30" height="24" width="100%"/>
                  </item>
                </fixed>
              </item>
            </box>
          </item>
        </box>
      </item>
    </box>
  </item>
  <item type="rect" id="caps-lock-warning">
    <normal color="#FFFFFF" alpha="0.5"/>
    <pos anchor="c" x="50%" y="75%" width="box" height="box"/>
    <box orientation="vertical" min-width="400" xpadding="10" ypadding="5" spacing="0">
      <item type="label">
        <normal color="#000000" font="Sans 12"/>
        <pos x="50%" anchor="n"/>
<!-- Stock label for: You've got capslock on! -->
        <stock type="caps-lock-warning"/>
      </item>
    </box>
  </item>
  <item type="label" id="pam-error">
    <pos x="50%" y="65%" anchor="c"/>
    <normal font="Sans Bold 12" color="#ffffff"/>
    <text> </text>
  </item>
<!-- session/language/disconnect buttons -->
  <item type="rect">
    <pos y="100%" x="20" width="100%" height="10%" anchor="sw"/>
    <box xpadding="10" spacing="10" orientation="horizontal">
      <item type="rect" id="session_button" button="true">
        <pos y="50%" width="box" height="100%" anchor="w"/>
        <box xpadding="0" spacing="2" orientation="horizontal">
          <item type="label">
            <normal font="Sans 12" color="#ffffff" alpha="0.5"/>
            <prelight font="Sans 12" color="#ffffff" alpha="1"/>
            <active font="Sans 12" color="#ffffff" alpha="1"/>
            <pos y="50%" anchor="w"/>
            <stock type="session"/>
          </item>
        </box>
      </item>
      <item type="rect" id="system_button" button="true">
        <show type="reboot" modes="console"/>
        <pos y="50%" width="box" height="100%" anchor="w"/>
        <box xpadding="0" spacing="2" orientation="horizontal">
          <item type="pixmap">
            <normal file="dots.png" alpha="1.0"/>
            <pos x="0" y="0" height="100%"/>
          </item>
          <item type="label">
            <normal font="Sans 12" color="#ffffff" alpha="0.5"/>
            <prelight font="Sans 12" color="#ffffff" alpha="1"/>
            <active font="Sans 12" color="#ffffff" alpha="1"/>
            <pos y="50%" anchor="w"/>
            <stock type="system"/>
          </item>
        </box>
      </item>
      <item type="rect" id="admin_button" button="true">
        <show type="halt" modes="console"/>
        <pos y="50%" width="box" height="100%" anchor="w"/>
        <box xpadding="0" spacing="2" orientation="horizontal">
          <item type="pixmap">
            <normal file="dots.png" alpha="1"/>
            <pos x="0" y="0" height="100%"/>
          </item>
          <item type="label">
            <normal font="Sans 12" color="#ffffff" alpha="0.5"/>
            <prelight font="Sans 12" color="#ffffff" alpha="1"/>
            <active font="Sans 12" color="#ffffff" alpha="1"/>
            <pos y="50%" anchor="w"/>
            <stock type="admin"/>
          </item>
        </box>
      </item>
      <item type="rect" id="disconnect_button" button="true">
        <normal/>
        <show modes="flexi,remote"/>
        <pos y="50%" width="box" height="100%" anchor="w"/>
        <box xpadding="0" spacing="2" orientation="horizontal">
          <item type="pixmap">
            <normal file="dots.png" alpha="1"/>
            <pos x="0" y="0" height="100%"/>
          </item>
          <item type="label">
            <normal font="Sans 12" color="#ffffff" alpha="0.5"/>
            <prelight font="Sans 12" color="#ffffff" alpha="1"/>
            <active font="Sans 12" color="#ffffff" alpha="1"/>
            <pos y="50%" anchor="w"/>
            <stock type="disconnect"/>
            <show modes="remote"/>
          </item>
          <item type="label">
            <normal font="Sans 12" color="#ffffff" alpha="0.5"/>
            <prelight font="Sans 12" color="#ffffff" alpha="1"/>
            <active font="Sans 12" color="#ffffff" alpha="1"/>
            <pos y="50%" anchor="w"/>
            <stock type="quit"/>
            <show modes="flexi"/>
          </item>
        </box>
      </item>
    </box>
  </item>
</greeter>
