

<!-- Modal Add Task -->
{{-- <div class="modal fade" id="myModal2" tabindex="-1" role="dialog" aria-labelledby="gridSystemModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
            <h4 class="modal-title" id="gridSystemModalLabel">ADD TASK</h4>
          </div>
          <div class="modal-body">

            <form role="form" action="{{url('admin/add_task')}}" method="POST">
                {!! csrf_field() !!}
                <input type="hidden" name="proj_id" value="{{$project_id}}">

                <div class="form-group">
                    <label for="Add new Project">
                        New Task
                    </label>
                    <input name="name" class="form-control" id="new-project" placeholder="Add new task" required="" type="new-project">
                    </input>
                </div>
                <div class="form-group">
                    <label for="Add new Project">
                        Type
                    </label>
                    <select name="task_type" id="" class="form-control">
                        <option value="2">Normal</option>
                        <option value="1">Regular</option>
                    </select>
                </div>
                
                <div class="form-group">
                    <label for="Add new Project">
                        Description
                    </label>
                    <textarea name="description" class="form-control" id="editor1" placeholder="Description" rows="5"></textarea>
                </div> --}}
                {{-- <div class="form-group">
                    <label for="Add new Project">
                        Estimated Time(In hours)
                    </label>
                    <input name="estimated_time" class="form-control" id="new-project" required="" placeholder="Estimated time in hour" type="new-project">
                    </input>
                </div> --}}
          {{-- </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
            <button type="submit" class="btn btn-primary">Add</button>
          </div>
          </form>  
        </div>
    </div>
</div> --}}
<!-- modal add task finished -->

<!-- Edit comment MODAL -->
<div class="modal fade bs-example-modal-sm modal-edit" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel">
  <div class="modal-dialog modal-sm">
    <div class="modal-content">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
            <h4 class="modal-title" id="gridSystemModalLabel">Edit comment</h4>
        </div>
        <div class="modal-body">
            <input type="hidden" class="update-comment-id" value="">
            <textarea name="" class="update-comment form-control" id="" cols="2" rows=""></textarea>
        </div>
        <div class="modal-footer">
            <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
            <button type="button" class="btn btn-primary save-updated-comment">Update</button>
        </div>
    </div>
  </div>
</div>
<!-- Comment model finished -->

<!-- ATTATCHMENTSSS start -->
<div class="modal fade" tabindex="-1" id="att_modal" role="dialog">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">Attachment</h4>
      </div>
      <div class="modal-body">
        <form action="{{url('admin/add_file')}}" class="dropzone" id="my-awesome-dropzone">
            {!! csrf_field() !!}
            
            <input type="hidden" name="proj_id" class="cls-proj-id" value=""> 
        </form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default attatch-close-btn" data-dismiss="modal">Close</button>
      </div>
    </div>
  </div>
</div>
<!-- Proj attatchment finished -->

<!-- Add document as comment for task -->
<div class="modal fade" tabindex="-1" id="add_doc_task_modal" role="dialog">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">Task Attachment</h4>
      </div>
      <div class="modal-body">
        <form action="{{url('admin/add_task_doc')}}" class="dropzone" id="my-awesome-dropzone">
            {!! csrf_field() !!}
            
            <input type="hidden" name="task_id" class="cls-task-doc-id" value=""> 
        </form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default attatchment-doc-comment" data-dismiss="modal">Close</button>
      </div>
    </div>
  </div>
</div>
<!-- document add finished