| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one * |
| or more contributor license agreements. See the NOTICE file * |
| distributed with this work for additional information * |
| regarding copyright ownership. The ASF licenses this file * |
| to you under the Apache License, Version 2.0 (the * |
| "License"); you may not use this file except in compliance * |
| with the License. You may obtain a copy of the License at * |
| * |
| http://www.apache.org/licenses/LICENSE-2.0 * |
| * |
| Unless required by applicable law or agreed to in writing, * |
| software distributed under the License is distributed on an * |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * |
| KIND, either express or implied. See the License for the * |
| specific language governing permissions and limitations * |
| under the License. * |
| --> |
| |
| |
| <div id="login-box"> |
| |
| <script type="text/javascript"> |
| jQuery(function() { |
| jQuery('input[type=\'image\']').bind('click', function() { |
| jQuery('form[name=\'loginFrm\']').attr('action', 'javascript:login()').submit(); |
| }); |
| if(jQuery('input#ldapEnabled').val() == 'true') { |
| jQuery('div#openIdSection').hide(); |
| jQuery('img#btn_signup').hide(); |
| } |
| }); |
| </script> |
| |
| <div class="top-login"></div> |
| |
| <div class="mid-login"> |
| <lift:Msgs> |
| <lift:error_class>error_major</lift:error_class> |
| <lift:notice_msg><lift:loc>ui_base_note</lift:loc></lift:notice_msg> |
| <lift:notice_class>note_major</lift:notice_class> |
| </lift:Msgs> |
| |
| <form name="loginFrm" action="javascript:void(0)" method="post" > |
| <div class="form"> |
| <div class="post-form-row"> |
| <label> <lift:loc>ui_login_user</lift:loc></label> |
| <input type="text" name="username" value="" class="inputBox2"/><!--narrow input field--> |
| </div> |
| <div class="post-form-row"> |
| |
| <label><lift:loc>ui_login_password</lift:loc></label> |
| <input type="password" name="password" value="" class="inputBox2"/><!--narrow input field--> |
| </div> |
| |
| <input id="ldapEnabled" type="hidden" value=""/> |
| |
| <div class="line"></div> |
| |
| <div id="openIdSection" class="post-form-row"> |
| <label><lift:loc>ui_login_openid</lift:loc></label> |
| <input type="text" name="open_id" value="" class="inputBox2"/><!--narrow input field--> |
| </div> |
| |
| </div> |
| <div class="login-btn"> |
| <input type="image" src="images/btn-signon.gif" /> |
| |
| </div> |
| </form> |
| </div> |
| <div class="bot-login"></div> |
| <div class="box-right"> |
| <h3><a href="http://www.apache.org/"><lift:loc>custom_heading_1_title</lift:loc></a></h3> |
| <p><lift:loc>custom_heading_1_body</lift:loc></p> |
| </div> |
| <div class="box-right"> |
| <h3><a href="http://incubator.apache.org/"><lift:loc>custom_heading_2_title</lift:loc></a></h3> |
| <lift:loc>custom_heading_2_body</lift:loc></div> |
| <div class="box-right"> |
| <h3><a href="http://en.wikipedia.org/wiki/Microblogging"><lift:loc>custom_heading_3_title</lift:loc></a></h3> |
| <lift:loc>custom_heading_3_body</lift:loc></div> |
| </div><!--login-box "--> |