<template>
    <div class="container">
        <div class="page-titleZone flex justify-between align-center">
            <p class="main-title flex80">데이터 베이스 연계목록</p>
            <PageNavigation />
        </div>
        <div class="content-box flex justify-between">
            <div class="right-content flex100">
                <div class="flex-column justify-between">
                    <div class="flex justify-end align-center flex5">
                        <div class="flex justify-end flex80">
                            <div class="search-bar">
                                <div class="flex justify-end align-center">
                                    <select name="" id="" class="square-select">
                                        <option value="all">전체</option>
                                    </select>
                                    <div class="search-square">
                                        <input type="text" class="square-input" placeholder="Search">
                                        <button class="square-button">
                                            <svg-icon type="mdi" :path="searchPath" class="square-icon"></svg-icon>
                                        </button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="table-zone flex90">
                        <div class="list-info flex justify-between align-center">
                            <div class="count-zone">
                                <p>총 <span>40</span>건 중 <span>01</span>건 선택</p>
                            </div>
                            <div class="cunt-selectZone">
                                <select name="" id="">
                                    <option value="">10개 보기</option>
                                    <option value="">20개 보기</option>
                                </select>
                            </div>
                        </div>
                        <table class="list-table">
                            <thead>
                                <tr>
                                    <th>No</th>
                                    <th>user ID</th>
                                    <th>이름</th>
                                    <th>생년월일</th>
                                    <th>성별</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr>
                                    <td>1</td>
                                    <td>test123</td>
                                    <td>홍길동</td>
                                    <td>1999.01.01</td>
                                    <td>여</td>
                                </tr>
                                <tr>
                                    <td>1</td>
                                    <td>test123</td>
                                    <td>홍길동</td>
                                    <td>1999.01.01</td>
                                    <td>여</td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="flex5">
                        <PaginationButton />
                        <div class="flex justify-end">
                            <button class="darkg-btn small-btn"
                                @click="createDataPost">연계정보 등록</button>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
</template>

<script>
import CodeList from '../../component/common/Component_CodeList.vue'

export default {
    data() {
        return {

        }
    },
    methods: {
      createDataPost : function(){
        this.$router.push('/insertDBConnection.page');
      }
    },
    watch: {

    },
    computed: {
        CodeList
    },
    components: {
        'CodeList': CodeList,
    },
}
</script>