modal_assign_task.blade.php 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <!-- Modal Add Task -->
  2. {{-- <div class="modal fade" id="myModal2" tabindex="-1" role="dialog" aria-labelledby="gridSystemModalLabel">
  3. <div class="modal-dialog" role="document">
  4. <div class="modal-content">
  5. <div class="modal-header">
  6. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  7. <h4 class="modal-title" id="gridSystemModalLabel">ADD TASK</h4>
  8. </div>
  9. <div class="modal-body">
  10. <form role="form" action="{{url('admin/add_task')}}" method="POST">
  11. {!! csrf_field() !!}
  12. <input type="hidden" name="proj_id" value="{{$project_id}}">
  13. <div class="form-group">
  14. <label for="Add new Project">
  15. New Task
  16. </label>
  17. <input name="name" class="form-control" id="new-project" placeholder="Add new task" required="" type="new-project">
  18. </input>
  19. </div>
  20. <div class="form-group">
  21. <label for="Add new Project">
  22. Type
  23. </label>
  24. <select name="task_type" id="" class="form-control">
  25. <option value="2">Normal</option>
  26. <option value="1">Regular</option>
  27. </select>
  28. </div>
  29. <div class="form-group">
  30. <label for="Add new Project">
  31. Description
  32. </label>
  33. <textarea name="description" class="form-control" id="editor1" placeholder="Description" rows="5"></textarea>
  34. </div> --}}
  35. {{-- <div class="form-group">
  36. <label for="Add new Project">
  37. Estimated Time(In hours)
  38. </label>
  39. <input name="estimated_time" class="form-control" id="new-project" required="" placeholder="Estimated time in hour" type="new-project">
  40. </input>
  41. </div> --}}
  42. {{-- </div>
  43. <div class="modal-footer">
  44. <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
  45. <button type="submit" class="btn btn-primary">Add</button>
  46. </div>
  47. </form>
  48. </div>
  49. </div>
  50. </div> --}}
  51. <!-- modal add task finished -->
  52. <!-- Edit comment MODAL -->
  53. <div class="modal fade bs-example-modal-sm modal-edit" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel">
  54. <div class="modal-dialog modal-sm">
  55. <div class="modal-content">
  56. <div class="modal-header">
  57. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  58. <h4 class="modal-title" id="gridSystemModalLabel">Edit comment</h4>
  59. </div>
  60. <div class="modal-body">
  61. <input type="hidden" class="update-comment-id" value="">
  62. <textarea name="" class="update-comment form-control" id="" cols="2" rows=""></textarea>
  63. </div>
  64. <div class="modal-footer">
  65. <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
  66. <button type="button" class="btn btn-primary save-updated-comment">Update</button>
  67. </div>
  68. </div>
  69. </div>
  70. </div>
  71. <!-- Comment model finished -->
  72. <!-- ATTATCHMENTSSS start -->
  73. <div class="modal fade" tabindex="-1" id="att_modal" role="dialog">
  74. <div class="modal-dialog" role="document">
  75. <div class="modal-content">
  76. <div class="modal-header">
  77. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  78. <h4 class="modal-title">Attachment</h4>
  79. </div>
  80. <div class="modal-body">
  81. <form action="{{url('admin/add_file')}}" class="dropzone" id="my-awesome-dropzone">
  82. {!! csrf_field() !!}
  83. <input type="hidden" name="proj_id" class="cls-proj-id" value="">
  84. </form>
  85. </div>
  86. <div class="modal-footer">
  87. <button type="button" class="btn btn-default attatch-close-btn" data-dismiss="modal">Close</button>
  88. </div>
  89. </div>
  90. </div>
  91. </div>
  92. <!-- Proj attatchment finished -->
  93. <!-- Add document as comment for task -->
  94. <div class="modal fade" tabindex="-1" id="add_doc_task_modal" role="dialog">
  95. <div class="modal-dialog" role="document">
  96. <div class="modal-content">
  97. <div class="modal-header">
  98. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  99. <h4 class="modal-title">Task Attachment</h4>
  100. </div>
  101. <div class="modal-body">
  102. <form action="{{url('admin/add_task_doc')}}" class="dropzone" id="my-awesome-dropzone">
  103. {!! csrf_field() !!}
  104. <input type="hidden" name="task_id" class="cls-task-doc-id" value="">
  105. </form>
  106. </div>
  107. <div class="modal-footer">
  108. <button type="button" class="btn btn-default attatchment-doc-comment" data-dismiss="modal">Close</button>
  109. </div>
  110. </div>
  111. </div>
  112. </div>
  113. <!-- document add finished