#*
 * Aipo is a groupware program developed by Aimluck,Inc.
 * Copyright (C) 2004-2010 Aimluck,Inc.
 * http://aipostyle.com/
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *#

## ---------------------------------------------------------------------------
#if ($data.User.hasLoggedIn())
$screen_placeholder
#else
#if ($!{result.CompanyId})
#set($uri = "portal/org/$!{result.CompanyId}/")
#else
#set($uri = "portal/")
#end

<div style="text-align:center">
    <img src="/${data.getServletConfig().getServletName()}/themes/${theme}/images/common/logo.gif" alt="${alias}" />
    <hr style="border:solid 1px #ffffff; color:#ffffff" />
#if($enableEasyLogin)
    <form method="post" utn="utn" action="${clink.setURI($uri)}?${jslink.ActionKey}=${config.getString("action.login")}&key=${key}">
    <input type="submit" value="簡単ﾛｸﾞｲﾝ" name="submit"/>
    </form>
#end
    <div><a href="${clink.setURI($uri)}?eventSubmit_doAccount_info=1">簡易ﾛｸﾞｲﾝとは?</a></div>
    <hr style="border:solid 1px #ffffff; color:#ffffff" />
</div>

<form action="${clink.setURI($uri)}" method="post">
    <input type="hidden" name="secid" value="$secid" />
    <input name="$jslink.ActionKey" type="hidden" value="$config.getString("action.login")">
    <div style="background:#d6dce1;">▼ﾕｰｻﾞｰ名</div>
    #ALcell_textfield($career 'username' "$!username" 20 50 '' 'en')<br />
    <div style="background:#d6dce1;">▼ﾊﾟｽﾜｰﾄﾞ</div>
    #ALcell_textfield($career 'password' '' 20 50 '' 'en')
    <div style="text-align:center;">
        <hr style="border:solid 1px #ffffff; color:#ffffff" />
        #ALcell_submit($career 'login_submit' 'ログイン')
        <hr style="border:solid 1px #ffffff; color:#ffffff" />
    </div>
</form>
#end
