12 |
- <!--power by mazephp--><?php $data['/auth.set']=Maze\Routing\Load::get('/auth.set') ?>
- <!DOCTYPE html> <html lang="zh-CN"> <head> <?php require MAZE_PATH . 'data/compile/manage/inc/head.cmp.php' ?> <style> .form-control { width: 100%; } </style> </head> <body class="theme-blue"> <div class="navbar navbar-default" role="navigation"> <div class="navbar-header"> <a class="" href="#"><span class="navbar-brand" id="name"><?php echo Maze::$global["base"]["name"] ?> 后台管理</span></a></div> <div class="navbar-collapse collapse" style="height: 1px;"> </div> </div> </div> <div class="dialog"> <div class="panel panel-default"> <p class="panel-heading no-collapse">账户登录</p> <div class="panel-body"> <form action="<?php echo Maze::url("auth.login") ?>" method="post" target="f1" class="am-form" id="login"> <input type="hidden" name="function" id="function" value="msg"> <input type="hidden" name="refer" id="refer" value="<?php echo $data['/auth.set']['refer'] ?>"> <iframe id="f1" name="f1" style="display:none;"></iframe> <div class="form-group"> <label>账号</label> <input type="text" name="username" class="form-control span12"> </div> <div class="form-group"> <label>密码</label> <input type="password" name="password" class="form-controlspan12 form-control"> </div> <a href="javascript:;" onclick="$('#login').submit()" class="btn btn-primary pull-right">登录</a> <label class="remember-me"><input type="checkbox" checked="true"> 记住密码</label> <div class="clearfix"></div> </form> </div> </div> <p class="pull-right" style="font-size: .75em; margin-top: .25em;" id="footer" ><?php echo Maze::$global["base"]["copyright"] ?></p> <p style="display:none;"><a href="reset-password.html">Forgot your password?</a></p> </div> <?php require MAZE_PATH . 'data/compile/manage/inc/script.cmp.php' ?> <script> $(function() { $("#login").bind("keydown",function(e){ var theEvent = e || window.event; var code = theEvent.keyCode || theEvent.which || theEvent.charCode; if (code == 13) { $("#login").submit(); } }); }); </script> </body> </html>
|