"checker"
Bootstrap 3.3.0 Snippet by zenix

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="col-sm-12"> <div class="panel panel-default"> <div class="panel-heading"> <h6 class="panel-title"> </h6> </div> <div class="panel-body"> <form action="/dell" method="post" class='form-vertical'> <div class="form-group"> <div class="row"> <div id="ml" class="col-sm-10"> <label for="mailpass" >mailpass:</label> <textarea name="mailpass" id="mailpass" rows="7" cols="7" class="form-control" placeholder="email@mail.com|password"></textarea> </div> <div id="sk" class="col-sm-4" style="display:none;"> <label for="socks" class="control-label">Socks 5 {{-- (<a href="javascript:void(0);" class="import-sock">Get Socks</a>) --}}:</label> <textarea name="socks" id="socks" rows="7" cols="7" class="form-control" placeholder="127.0.0.1:8080"></textarea> </div> <div class="control-group"> <label>Check options:</label> <div class="controls"> <label> <input type="checkbox" name="syssock" id="syssock" onclick="ShowHideDiv(this)"/> check with your socks </label> <label> <input type="checkbox" name="checkbox" id="email"/> Email </label> <label> <input type="checkbox" name="checkbox" checked="checked" id="nochange"/> Change sock if live </label> <label> <input type="checkbox" name="nosocks" id="nosocks"/>check without socks </label> </div> </div> </div> </div> <div class="form-actions"> Delimiter: <input type="text" name="delim" class="w20px" id="delim" value="|"/>  <div class="row"> <div class="col-md-4"> <button style="margin-top:5px" class="btn btn-primary" id="submit">Submit</button> <button style="margin-top:5px" class="btn btn-primary" id="stop">Stop</button> </div> </div> </div> </form> </div> <div id="check-progress" class="status button"> <div class="left check-amount"> Total Check: 0/0 </div> <div class="progress"> <div class="progress-bar progress-bar-success progress-bar-striped" role="progressbar" style="width: 0%;"> 0% </div> </div> </div> </div> <div id="result"> <div class="panel panel-default"> <div class="panel-heading"> <i class="fa fa-sign-language" style="color:#FF2D00" aria-hidden="true"></i> Check Result : </div> <div class="panel-body"> <ul class="nav nav-tabs"> <li class=""> <a href="#acc-live" data-toggle="tab"> <i class="fa fa-check-square-o"> </i> LIVE <span class="badge badge-success acc-live"> 0 </span> </a> </li> <li class=""> <a href="#acc-die" data-toggle="tab"> <i class="fa fa-ambulance"> </i> DIE <span class="badge badge-error acc-die"> 0 </span> </a> </li> <li class=""> <a href="#wrong-format" data-toggle="tab"> <i class="fa fa-warning"> </i> WRONG <span class="badge badge-warning wrong-format"> 0 </span> </a> </li> <li class=""> <a href="#socks-die" data-toggle="tab"> <i class="fa fa-minus-square"> </i> SOCKS DIE <span class="badge badge-info socks-die"> 0 </span> </a> </li> </ul> <hr> <div class="tab-content"> <div class="tab-pane fade table-responsive" id="acc-live"> </div> <div class="tab-pane fade table-responsive" id="acc-die"> </div> <div class="tab-pane fade table-responsive" id="wrong-format"> </div> <div class="tab-pane fade table-responsive" id="socks-die"> </div> </div> </div> </div> </div> </div> <script type="text/javascript"> var POST_URL = '{{ url('/acclist/check/'.$gate->gatename.'')}}'; var SOCK_URL = '{{asset('_sock')}}'; /* $(window).on('beforeunload', function(e){ return "Please save your data before leaving."; });*/ </script> <script type="text/javascript"> function ShowHideDiv(chkPassport) { var dvPassport = document.getElementById("sk"); dvPassport.style.display = chkPassport.checked ? "block" : "none"; if(dvPassport.style.display=="none"){ $("#ml").removeClass("col-sm-6"); $("#ml").addClass("col-sm-10"); } if(dvPassport.style.display=="block"){ $("#ml").removeClass("col-sm-10"); $("#ml").addClass("col-sm-6"); } } </script>

Related: See More


Questions / Comments: