edit_doc_required.blade.php 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. @extends('modal_pages.base')
  2. <style>
  3. .listFlag{
  4. height: 20px;
  5. border-radius: 50%;
  6. width: 20px;
  7. margin-right: 5px;
  8. }
  9. .btn1{
  10. background-color: #141639c4 !important;
  11. color:white !important;
  12. border-radius: 20px;
  13. box-shadow:none !important;
  14. }
  15. .btn1:hover{
  16. background: #ffff !important;
  17. color: #141639c4 !important;
  18. border-radius: 20px;
  19. border: 1px solid #141639c4;
  20. }
  21. .box-typical {
  22. font-size: 13px !important;
  23. }
  24. .box-typical {
  25. -webkit-border-radius: 4px;
  26. border-radius: 4px;
  27. background: #fff;
  28. border: solid 1px #d8e2e7;
  29. margin: 0 0 20px;
  30. }
  31. .box-white {
  32. background: #fff;
  33. border-radius: 3px;
  34. padding: 15px 20px;
  35. font-size: 13px;
  36. }
  37. .btn.btn-warning {
  38. background-color: #f29824 !important;
  39. border-color: #f29824 !important;
  40. color: #ffffff !important;
  41. }
  42. .text-right {
  43. text-align: right!important;
  44. }
  45. .cancel_btn_new {
  46. background-color: #ffc107 !important;
  47. border-width: 1px !important;
  48. border-color: #ffc107 !important;
  49. color: #fff !important;
  50. border-radius: 30px !important;
  51. padding: 4px 12px !important;
  52. height: 28px;
  53. display: inline-block;
  54. }
  55. .pretty {
  56. font-size: 14px;
  57. }
  58. .form-group {
  59. margin-bottom: 1rem;
  60. }
  61. .form-label {
  62. color: #5d5d5d !important;
  63. font-size: 12px;
  64. font-weight: 600;
  65. }
  66. .btn.btn-danger {
  67. background-color: #fa424a !important;
  68. border-color: #fa424a !important;
  69. color: #ffffff !important;
  70. }
  71. .row {
  72. display: -ms-flexbox;
  73. display: flex;
  74. -ms-flex-wrap: wrap;
  75. flex-wrap: wrap;
  76. margin-right: -15px;
  77. margin-left: -15px;
  78. }
  79. .form-control {
  80. padding: 5px 0.75rem !important;
  81. }
  82. </style>
  83. @section('main')
  84. <form class="modal-form" action="{{ url()->current() }}" method="POST">
  85. {{ csrf_field() }}
  86. <input type="hidden" name="id" value="{{$requirements->id}}">
  87. <input type="hidden" name="requirement_source" value="others"/>
  88. <div class="box-typical" id="others" style="padding: 10px 15px 0px; margin: 10px 15px 15px; border-radius: .25rem;">
  89. <div class="row">
  90. <div class="col">
  91. <span style="font-size: 13px; font-weight: 600; display: block; margin-bottom: 5px;">Add Document requirements</span>
  92. </div>
  93. </div>
  94. <div class="others_div mt-2" style="border-top: 1px solid #e9f0f3;">
  95. <div class="row">
  96. <div class="col-md-6 form-group mt-2">
  97. <label class="form-label">Requirement</label>
  98. <textarea class="form-control requirement_title" name="requirement_title" rows="1">{{$requirements->requirement_title}}</textarea>
  99. </div>
  100. <div class="col-md-5 form-group mt-2">
  101. <label class="form-label">Requirement Type</label>
  102. <div class="d-flex">
  103. <div class="pretty p-default p-curve">
  104. <input class="need_upload" type="radio" name="need_upload" @if($requirements->need_upload==1) checked @endif value="1" />
  105. <div class="state p-primary-o">
  106. <label>
  107. <small>Document</small>
  108. </label>
  109. </div>
  110. </div>
  111. <div class="pretty p-default p-curve">
  112. <input class="need_upload" type="radio" name="need_upload" @if($requirements->need_upload==0) checked @endif value="0" />
  113. <div class="state p-primary-o">
  114. <label>
  115. <small>Information</small>
  116. </label>
  117. </div>
  118. </div>
  119. </div>
  120. </div>
  121. </div>
  122. </div>
  123. </div>
  124. <div class="row">
  125. <div class="col">
  126. <button type="submit" class="btn btn-inline pull-right submit_button">
  127. Save
  128. </button>
  129. {{-- <button type="button" class="btn btn-inline pull-right btn-submit cancel_btn_new" data-dismiss="modal">
  130. Cancel
  131. </button> --}}
  132. </div>
  133. </div>
  134. </form>
  135. <script>
  136. $(function(){
  137. $('#modal_page_footer').hide();
  138. });
  139. </script>
  140. @endsection