Sindbad~EG File Manager

Current Path : /home/numerotech/mcinfo.numerotech.com/mc_info_update/core/templates/images/
Upload File :
Current File : //home/numerotech/mcinfo.numerotech.com/mc_info_update/core/templates/images/upload.html

<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title></title>
	<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
      <link href="static/css/style.css" rel="stylesheet">
      <style type="text/css">

        .radiobox
        {

        }
        .radiobutton
        {
          border: 1px solid blue; 
          border-radius: 5px;
          background: #3bffeb;
          padding: 10px;
          margin-bottom: 10px ;
          /*border-bottom: 1px solid blue; */
        }
        
        .radiobutton input[type='radio'] { 
             transform: scale(2); 
             margin-right: 10px;
         }
      </style>
</head>
<body>

<form method="POST" action="{{url_for('user.Upload')}}" enctype="multipart/form-data">
<div class="row" id="registration_form">
               
               <div class="col-md-4 offset-md-4 col-sm-10 offset-sm-1 box p-4 form-container">
                  
                  <div class="row">
                     <div class="col-md-12">
                       
                    </div>
                  </div>

                  <h4 class="text-center">Delegate Upload Images  </h4>

                  <div class="row">
                     <div class="col-md-12">
                        <div class="form-group">
                           <label>Name <span class="mand">*</span> <br></label>
                           <input type="name" class="form-control" name="name" id="name" placeholder="Enter Name" value="" required>
                        </div>
                     </div>
                  </div>
                  

                  <div class="row">
                     <div class="col-md-12">
                        <div class="form-group">
                           <label>Select image to upload: <span class="mand">*</span> <br></label>
                          <input type="file" name="file" >
                        </div>
                     </div>
                  </div>


                  <div class="row">
                     <div class="col-md-12">
                        <div class="form-group">
                           <button type="submit" class="btn btn-primary btn-lg btn-block text-uppercase"  id="submit_btn">Submit</button>
                        </div>
                     </div>
                  </div>
                  
               </div>
            </div>
</form>
<script type="text/javascript">


   
   $(document).ready(function(){


      $("#registration_form").validate({
             // in 'rules' user have to specify all the constraints for respective fields
             rules : {
                  file : "required",
                  name : {
                      required:true,
                       
                  },
 
                  
              },
         
              messages : {
                  
                  name : "Please enter the Name",
                  

              },


             });
  });
   
</script>
</body>
</html>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists