modal_assign_task.blade.php 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. This modal is included with project_details.blade.php page -->
  2. <!-- Modal assign task -->
  3. <div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel">
  4. <div class="modal-dialog modal-lg">
  5. <div class="modal-content">
  6. <div class="modal-header">
  7. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  8. <h4 class="modal-title" id="gridSystemModalLabel">Assign Task</h4>
  9. </div>
  10. <div class="modal-body">
  11. <div class="row">
  12. <div class="col-md-7">
  13. <b>Assinged users:</b>
  14. <div class="assinged-users">
  15. </div>
  16. </div>
  17. <div class="col-md-5">
  18. <input type="hidden" name="id_task_id" id="id_task_id" value="">
  19. {{-- <div class="form-group">
  20. <label for="Add new Project">
  21. User
  22. </label>
  23. <select name="user_id" id="id_user_id" class="form-control cls-proj-user">
  24. </select>
  25. </div>
  26. <div class="form-group">
  27. <label for="Add new Project">
  28. Estimated Time(In Hours)
  29. </label>
  30. <input type="text" id="id_estimated_time" name="estimated_time" class="form-control">
  31. </div>
  32. <div class="form-group">
  33. <button class="btn btn-primary assign-task-user">Assign</button>
  34. </div> --}}
  35. </div>
  36. </div>
  37. <div class="row" style="margin-top: 50px;">
  38. <div class="col-md-12">
  39. <div style="margin-bottom:10px;">
  40. <b>Details:</b> <span class="cls-task-details"></span>
  41. </div>
  42. <!-- Add Comments ... -->
  43. <textarea class="form-control" name="comment_txt" id="comment_txt" cols="" rows="2" placeholder="Post comment here"></textarea>
  44. <button class="btn btn-success add-task-comment" style="margin-top:5px;">Post</button>
  45. <button class="btn btn-success add-task-comment-doc" style="margin-top:5px;" data-toggle="modal" data-target="#add_doc_task_modal">Attach Documnet</button>
  46. <br><br>
  47. <b>Comments:</b><br>
  48. <div class="comments-cls" style="height:400px;overflow:scroll;">
  49. </div>
  50. </div>
  51. </div>
  52. <div class="row">
  53. <div class="col-md-12">
  54. <br/>
  55. <b>Activity Logs:</b><br>
  56. <div class="show-logs" style="height:150px;overflow:scroll;">
  57. </div>
  58. </div>
  59. </div>
  60. </div>
  61. <div class="modal-footer">
  62. <div class="row">
  63. <div class="col-md-10">
  64. Change status to:
  65. <button data-id='2' class="btn btn-primary cls-change-created btn-xs">In-process</button>
  66. <span class="show-change-btn">
  67. <button data-id='3' class="btn btn-primary cls-change-created btn-xs">Completed</button>
  68. <button data-id='4' class="btn btn-primary cls-change-created btn-xs">Checking</button>
  69. <button data-id='5' class="btn btn-primary cls-change-created btn-xs">Bug-fixing</button>
  70. <button data-id='6' class="btn btn-primary cls-change-created btn-xs">Done</button>
  71. </span>
  72. </div>
  73. <div class="col-md-2">
  74. <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
  75. </div>
  76. </div>
  77. </div>
  78. </div>
  79. </div>
  80. </div>
  81. <!-- Assign task finished -->
  82. <!-- Modal Add Task -->
  83. {{-- <div class="modal fade" id="myModal2" tabindex="-1" role="dialog" aria-labelledby="gridSystemModalLabel">
  84. <div class="modal-dialog" role="document">
  85. <div class="modal-content">
  86. <div class="modal-header">
  87. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  88. <h4 class="modal-title" id="gridSystemModalLabel">ADD TASK</h4>
  89. </div>
  90. <div class="modal-body">
  91. <form role="form" action="{{url('client/add_task')}}" method="POST">
  92. {!! csrf_field() !!}
  93. <input type="hidden" name="proj_id" value="{{$project_id}}">
  94. <div class="form-group">
  95. <label for="Add new Project">
  96. New Task
  97. </label>
  98. <input name="name" class="form-control" id="new-project" placeholder="Add new task" required="" type="new-project">
  99. </input>
  100. </div>
  101. <div class="form-group">
  102. <label for="Add new Project">
  103. Type
  104. </label>
  105. <select name="task_type" id="" class="form-control">
  106. <option value="2">Normal</option>
  107. <option value="1">Regular</option>
  108. </select>
  109. </div>
  110. <div class="form-group">
  111. <label for="Add new Project">
  112. Description
  113. </label>
  114. <textarea name="description" class="form-control" id="editor1" placeholder="Description" rows="5"></textarea>
  115. </div> --}}
  116. {{-- <div class="form-group">
  117. <label for="Add new Project">
  118. Estimated Time(In hours)
  119. </label>
  120. <input name="estimated_time" class="form-control" id="new-project" required="" placeholder="Estimated time in hour" type="new-project">
  121. </input>
  122. </div> --}}
  123. {{-- </div>
  124. <div class="modal-footer">
  125. <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
  126. <button type="submit" class="btn btn-primary">Add</button>
  127. </div>
  128. </form>
  129. </div>
  130. </div>
  131. </div> --}}
  132. <!-- modal add task finished -->
  133. <!-- Edit comment MODAL -->
  134. <div class="modal fade bs-example-modal-sm modal-edit" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel">
  135. <div class="modal-dialog modal-sm">
  136. <div class="modal-content">
  137. <div class="modal-header">
  138. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  139. <h4 class="modal-title" id="gridSystemModalLabel">Edit comment</h4>
  140. </div>
  141. <div class="modal-body">
  142. <input type="hidden" class="update-comment-id" value="">
  143. <textarea name="" class="update-comment form-control" id="" cols="2" rows=""></textarea>
  144. </div>
  145. <div class="modal-footer">
  146. <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
  147. <button type="button" class="btn btn-primary save-updated-comment">Update</button>
  148. </div>
  149. </div>
  150. </div>
  151. </div>
  152. <!-- Comment model finished -->
  153. <!-- MODAL ATTATCHMENTSSS start -->
  154. <div class="modal fade" tabindex="-1" id="att_modal" role="dialog">
  155. <div class="modal-dialog" role="document">
  156. <div class="modal-content">
  157. <div class="modal-header">
  158. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  159. <h4 class="modal-title">Attachment</h4>
  160. </div>
  161. <div class="modal-body">
  162. <form action="{{url('client/add_file')}}" class="dropzone" id="my-awesome-dropzone">
  163. {!! csrf_field() !!}
  164. <input type="hidden" name="proj_id" class="cls-proj-id" value="">
  165. </form>
  166. </div>
  167. <div class="modal-footer">
  168. <button type="button" class="btn btn-default attatch-close-btn" data-dismiss="modal">Close</button>
  169. </div>
  170. </div>
  171. </div>
  172. </div>
  173. <!-- Proj attatchment finished -->
  174. <!-- Add document as comment for task -->
  175. <div class="modal fade" tabindex="-1" id="add_doc_task_modal" role="dialog">
  176. <div class="modal-dialog" role="document">
  177. <div class="modal-content">
  178. <div class="modal-header">
  179. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  180. <h4 class="modal-title">Task Attachment</h4>
  181. </div>
  182. <div class="modal-body">
  183. <form action="{{url('admin/add_task_doc')}}" class="dropzone" id="my-awesome-dropzone">
  184. {!! csrf_field() !!}
  185. <input type="hidden" name="task_id" class="cls-task-doc-id" value="">
  186. </form>
  187. </div>
  188. <div class="modal-footer">
  189. <button type="button" class="btn btn-default attatchment-doc-comment" data-dismiss="modal">Close</button>
  190. </div>
  191. </div>
  192. </div>
  193. </div>
  194. <!-- document add finished