コード例 #1
0
ファイル: login.php プロジェクト: jbrauchler/directory
</style>
<h1>Login</h1>

<div class="ui-widget-content" style="padding:6px;font-size:13px;margin-bottom:10px;">Please fill out the following form with your identikey username and password:</div>

<div class="authen-container ui-widget-content ui-corner-all">
    <div class="authen-title ui-widget-header ui-corner-all">Authentication Needed</div>
    <form method="post" id="login-form">
        <div class="input-container">
            <label>CU Identikey Username <span class="required">*</span></label>
            <input type="text" name="username" />
        </div>
        <div class="input-container">
            <label>CU Identikey Password <span class="required">*</span></label>
            <input type="password" name="password" /> <?php 
echo $imager->render();
?>
        </div>
        <div class="input-container calign submit">
            <input type="submit" id="submit" value="Login" />
        </div>
    </form>
</div>

<script>
jQuery(document).ready(function(){
    $("#submit").button();
    $("#submit").click(function(){
        $(this).removeClass("ui-state-hover");
        $(this).addClass("disabled");
        $(this).prop("value","Logging in...");