diff --git a/html/exhi/application/views/general/v_general_select.php b/html/exhi/application/views/general/v_general_select.php index 0e17ea7b3a89d37500141c4b222208d4510b6994..6f5e392789fc0e1fd03f6d819841d1f2d829ca42 100644 --- a/html/exhi/application/views/general/v_general_select.php +++ b/html/exhi/application/views/general/v_general_select.php @@ -63,10 +63,10 @@ body { /* cursor: pointer; */ } -.card:hover { +/* .card:hover { */ /* transform: scale(1.02); box-shadow: 0 10px 20px rgba(0, 0, 0, .12), 0 4px 8px rgba(0, 0, 0, .06); */ -} +/* } */ .section { padding: 40px 0; diff --git a/html/exhi/application/views/project/v_project_manage.php b/html/exhi/application/views/project/v_project_manage.php index 52ca129c352d19f327c959b7b706d6312777477b..6f91fc0e053f41d522d4f717e5dd101c40faf3fa 100644 --- a/html/exhi/application/views/project/v_project_manage.php +++ b/html/exhi/application/views/project/v_project_manage.php @@ -118,7 +118,7 @@ option { </div> </td> <td class="text-center"> - <a type="button" title="ดู" class="btn btn-default view" ><i class="fas fa-search"></i></a> + <a type="button" title="ดู" class="btn btn-default view" w><i class="fas fa-search"></i></a> <button type="button" title="แก้ไข" class="btn btn-default edit"><i class="fas fa-edit"></i></button> </td> </template> @@ -167,7 +167,7 @@ function create_table(data) { update_status(row.project_id, row.status) }) template_clone.querySelector('.edit').addEventListener('click', function(){ window.location.href = '<?php echo site_url().'/Project/show_project_edit/';?>'+row.project_id }) - template_clone.querySelector('.view').addEventListener('click', function(){ window.location.href = '<?php echo site_url().'/General/show_select/';?>'+row.project_id }) + template_clone.querySelector('.view').addEventListener('click', function(){ window.open('<?php echo site_url().'/General/show_select/';?>'+row.project_id) }) tr.appendChild(template_clone); table.appendChild(tr); diff --git a/html/exhi/application/views/project/v_project_manage_user.php b/html/exhi/application/views/project/v_project_manage_user.php index 01d72eebce32853ea64980f4c6a44c7180a89237..26116304038c764d262a27b1a8faa6274fca81a6 100644 --- a/html/exhi/application/views/project/v_project_manage_user.php +++ b/html/exhi/application/views/project/v_project_manage_user.php @@ -118,7 +118,7 @@ option { </div> </td> <td class="text-center"> - <a type="button" title="ดู" class="btn btn-default" ><i class="fas fa-search"></i></a> + <a type="button" title="ดู" class="btn btn-default view" ><i class="fas fa-search"></i></a> <button type="button" title="แก้ไข" class="btn btn-default edit"><i class="fas fa-edit"></i></button> </td> </template> @@ -167,6 +167,7 @@ function create_table(data) { update_status(row.project_id, row.status) }) template_clone.querySelector('.edit').addEventListener('click', function(){ window.location.href = '<?php echo site_url().'/Project/show_project_edit_user/';?>'+row.project_id }) + template_clone.querySelector('.view').addEventListener('click', function(){ window.open('<?php echo site_url().'/General/show_select/';?>'+row.project_id) }) tr.appendChild(template_clone); table.appendChild(tr); });