Files
2016-03-09 11:53:07 -06:00

23 lines
938 B
HTML

{{extend 'layout.html'}}
<!-- begin "index" block -->
<h2>web2py&trade; {{=T('Web Framework')}}</h2>
<div class="twothirds padded lifted">
{{if request.is_https or request.is_local:}}
<form action="{{=URL(r=request)}}" method="post" class="span4 well">
<h5>{{=T('Login to the Administrative Interface')}}</h5>
<label class="spaced" for="password">{{=T('Administrator Password:')}}</label>
<input class="spaced" type="password" name="password" id="password"/>
<input class="spaced" type="hidden" name="send" value="{{=send}}"/>
<button class="spaced" type="submit" name="login">{{=T('Login')}}</button>
</form>
{{else:}}
<p class="help span7 alert alert-block alert-warning">{{=T('ATTENTION: Login requires a secure (HTTPS) connection or running on localhost.')}}</p>
{{pass}}
</div>
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery("#password").focus();
});
</script>
<!-- end "index" block -->