commit
This commit is contained in:
50
kngil/skin/product_mng.php
Normal file
50
kngil/skin/product_mng.php
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
// 슈퍼관리자 권한 체크
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>상품등록</title>
|
||||
|
||||
<link rel="stylesheet" href="/css/common.css">
|
||||
<link rel="stylesheet" href="/css/adm_style.css">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/vitmalina/w2ui@master/dist/w2ui.min.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="product-wrap">
|
||||
|
||||
<!-- 타이틀 -->
|
||||
<div class="product-header">
|
||||
상품등록
|
||||
<span class="btn-close" onclick="window.close()">X</span>
|
||||
</div>
|
||||
|
||||
<!-- 버튼 영역 -->
|
||||
<div class="product-toolbar">
|
||||
<button id="btnAdd">+</button>
|
||||
<button id="btnRemove">-</button>
|
||||
<button id="btnSave">저장</button>
|
||||
</div>
|
||||
|
||||
<!-- Grid -->
|
||||
<div id="productGrid" style="height:260px;"></div>
|
||||
|
||||
</div>
|
||||
|
||||
<script type="module">
|
||||
import { createProductGrid, addProductRow, removeProductRow, saveProducts }
|
||||
from '/js/adm_index.js'
|
||||
|
||||
const grid = createProductGrid('#productGrid')
|
||||
|
||||
document.getElementById('btnAdd').onclick = () => addProductRow()
|
||||
document.getElementById('btnRemove').onclick = () => removeProductRow()
|
||||
document.getElementById('btnSave').onclick = () => saveProducts()
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user