<!DOCTYPE html>
<html lang="en">
<%- include('./partials/head') %>
<body >

  <%- include('./partials/nav') %>
    
   
  <div class="row" style=" margin-top: 100px;">
    <div class="col-lg-6 col-md-12 col-sm-12">
      <div class="">
      <img  src="/add.svg" alt="Picture" style="  margin-top: 100px; display: block; margin-left: auto; margin-right: auto; width: 80%; ">
      </div>
    </div>
    <div class="col-lg-6 col-md-12 col-sm-12">
      <h1 style="color: black; text-align: center; margin-top: 20px; font-weight: 800;">Add New Notes </h1>
      <div class="jumbotron" style="background-color: white;">
        <div class="container">

            <form action="/newnotes" method="POST" enctype="multipart/form-data">

            <div class="form-group">
              <label for="title">Notes Name</label>
              <input type="text" class="form-control" name="title" id="title" maxlength="19" placeholder="Enter Notes Topic Name | Length of title should be less than 20 characters" required>
            </div>
            
            <div class="form-group">
              <label for="title">Notes Type</label>
                  <select name="type" class="form-control form-control-lg">
                    <option>Note Book</option>
                    <option>Text Book</option>
                    <option>Sample or previous year paper</option>
                    <option>Cheet Sheet</option>
                    <option>Others</option>
                  </select>
            </div>

            <div class="form-group">
              <label for="title">Notes Domain</label>
                  <select name="domain" class="form-control form-control-lg">
                    <option>Aero Space Engineering</option>
                    <option>Chemical Engineering</option>
                    <option>Bio technology</option>
                    <option>Computer Science Engineering</option>
                    <option>Electronics and communications</option>
                    <option>Electrical and Electronics Engineering</option>
                    <option>Mechanical Engineering</option>
                    <option>Information Technology</option>
                    <option>Others</option>
                  </select>
            </div>

            <div class="form-group">
              <label for="document">Final Document / Notes </label>
              <input type="file" class="form-control" name="doc" required>
            </div>
            <div class="form-group" style="text-align: center;">
                <button type="submit" class="btn btn-outline-dark">Submit</button>
            </div>
            
          </form>


        </div>
    </div>

    </div>
  </div>


  <%- include('./partials/footer') %>


    <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
</body>
</html>