Advertisement
dpsapao

PFSense Captive Portal: LOG-IN

Feb 9th, 2016
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.15 KB | None | 0 0
  1. <!DOCTYPE HTML>
  2. <html>
  3.     <head>
  4.         <title>Sign-In</title>
  5.         <meta charset="utf-8">
  6.         <meta name="viewport" content="width=device-width, initial-scale=1">
  7.         <script src="/captiveportal-bootstrap.js"></script>
  8.         <link rel="stylesheet" href="/captiveportal-bootstrap.css   ">
  9.         <link rel="shortcut icon" type="image/x-icon" href="/captiveportal-wifi6.ico"/>
  10.         <style>
  11.             #mainpanel{
  12.                background-color:yellow;
  13.                 box-shadow: 2px 2px 50px #000000;
  14.            }
  15.             .page-header{
  16.                 border-bottom: 1px solid #BFCFFF;
  17.            }
  18.         </style>
  19.     </head>
  20.     <body class="container-fluid">
  21.         <div class="row">
  22.             <div class="col-sm-6 col-sm-offset-3">
  23.                 <div id="mainpanel" class="panel panel-warning bg-warning panel-rounded">
  24.                     <div class="panel-body text-center">
  25.                         <div class="col-sm-6 col-sm-offset-3">
  26.                             <img class="img-responsive img-rounded center-block" src= "/PICTURE.png" />
  27.                         </div>
  28.                     </div>
  29.                     <div class="panel-body text-center">
  30.                         <h4 class="page-header" style="margin-top:-20px;"><b>Login Here</b></h4>    
  31.                     </div>
  32.                     <div class="panel-body text-center">
  33.                         <form class="form-horizontal" method="post" action="$PORTAL_ACTION$">
  34.                            
  35.                             <div class="form-group">
  36.                                 <label class="control-label col-sm-4">User-Email:</label>
  37.                                 <div class="col-sm-6">
  38.                                     <input type="text" class="form-control" name="auth_user"
  39.                                            placeholder="User-Email" id="auth_user"/>
  40.                                 </div>
  41.                             </div>
  42.                            
  43.                             <div class="form-group text-center">
  44.                                 <label class="control-label col-sm-4">Password:</label>
  45.                                 <div class="col-sm-6">
  46.                                     <input type="password" class="form-control" name="auth_pass"
  47.                                            placeholder="Password" id="auth_pass"/>
  48.                                 </div>
  49.                             </div>
  50.                            
  51.                             <input name="redirurl" type="hidden" value="$PORTAL_REDIRURL$">
  52.                            
  53.                             <div class="form-group text-center">
  54.                                 <div class="col-sm-8 col-sm-offset-2">
  55.                                     <button type="submnit" class="btn btn-primary btn-block" value="Log-in" name="accept">
  56.                                         Login
  57.                                     </button>
  58.                                 </div>
  59.                             </div>
  60.                         </form>
  61.                     </div>
  62.                 </div>
  63.             </div>
  64.         </div>
  65.     </body>
  66. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement