<div id="wrapper">
    <div id="wrapper-header">
        <%include include_header.html~%>
    </div>
    <form name="myform" action="<%cfg.cgi_url%>" method="post">
        <input type="hidden" name="cmd" value="login" />
        <input type="hidden" name="login" value="1" />
        <div id="ocwrapper" class="clear">
            <div id="icwrapper" class="clear">
                <div id="contentmessage"<%if error eq '' and message eq ''%> class="hide"<%endif%>><div class="<%if error%>error<%elsif message%>message<%endif%>"><%if error%><%error%><%elsif message%><%message%><%endif%></div></div>
                <div id="contentwrapper" class="shadowleft">
                    <div class="shadowtop"><div class="shadowtopleft"></div><div class="shadowtopright"></div></div>
                    <div class="shadowright">
                        <div id="content">
                            <div id="login">
                                <h2>Login</h2>
                                <p>Welcome to Gossamer FileMan. Please enter your username, and password below.</p>
                                <div class="row clear">
                                    <label for="username" class="name">Username</label>
                                    <div class="value"><input type="text" id="username" name="username" value="<%if in.username%><%in.username%><%endif%>" class="text" tabindex="1" /></div>
                                </div>
                                <div class="row clear">
                                    <label for="password" class="name">Password</label>
                                    <div class="value"><input type="password" id="password" name="password" value="" class="text" tabindex="2" /></div>
                                </div>
                                <div class="row clear">
                                    <label for="password" class="name">Use Cookies</label>
                                    <div class="value">
                                        <select id="cookie" name="cookie" tabindex="3">
                                            <option value="1">Yes</option>
                                            <option value="0">No</option>
                                        </select>
                                    </div>
                                </div>

                                <%if cfg.fversion eq 'multiple'%><div class="lostpasswd"><a href="#" rel="reset_password">Lost Password</a></div><%endif%>
                                <div class="row clear">
                                    <label class="name">&nbsp;</label>
                                    <div class="value">
                                        <input type="submit" name="bsignin" value="Login"  tabindex="4" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="shadowbottom"><div class="shadowbottomleft"></div><div class="shadowbottomright"></div></div>
                </div>
            </div>
        </div>
    </form>
    <%include include_footer.html%>
</div>
