Israat Zarin 1 year ago
parent
commit
ed6fa7c530
1 changed files with 8 additions and 6 deletions
  1. 8 6
      resources/views/teacher_profile.blade.php

+ 8 - 6
resources/views/teacher_profile.blade.php

@@ -971,17 +971,17 @@ tbody, td, tfoot, th, thead, tr {
                                                     <div class="single_glance_row mt-4">
                                                         <div style="display: flex;">
                                                             <div class="left" style="width: 90%;">
-                                                                <span class="title" style="font-size:11px;">Business 1</span>
+                                                                <span class="title" style="font-size:11px;" id="interest" contenteditable="true" style="padding: 5px;">Business 1</span>
                                                             </div>
-                                                            <div class="right" style="width: 10%;">
+                                                            <!-- <div class="right" style="width: 10%;">
                                                                 <span class="title" style="font-size:11px;">
                                                                     <a role="button" data-bs-toggle="collapse" data-bs-parent="#collapse" href="#collapse1" aria-expanded="true" aria-controls="collapse1">
-                                                                        <button type="button" class="btn btn2" data-toggle="collapse" data-target="#demo17" style="padding: 2px 5px !important; font-size: 11px;"><i class="fa fa-pencil"></i></button>
+                                                                        <button type="button" class="btn btn2" style="padding: 2px 5px !important; font-size: 11px;"><i class="fa fa-pencil"></i></button>
                                                                     </a>
                                                                 </span>
-                                                            </div>
+                                                            </div> -->
                                                         </div>
-                                                        <div class="col-md-12">
+                                                        <!-- <div class="col-md-12">
                                                             <div id="demo17" class="collapse mt-2">
                                                                 <div class="panel-body" style="padding:10px; background-color: #4b4c6824; border: 1px solid #e9e5e5; border-radius: 5px;">
                                                                     <form method="POST" action="">
@@ -1003,7 +1003,7 @@ tbody, td, tfoot, th, thead, tr {
                                                                     </form>
                                                                 </div>
                                                             </div> 
-                                                        </div> 
+                                                        </div>  -->
                                                     </div>                                    
                                                 </div> 
                                             </div>
@@ -1179,6 +1179,8 @@ tbody, td, tfoot, th, thead, tr {
                 }); 
             });
         });
+        let answer = document.getElementById("interest").contentEditable;
+        document.getElementById("demo").innerHTML = answer;
       </script>