Advertisement
dpsapao

PFSense Captive Portal: LOGOUT

Feb 9th, 2016
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.79 KB | None | 0 0
  1. <!DOCTYPE HTML>
  2. <html>
  3.     <head>
  4.         <title>asdd</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.        
  11.         <style>
  12.             #mainpanel{
  13.                background-color:yellow;
  14.                 box-shadow: 2px 2px 50px #000000;
  15.            }
  16.             .page-header{
  17.                 border-bottom: 1px solid #BFCFFF;
  18.            }
  19.         </style>
  20.        
  21.     </head>
  22.    
  23.     <body class="container-fluid">
  24.        
  25.         <div class="row">
  26.             <div class="col-sm-6 col-sm-offset-3">
  27.                 <div id="mainpanel" class="panel panel-warning bg-warning panel-rounded">
  28.                     <div class="panel-body text-center">
  29.                         <div>
  30.                            
  31.                         </div>
  32.                     </div>
  33.                     <div class="panel-body text-center">
  34.                         <h4 class="page-header" style="margin-top:-20px;">SOME TEXT HERE</h4>    
  35.                     </div>
  36.                     <div class="panel-body text-center">
  37.                        SOMETEXTHERE .. ..
  38.                         <div class="form-group text-center">
  39.                             <div class="col-sm-8 col-sm-offset-2">
  40.                                 <form method="post" action="LINK">
  41.                                     <input name="redirurl" type="hidden" value="$PORTAL_REDIRURL$">
  42.                                     <button type="submit" class="btn btn-primary btn-block" name="accept">
  43.                                         Continue
  44.                                     </button>
  45.                                 </form>
  46.                             </div>
  47.                             <br>
  48.                             <form class="form-horizontal" method="post" action="$PORTAL_ACTION$">
  49.                                 <div class="col-sm-8 col-sm-offset-2">
  50.                                     <input name="redirurl" type="hidden" value="#PORTAL_ACTION#">
  51.                                     <input name="logout_id" TYPE="hidden" VALUE="#PORTAL_SESSION#">
  52.                                     <button type="submit" class="btn btn-primary btn-block" name="logout">
  53.                                         Log-out
  54.                                     </button>  
  55.  
  56.                                 </div>
  57.                             </form>
  58.                         </div>
  59.                     </div>
  60.                 </div>
  61.             </div>
  62.         </div>
  63.     </body>
  64.             <!--<a href="/captiveportal-c.php">LOG-OUT</a>-->
  65. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement