Initial import from local backup (Documents-Playground/pakerpale)
This commit is contained in:
8
application/views/errors/cli/error_404.php
Normal file
8
application/views/errors/cli/error_404.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
echo "\nERROR: ",
|
||||
$heading,
|
||||
"\n\n",
|
||||
$message,
|
||||
"\n\n";
|
||||
8
application/views/errors/cli/error_db.php
Normal file
8
application/views/errors/cli/error_db.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
echo "\nDatabase error: ",
|
||||
$heading,
|
||||
"\n\n",
|
||||
$message,
|
||||
"\n\n";
|
||||
21
application/views/errors/cli/error_exception.php
Normal file
21
application/views/errors/cli/error_exception.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
|
||||
|
||||
An uncaught Exception was encountered
|
||||
|
||||
Type: <?php echo get_class($exception), "\n"; ?>
|
||||
Message: <?php echo $message, "\n"; ?>
|
||||
Filename: <?php echo $exception->getFile(), "\n"; ?>
|
||||
Line Number: <?php echo $exception->getLine(); ?>
|
||||
|
||||
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>
|
||||
|
||||
Backtrace:
|
||||
<?php foreach ($exception->getTrace() as $error): ?>
|
||||
<?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>
|
||||
File: <?php echo $error['file'], "\n"; ?>
|
||||
Line: <?php echo $error['line'], "\n"; ?>
|
||||
Function: <?php echo $error['function'], "\n\n"; ?>
|
||||
<?php endif ?>
|
||||
<?php endforeach ?>
|
||||
|
||||
<?php endif ?>
|
||||
8
application/views/errors/cli/error_general.php
Normal file
8
application/views/errors/cli/error_general.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
echo "\nERROR: ",
|
||||
$heading,
|
||||
"\n\n",
|
||||
$message,
|
||||
"\n\n";
|
||||
21
application/views/errors/cli/error_php.php
Normal file
21
application/views/errors/cli/error_php.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
|
||||
|
||||
A PHP Error was encountered
|
||||
|
||||
Severity: <?php echo $severity, "\n"; ?>
|
||||
Message: <?php echo $message, "\n"; ?>
|
||||
Filename: <?php echo $filepath, "\n"; ?>
|
||||
Line Number: <?php echo $line; ?>
|
||||
|
||||
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>
|
||||
|
||||
Backtrace:
|
||||
<?php foreach (debug_backtrace() as $error): ?>
|
||||
<?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>
|
||||
File: <?php echo $error['file'], "\n"; ?>
|
||||
Line: <?php echo $error['line'], "\n"; ?>
|
||||
Function: <?php echo $error['function'], "\n\n"; ?>
|
||||
<?php endif ?>
|
||||
<?php endforeach ?>
|
||||
|
||||
<?php endif ?>
|
||||
11
application/views/errors/cli/index.html
Normal file
11
application/views/errors/cli/index.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Forbidden</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Directory access is forbidden.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
64
application/views/errors/html/error_404.php
Normal file
64
application/views/errors/html/error_404.php
Normal file
@@ -0,0 +1,64 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
?><!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>404 Page Not Found</title>
|
||||
<style type="text/css">
|
||||
|
||||
::selection { background-color: #E13300; color: white; }
|
||||
::-moz-selection { background-color: #E13300; color: white; }
|
||||
|
||||
body {
|
||||
background-color: #fff;
|
||||
margin: 40px;
|
||||
font: 13px/20px normal Helvetica, Arial, sans-serif;
|
||||
color: #4F5155;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #003399;
|
||||
background-color: transparent;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #444;
|
||||
background-color: transparent;
|
||||
border-bottom: 1px solid #D0D0D0;
|
||||
font-size: 19px;
|
||||
font-weight: normal;
|
||||
margin: 0 0 14px 0;
|
||||
padding: 14px 15px 10px 15px;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: Consolas, Monaco, Courier New, Courier, monospace;
|
||||
font-size: 12px;
|
||||
background-color: #f9f9f9;
|
||||
border: 1px solid #D0D0D0;
|
||||
color: #002166;
|
||||
display: block;
|
||||
margin: 14px 0 14px 0;
|
||||
padding: 12px 10px 12px 10px;
|
||||
}
|
||||
|
||||
#container {
|
||||
margin: 10px;
|
||||
border: 1px solid #D0D0D0;
|
||||
box-shadow: 0 0 8px #D0D0D0;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 12px 15px 12px 15px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="container">
|
||||
<h1><?php echo $heading; ?></h1>
|
||||
<?php echo $message; ?>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
64
application/views/errors/html/error_db.php
Normal file
64
application/views/errors/html/error_db.php
Normal file
@@ -0,0 +1,64 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
?><!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Database Error</title>
|
||||
<style type="text/css">
|
||||
|
||||
::selection { background-color: #E13300; color: white; }
|
||||
::-moz-selection { background-color: #E13300; color: white; }
|
||||
|
||||
body {
|
||||
background-color: #fff;
|
||||
margin: 40px;
|
||||
font: 13px/20px normal Helvetica, Arial, sans-serif;
|
||||
color: #4F5155;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #003399;
|
||||
background-color: transparent;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #444;
|
||||
background-color: transparent;
|
||||
border-bottom: 1px solid #D0D0D0;
|
||||
font-size: 19px;
|
||||
font-weight: normal;
|
||||
margin: 0 0 14px 0;
|
||||
padding: 14px 15px 10px 15px;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: Consolas, Monaco, Courier New, Courier, monospace;
|
||||
font-size: 12px;
|
||||
background-color: #f9f9f9;
|
||||
border: 1px solid #D0D0D0;
|
||||
color: #002166;
|
||||
display: block;
|
||||
margin: 14px 0 14px 0;
|
||||
padding: 12px 10px 12px 10px;
|
||||
}
|
||||
|
||||
#container {
|
||||
margin: 10px;
|
||||
border: 1px solid #D0D0D0;
|
||||
box-shadow: 0 0 8px #D0D0D0;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 12px 15px 12px 15px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="container">
|
||||
<h1><?php echo $heading; ?></h1>
|
||||
<?php echo $message; ?>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
32
application/views/errors/html/error_exception.php
Normal file
32
application/views/errors/html/error_exception.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
?>
|
||||
|
||||
<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
||||
|
||||
<h4>An uncaught Exception was encountered</h4>
|
||||
|
||||
<p>Type: <?php echo get_class($exception); ?></p>
|
||||
<p>Message: <?php echo $message; ?></p>
|
||||
<p>Filename: <?php echo $exception->getFile(); ?></p>
|
||||
<p>Line Number: <?php echo $exception->getLine(); ?></p>
|
||||
|
||||
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>
|
||||
|
||||
<p>Backtrace:</p>
|
||||
<?php foreach ($exception->getTrace() as $error): ?>
|
||||
|
||||
<?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>
|
||||
|
||||
<p style="margin-left:10px">
|
||||
File: <?php echo $error['file']; ?><br />
|
||||
Line: <?php echo $error['line']; ?><br />
|
||||
Function: <?php echo $error['function']; ?>
|
||||
</p>
|
||||
<?php endif ?>
|
||||
|
||||
<?php endforeach ?>
|
||||
|
||||
<?php endif ?>
|
||||
|
||||
</div>
|
||||
64
application/views/errors/html/error_general.php
Normal file
64
application/views/errors/html/error_general.php
Normal file
@@ -0,0 +1,64 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
?><!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Error</title>
|
||||
<style type="text/css">
|
||||
|
||||
::selection { background-color: #E13300; color: white; }
|
||||
::-moz-selection { background-color: #E13300; color: white; }
|
||||
|
||||
body {
|
||||
background-color: #fff;
|
||||
margin: 40px;
|
||||
font: 13px/20px normal Helvetica, Arial, sans-serif;
|
||||
color: #4F5155;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #003399;
|
||||
background-color: transparent;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #444;
|
||||
background-color: transparent;
|
||||
border-bottom: 1px solid #D0D0D0;
|
||||
font-size: 19px;
|
||||
font-weight: normal;
|
||||
margin: 0 0 14px 0;
|
||||
padding: 14px 15px 10px 15px;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: Consolas, Monaco, Courier New, Courier, monospace;
|
||||
font-size: 12px;
|
||||
background-color: #f9f9f9;
|
||||
border: 1px solid #D0D0D0;
|
||||
color: #002166;
|
||||
display: block;
|
||||
margin: 14px 0 14px 0;
|
||||
padding: 12px 10px 12px 10px;
|
||||
}
|
||||
|
||||
#container {
|
||||
margin: 10px;
|
||||
border: 1px solid #D0D0D0;
|
||||
box-shadow: 0 0 8px #D0D0D0;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 12px 15px 12px 15px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="container">
|
||||
<h1><?php echo $heading; ?></h1>
|
||||
<?php echo $message; ?>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
33
application/views/errors/html/error_php.php
Normal file
33
application/views/errors/html/error_php.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
?>
|
||||
|
||||
<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
||||
|
||||
<h4>A PHP Error was encountered</h4>
|
||||
|
||||
<p>Severity: <?php echo $severity; ?></p>
|
||||
<p>Message: <?php echo $message; ?></p>
|
||||
<p>Filename: <?php echo $filepath; ?></p>
|
||||
<p>Line Number: <?php echo $line; ?></p>
|
||||
|
||||
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>
|
||||
|
||||
<p>Backtrace:</p>
|
||||
<?php foreach (debug_backtrace() as $error): ?>
|
||||
|
||||
<?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>
|
||||
|
||||
<p style="margin-left:10px">
|
||||
File: <?php echo $error['file'] ?><br />
|
||||
Line: <?php echo $error['line'] ?><br />
|
||||
Function: <?php echo $error['function'] ?>
|
||||
</p>
|
||||
|
||||
<?php endif ?>
|
||||
|
||||
<?php endforeach ?>
|
||||
|
||||
<?php endif ?>
|
||||
|
||||
</div>
|
||||
11
application/views/errors/html/index.html
Normal file
11
application/views/errors/html/index.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Forbidden</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Directory access is forbidden.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
11
application/views/errors/index.html
Normal file
11
application/views/errors/index.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Forbidden</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Directory access is forbidden.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
11
application/views/index.html
Normal file
11
application/views/index.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Forbidden</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Directory access is forbidden.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
80
application/views/login.php
Normal file
80
application/views/login.php
Normal file
@@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
|
||||
|
||||
<title>DS::Admin</title>
|
||||
<!-- Tell the browser to be responsive to screen width -->
|
||||
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
|
||||
<!-- Bootstrap 3.3.6 -->
|
||||
<link rel="stylesheet" href="/assets/alt/bootstrap/css/bootstrap.min.css">
|
||||
<!-- Font Awesome -->
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
|
||||
<!-- Ionicons -->
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
|
||||
<!-- Theme style -->
|
||||
<link rel="stylesheet" href="/assets/alt/dist/css/AdminLTE.min.css">
|
||||
<!-- iCheck -->
|
||||
<link rel="stylesheet" href="/assets/alt/plugins/iCheck/square/blue.css">
|
||||
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body class="hold-transition login-page">
|
||||
<div class="login-box">
|
||||
<div class="login-logo">
|
||||
<a href="/"><b>DS</b>Admin</a>
|
||||
</div>
|
||||
<!-- /.login-logo -->
|
||||
<div class="login-box-body">
|
||||
<p class="login-box-msg">Please login</p>
|
||||
|
||||
<form action="" method="post" class="login-form">
|
||||
<div class="form-group has-feedback">
|
||||
<input type="text" class="form-control" placeholder="Username" name="username">
|
||||
<span class="glyphicon glyphicon-user form-control-feedback"></span>
|
||||
</div>
|
||||
<div class="form-group has-feedback">
|
||||
<input type="password" class="form-control" placeholder="Password" name="passwd">
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<button type="submit" class="btn btn-primary btn-block btn-flat">Sign In</button>
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<!-- /.login-box-body -->
|
||||
</div>
|
||||
<!-- /.login-box -->
|
||||
|
||||
<!-- jQuery 2.2.3 -->
|
||||
<script src="/assets/alt/plugins/jQuery/jquery-2.2.3.min.js"></script>
|
||||
<!-- Bootstrap 3.3.6 -->
|
||||
<script src="/assets/alt/bootstrap/js/bootstrap.min.js"></script>
|
||||
<!-- iCheck -->
|
||||
<script src="/assets/alt/plugins/iCheck/icheck.min.js"></script>
|
||||
<script>
|
||||
$(function () {
|
||||
$('.login-form').on('submit',function(e) {
|
||||
e.preventDefault()
|
||||
if(!this.username.value) {
|
||||
this.username.focus()
|
||||
alert('사용자명을 입력해주세요!')
|
||||
}else if(!this.passwd.value) {
|
||||
this.passwd.focus()
|
||||
alert('비밀번호를 입력해주세요!')
|
||||
}else this.submit();
|
||||
}).find('input').eq(0).focus();
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
12
application/views/page.php
Normal file
12
application/views/page.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php $this->load->view('partial/top');?>
|
||||
<body class="hold-transition skin-blue sidebar-mini">
|
||||
<!-- Site wrapper -->
|
||||
<div class="wrapper">
|
||||
<?php $this->load->view('partial/header');?>
|
||||
<?php $this->load->view('partial/menu');?>
|
||||
<div class="content-wrapper">
|
||||
<section class="content"><?php require_once __DIR__. '/pages/'. $page. '.php'; ?></section>
|
||||
</div>
|
||||
<?php $this->load->view('partial/footer');?>
|
||||
</div>
|
||||
<?php $this->load->view('partial/bottom');?>
|
||||
81
application/views/pages/amazon/index.php
Normal file
81
application/views/pages/amazon/index.php
Normal file
@@ -0,0 +1,81 @@
|
||||
<div class="content-header row">
|
||||
<h1> Amazon </h1>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.modal-dialog {
|
||||
margin: 30px auto;
|
||||
}
|
||||
|
||||
.modal-body {
|
||||
position: relative;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.close {
|
||||
position: absolute;
|
||||
right: -30px;
|
||||
top: 0;
|
||||
z-index: 999;
|
||||
font-size: 2rem;
|
||||
font-weight: normal;
|
||||
color: #fff;
|
||||
opacity: 1;
|
||||
}
|
||||
</style>
|
||||
<div id="dsItemListTableTool">
|
||||
<div class="form-inline" role="form">
|
||||
<select class="form-control btn btn-default ds-market-category">
|
||||
<option value="">카테고리</option>
|
||||
<?php foreach ($categories as $c) echo '<option value="' . $c->id . '">' . $c->title . '</option>' ?>
|
||||
</select>
|
||||
|
||||
|
||||
<div class="input-group input-daterange">
|
||||
<input type="text" class="form-control">
|
||||
<div class="input-group-addon">to</div>
|
||||
<input type="text" class="form-control">
|
||||
</div>
|
||||
|
||||
|
||||
<input type="text" class="form-control keyword-search-input" name="keyword" placeholder="제목을 입력해주세요">
|
||||
|
||||
<button type="submit" class="btn btn-primary ds-search-btn">검색</button>
|
||||
<select class="form-control btn btn-default show-modify-select" data-basepath="/data/">
|
||||
<option value="">선택된 상품</option>
|
||||
|
||||
</select>
|
||||
|
||||
|
||||
<div class="input-group date">
|
||||
<button class="form-control btn btn-default" data-toggle="modal" data-target="#uploadModal">Upload CSV</button>
|
||||
<div class="input-group-addon"> OR </div>
|
||||
<input type="text" class="form-control ds-input-asin">
|
||||
<div class="input-group-addon">
|
||||
<span class="glyphicon glyphicon glyphicon-plus"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<button class="form-control btn btn-info show-export-excel">Excel</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<table id="show-table" class="order-table fill table-condensed all-ds-item-list" data-page-size="50" data-page-list="[50,100,250,500,1000]" data-toolbar="#dsItemListTableTool" data-method="post" data-side-pagination="server" data-pagination="true" data-show-export="true" data-export-types="['excel','sheet']" data-show-refresh="true" data-show-columns="true" data-pagination-v-align="both" data-click-to-select="true" data-sort-name="vcDateCreated" data-sort-order="desc" data-url="/ds/amazon/all" data-single-select="true">
|
||||
<thead>
|
||||
<tr>
|
||||
<th data-field="state" data-checkbox="true"></th>
|
||||
<th data-field="asin" data-align="left" data-sortable="true" data-formatter="DS.fn.AmazonItemAsinFormatter">ASIN</th>
|
||||
<th data-field="seller" data-align="left" data-sortable="true">Seller</th>
|
||||
<th data-field="img" data-align="left" data-sortable="true" data-formatter="DS.fn.AmazonItemImageFormatter">Image</th>
|
||||
<th data-field="title" data-align="left" data-sortable="true" data-formatter="DS.fn.AmazonItemTitleFormatter">Title</th>
|
||||
<th data-field="stock" data-align="left" data-sortable="true">Stock</th>
|
||||
<th data-field="price" data-align="left" data-sortable="true">Price</th>
|
||||
<th data-field="categoryLink" data-align="left" data-sortable="true" data-formatter="DS.fn.AmazonItemCategoryFormatter">AMZ Category</th>
|
||||
<th data-field="created_at" data-align="center" data-width="150" data-sortable="true">Updated</th>
|
||||
<th data-field="id" data-width="50" data-align="center" data-formatter="DS.fn.operateFormatter" data-events="DS.fn.amazonTableOperateEvents">Item Operate</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
<?php $this->load->view('pages/amazon/item_modal') ?>
|
||||
<form class="export-hide hide" action="/data/export" method="post"><input type="text" name="videos"></form>
|
||||
217
application/views/pages/amazon/item_modal.php
Normal file
217
application/views/pages/amazon/item_modal.php
Normal file
@@ -0,0 +1,217 @@
|
||||
<!-- Modal -->
|
||||
<div class="modal fade" id="amazonItemModal" role="dialog" aria-labelledby="amazonItemModalLabel">
|
||||
<div class="modal-dialog modal-lg" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title" id="amazonItemModalLabel">Product Info</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="col-sm-12">
|
||||
<form class="form-horizontal">
|
||||
<input type="text" name="videos" class="hide">
|
||||
<div class="form-group"></div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-1 control-label">Title</label>
|
||||
<div class="col-sm-11">
|
||||
<input type="text" class="form-control ds-amz-title">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-1 control-label">ASIN</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control ds-amz-asin">
|
||||
</div>
|
||||
|
||||
<label class="col-sm-1 control-label">Price</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control ds-amz-price">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label">AMZ Category</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" class="form-control ds-amz-category" readonly>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label">Coupang Category</label>
|
||||
<div class="col-sm-10">
|
||||
<select class="form-control btn btn-default ds-coupang-category-select">
|
||||
<option value="">Select Category</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-sm-12">
|
||||
<textarea id="amazonProductDetail"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group ds-item-attributes">
|
||||
<label class="col-sm-3">Legal Customer Notification</label>
|
||||
<div class="col-sm-12">
|
||||
<!-- Nav tabs -->
|
||||
<ul class="nav nav-tabs" role="tablist">
|
||||
<li role="presentation" class="active"><a href=".ds-coupang-attributes" aria-controls="ds-coupang-attributes" role="tab" data-toggle="tab">Attributes</a></li>
|
||||
<li role="presentation"><a href=".ds-coupang-notification" aria-controls="ds-coupang-notifications" role="tab" data-toggle="tab">Notifications</a></li>
|
||||
</ul>
|
||||
|
||||
<!-- Tab panes -->
|
||||
<div class="tab-content">
|
||||
<div role="tabpanel" class="tab-pane active ds-coupang-attributes">
|
||||
<div style="margin: 10px 0">
|
||||
<div class="ds-coupang-attribute-names" style="margin-top:10px">
|
||||
<table class="table table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Name</th>
|
||||
<th scope="col">Value</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr style="display:none">
|
||||
<td>sample</th>
|
||||
<td><input type="text" value="상세정보 별도 표기"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div role="tabpanel" class="tab-pane ds-coupang-notification">
|
||||
<div style="margin: 10px 0">
|
||||
<select class="form-control">
|
||||
<option value="">Choose Notification Category</option>
|
||||
</select>
|
||||
<div class="ds-coupang-notification-names" style="margin-top:10px">
|
||||
<table class="table table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Name</th>
|
||||
<th scope="col">Value</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr style="display:none">
|
||||
<td>sample</th>
|
||||
<td><input type="text" value="상세정보 별도 표기"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer selamat-text-center">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">취소</button>
|
||||
<button type="button" class="btn btn-primary ds-send-newitem-coupang">저장</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="https://cdn.tiny.cloud/1/tr5ev698ebf9vypaelbown9i9fbs39ylgx1homhnby9b9z1o/tinymce/5/tinymce.min.js"></script>
|
||||
<script>
|
||||
tinymce.init({
|
||||
selector: 'textarea#amazonProductDetail',
|
||||
plugins: 'print preview fullpage paste importcss searchreplace autolink autosave save directionality code visualblocks visualchars fullscreen image link media template codesample table charmap hr pagebreak nonbreaking anchor toc insertdatetime advlist lists wordcount imagetools textpattern noneditable help charmap quickbars emoticons',
|
||||
imagetools_cors_hosts: ['picsum.photos'],
|
||||
menubar: 'file edit view insert format tools table help',
|
||||
toolbar: 'undo redo | bold italic underline strikethrough | fontselect fontsizeselect formatselect | alignleft aligncenter alignright alignjustify | outdent indent | numlist bullist | forecolor backcolor removeformat | pagebreak | charmap emoticons | fullscreen preview save print | insertfile image media template link anchor codesample | ltr rtl',
|
||||
toolbar_sticky: true,
|
||||
autosave_ask_before_unload: true,
|
||||
autosave_interval: "30s",
|
||||
autosave_prefix: "{path}{query}-{id}-",
|
||||
autosave_restore_when_empty: false,
|
||||
autosave_retention: "2m",
|
||||
image_advtab: true,
|
||||
content_css: [
|
||||
'//fonts.googleapis.com/css?family=Lato:300,300i,400,400i',
|
||||
'//www.tiny.cloud/css/codepen.min.css'
|
||||
],
|
||||
link_list: [{
|
||||
title: 'My page 1',
|
||||
value: 'http://www.tinymce.com'
|
||||
},
|
||||
{
|
||||
title: 'My page 2',
|
||||
value: 'http://www.moxiecode.com'
|
||||
}
|
||||
],
|
||||
image_list: [{
|
||||
title: 'My page 1',
|
||||
value: 'http://www.tinymce.com'
|
||||
},
|
||||
{
|
||||
title: 'My page 2',
|
||||
value: 'http://www.moxiecode.com'
|
||||
}
|
||||
],
|
||||
image_class_list: [{
|
||||
title: 'None',
|
||||
value: ''
|
||||
},
|
||||
{
|
||||
title: 'Some class',
|
||||
value: 'class-name'
|
||||
}
|
||||
],
|
||||
importcss_append: true,
|
||||
height: 400,
|
||||
file_picker_callback: function(callback, value, meta) {
|
||||
/* Provide file and text for the link dialog */
|
||||
if (meta.filetype === 'file') {
|
||||
callback('https://www.google.com/logos/google.jpg', {
|
||||
text: 'My text'
|
||||
});
|
||||
}
|
||||
|
||||
/* Provide image and alt text for the image dialog */
|
||||
if (meta.filetype === 'image') {
|
||||
callback('https://www.google.com/logos/google.jpg', {
|
||||
alt: 'My alt text'
|
||||
});
|
||||
}
|
||||
|
||||
/* Provide alternative source and posted for the media dialog */
|
||||
if (meta.filetype === 'media') {
|
||||
callback('movie.mp4', {
|
||||
source2: 'alt.ogg',
|
||||
poster: 'https://www.google.com/logos/google.jpg'
|
||||
});
|
||||
}
|
||||
},
|
||||
templates: [{
|
||||
title: 'New Table',
|
||||
description: 'creates a new table',
|
||||
content: '<div class="mceTmpl"><table width="98%%" border="0" cellspacing="0" cellpadding="0"><tr><th scope="col"> </th><th scope="col"> </th></tr><tr><td> </td><td> </td></tr></table></div>'
|
||||
},
|
||||
{
|
||||
title: 'Starting my story',
|
||||
description: 'A cure for writers block',
|
||||
content: 'Once upon a time...'
|
||||
},
|
||||
{
|
||||
title: 'New list with dates',
|
||||
description: 'New List with dates',
|
||||
content: '<div class="mceTmpl"><span class="cdate">cdate</span><br /><span class="mdate">mdate</span><h2>My List</h2><ul><li></li><li></li></ul></div>'
|
||||
}
|
||||
],
|
||||
template_cdate_format: '[Date Created (CDATE): %m/%d/%Y : %H:%M:%S]',
|
||||
template_mdate_format: '[Date Modified (MDATE): %m/%d/%Y : %H:%M:%S]',
|
||||
height: 600,
|
||||
image_caption: true,
|
||||
quickbars_selection_toolbar: 'bold italic | quicklink h2 h3 blockquote quickimage quicktable',
|
||||
noneditable_noneditable_class: "mceNonEditable",
|
||||
toolbar_drawer: 'sliding',
|
||||
contextmenu: "link image imagetools table",
|
||||
});
|
||||
</script>
|
||||
89
application/views/pages/coupang/index.php
Normal file
89
application/views/pages/coupang/index.php
Normal file
@@ -0,0 +1,89 @@
|
||||
<div class="content-header row">
|
||||
<h1> Coupang </h1>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.modal-dialog {
|
||||
margin: 30px auto;
|
||||
}
|
||||
|
||||
.modal-body {
|
||||
position: relative;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.close {
|
||||
position: absolute;
|
||||
right: -30px;
|
||||
top: 0;
|
||||
z-index: 999;
|
||||
font-size: 2rem;
|
||||
font-weight: normal;
|
||||
color: #fff;
|
||||
opacity: 1;
|
||||
}
|
||||
</style>
|
||||
<div id="dsItemListTableTool">
|
||||
<div class="form-inline" role="form">
|
||||
<select class="form-control btn btn-default ds-market-category">
|
||||
<option value="">카테고리</option>
|
||||
<?php foreach ($categories as $c) echo '<option value="' . $c->id . '">' . $c->title . '</option>' ?>
|
||||
</select>
|
||||
|
||||
|
||||
<div class="input-group input-daterange">
|
||||
<input type="text" class="form-control">
|
||||
<div class="input-group-addon">to</div>
|
||||
<input type="text" class="form-control">
|
||||
</div>
|
||||
|
||||
|
||||
<input type="text" class="form-control keyword-search-input" name="keyword" placeholder="제목을 입력해주세요">
|
||||
|
||||
<button type="submit" class="btn btn-primary ds-search-btn">검색</button>
|
||||
<select class="form-control btn btn-default show-modify-select" data-basepath="/data/">
|
||||
<option value="">선택된 상품</option>
|
||||
|
||||
</select>
|
||||
|
||||
|
||||
<div class="input-group date">
|
||||
<button class="form-control btn btn-default" data-toggle="modal" data-target="#uploadModal">Upload CSV</button>
|
||||
<div class="input-group-addon"> OR </div>
|
||||
<input type="text" class="form-control ds-input-asin">
|
||||
<div class="input-group-addon">
|
||||
<span class="glyphicon glyphicon glyphicon-plus"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<button class="form-control btn btn-info show-export-excel">Excel</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<table id="show-table" class="order-table fill table-condensed all-ds-item-list" data-page-size="50" data-page-list="[50,100,250,500,1000]" data-toolbar="#dsItemListTableTool" data-method="post" data-side-pagination="server" data-pagination="true" data-show-export="true" data-export-types="['excel','sheet']" data-show-refresh="true" data-show-columns="true" data-pagination-v-align="both" data-click-to-select="true" data-sort-name="vcDateCreated" data-sort-order="desc" data-url="/ds/coupang/all">
|
||||
<thead>
|
||||
<tr>
|
||||
<th data-field="state" data-checkbox="true"></th>
|
||||
<th data-field="sellerProductId" data-align="left" data-sortable="true">상품번호</th>
|
||||
<th data-field="sellerProductName" data-align="left" data-sortable="true">상품명</th>
|
||||
<th data-field="displayCategoryCode" data-align="left" data-sortable="true">표시카테고리</th>
|
||||
<th data-field="categoryId" data-align="left" data-sortable="true">카테고리</th>
|
||||
<th data-field="productId" data-align="left" data-sortable="true">상품코드</th>
|
||||
<th data-field="vendorId" data-align="left" data-sortable="true">업체코드</th>
|
||||
<th data-field="mdId" data-align="left" data-sortable="true">관리자코드</th>
|
||||
<th data-field="mdName" data-align="left" data-sortable="true">관리자명</th>
|
||||
<th data-field="saleStartedAt" data-align="left" data-sortable="true">판매시작일</th>
|
||||
<th data-field="saleEndeddAt" data-align="left" data-sortable="true">판매종료일</th>
|
||||
<th data-field="brand" data-align="left" data-sortable="true">브랜드</th>
|
||||
<th data-field="statusName" data-align="left" data-sortable="true">상태</th>
|
||||
<th data-field="createdAt" data-align="center" data-width="150" data-sortable="true">등록일</th>
|
||||
<th data-field="id" data-width="50" data-align="center" data-formatter="DS.fn.operateFormatter" data-events="DS.fn.amazonTableOperateEvents">변경</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
</table>
|
||||
|
||||
<?php $this->load->view('pages/amazon/item_modal') ?>
|
||||
|
||||
<form class="export-hide hide" action="/data/export" method="post"><input type="text" name="videos"></form>
|
||||
90
application/views/pages/coupang/item_modal.php
Normal file
90
application/views/pages/coupang/item_modal.php
Normal file
@@ -0,0 +1,90 @@
|
||||
<!-- Modal -->
|
||||
<div class="modal fade" id="amazonItemModal" tabindex="-1" role="dialog" aria-labelledby="amazonItemModalLabel">
|
||||
<div class="modal-dialog modal-lg" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title" id="amazonItemModalLabel">상품정보 변경</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="row col-sm-12">
|
||||
<form class="form-horizontal">
|
||||
<input type="text" name="videos" class="hide">
|
||||
<div class="form-group"></div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-1 control-label">Title</label>
|
||||
<div class="col-sm-11">
|
||||
<input type="text" class="form-control ds-amz-title">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-1 control-label">ASIN</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control ds-amz-asin">
|
||||
</div>
|
||||
|
||||
<label class="col-sm-2 control-label">AMZ Category</label>
|
||||
<div class="col-sm-3">
|
||||
<input type="text" class="form-control ds-amz-category">
|
||||
</div>
|
||||
|
||||
<label class="col-sm-1 control-label">Price</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control ds-amz-price">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label"></label>
|
||||
<div class="col-sm-5">
|
||||
<select name="moveOrCopy" class="form-control btn btn-default">
|
||||
<option value="">작업유형</option>
|
||||
<option value="move">이동</option>
|
||||
<option value="copy">복사</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">앱타입</label>
|
||||
<div class="col-sm-5">
|
||||
<select name="appType" class="form-control app-type-select">
|
||||
<option value="">앱타입</option>
|
||||
<?php foreach ($apptypes as $a) echo '<option value="' . $a->id . '">' . $a->name . '</option>' ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">앱이름</label>
|
||||
<div class="col-sm-5">
|
||||
<select name="app" class="form-control app-name-select">
|
||||
<option value="">앱이름</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">1차 카테고리</label>
|
||||
<div class="col-sm-5">
|
||||
<select name="parent" class="form-control category-parent-select">
|
||||
<option value="">1차 카테고리</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">2차 카테고리</label>
|
||||
<div class="col-sm-5">
|
||||
<select name="children" class="form-control category-children-select">
|
||||
<option value="">2차 카테고리</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer selamat-text-center">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">취소</button>
|
||||
<button type="button" class="btn btn-primary video-movecopy-category-target-modal">저장</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
89
application/views/pages/orders/index.php
Normal file
89
application/views/pages/orders/index.php
Normal file
@@ -0,0 +1,89 @@
|
||||
<div class="content-header row">
|
||||
<h1> Orders </h1>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.modal-dialog {
|
||||
margin: 30px auto;
|
||||
}
|
||||
|
||||
.modal-body {
|
||||
position: relative;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.close {
|
||||
position: absolute;
|
||||
right: -30px;
|
||||
top: 0;
|
||||
z-index: 999;
|
||||
font-size: 2rem;
|
||||
font-weight: normal;
|
||||
color: #fff;
|
||||
opacity: 1;
|
||||
}
|
||||
</style>
|
||||
<div id="dsItemListTableTool">
|
||||
<div class="form-inline" role="form">
|
||||
<select class="form-control btn btn-default ds-market-category">
|
||||
<option value="">카테고리</option>
|
||||
<?php foreach ($categories as $c) echo '<option value="' . $c->id . '">' . $c->title . '</option>' ?>
|
||||
</select>
|
||||
|
||||
|
||||
<div class="input-group input-daterange">
|
||||
<input type="text" class="form-control">
|
||||
<div class="input-group-addon">to</div>
|
||||
<input type="text" class="form-control">
|
||||
</div>
|
||||
|
||||
|
||||
<input type="text" class="form-control keyword-search-input" name="keyword" placeholder="제목을 입력해주세요">
|
||||
|
||||
<button type="submit" class="btn btn-primary ds-search-btn">검색</button>
|
||||
<select class="form-control btn btn-default show-modify-select" data-basepath="/data/">
|
||||
<option value="">선택된 상품</option>
|
||||
|
||||
</select>
|
||||
|
||||
|
||||
<div class="input-group date">
|
||||
<button class="form-control btn btn-default" data-toggle="modal" data-target="#uploadModal">Upload CSV</button>
|
||||
<div class="input-group-addon"> OR </div>
|
||||
<input type="text" class="form-control ds-input-asin">
|
||||
<div class="input-group-addon">
|
||||
<span class="glyphicon glyphicon glyphicon-plus"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<button class="form-control btn btn-info show-export-excel">Excel</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<table id="show-table" class="order-table fill table-condensed all-ds-item-list" data-page-size="50" data-page-list="[50,100,250,500,1000]" data-toolbar="#dsItemListTableTool" data-method="post" data-side-pagination="server" data-pagination="true" data-show-export="true" data-export-types="['excel','sheet']" data-show-refresh="true" data-show-columns="true" data-pagination-v-align="both" data-click-to-select="true" data-sort-name="vcDateCreated" data-sort-order="desc" data-url="/ds/coupang/all">
|
||||
<thead>
|
||||
<tr>
|
||||
<th data-field="state" data-checkbox="true"></th>
|
||||
<th data-field="sellerProductId" data-align="left" data-sortable="true">상품번호</th>
|
||||
<th data-field="sellerProductName" data-align="left" data-sortable="true">상품명</th>
|
||||
<th data-field="displayCategoryCode" data-align="left" data-sortable="true">표시카테고리</th>
|
||||
<th data-field="categoryId" data-align="left" data-sortable="true">카테고리</th>
|
||||
<th data-field="productId" data-align="left" data-sortable="true">상품코드</th>
|
||||
<th data-field="vendorId" data-align="left" data-sortable="true">업체코드</th>
|
||||
<th data-field="mdId" data-align="left" data-sortable="true">관리자코드</th>
|
||||
<th data-field="mdName" data-align="left" data-sortable="true">관리자명</th>
|
||||
<th data-field="saleStartedAt" data-align="left" data-sortable="true">판매시작일</th>
|
||||
<th data-field="saleEndeddAt" data-align="left" data-sortable="true">판매종료일</th>
|
||||
<th data-field="brand" data-align="left" data-sortable="true">브랜드</th>
|
||||
<th data-field="statusName" data-align="left" data-sortable="true">상태</th>
|
||||
<th data-field="createdAt" data-align="center" data-width="150" data-sortable="true">등록일</th>
|
||||
<th data-field="id" data-width="50" data-align="center" data-formatter="DS.fn.operateFormatter" data-events="DS.fn.amazonTableOperateEvents">변경</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
</table>
|
||||
|
||||
<?php $this->load->view('pages/amazon/item_modal') ?>
|
||||
|
||||
<form class="export-hide hide" action="/data/export" method="post"><input type="text" name="videos"></form>
|
||||
90
application/views/pages/orders/item_modal.php
Normal file
90
application/views/pages/orders/item_modal.php
Normal file
@@ -0,0 +1,90 @@
|
||||
<!-- Modal -->
|
||||
<div class="modal fade" id="amazonItemModal" tabindex="-1" role="dialog" aria-labelledby="amazonItemModalLabel">
|
||||
<div class="modal-dialog modal-lg" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title" id="amazonItemModalLabel">상품정보 변경</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="row col-sm-12">
|
||||
<form class="form-horizontal">
|
||||
<input type="text" name="videos" class="hide">
|
||||
<div class="form-group"></div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-1 control-label">Title</label>
|
||||
<div class="col-sm-11">
|
||||
<input type="text" class="form-control ds-amz-title">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-1 control-label">ASIN</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control ds-amz-asin">
|
||||
</div>
|
||||
|
||||
<label class="col-sm-2 control-label">AMZ Category</label>
|
||||
<div class="col-sm-3">
|
||||
<input type="text" class="form-control ds-amz-category">
|
||||
</div>
|
||||
|
||||
<label class="col-sm-1 control-label">Price</label>
|
||||
<div class="col-sm-2">
|
||||
<input type="text" class="form-control ds-amz-price">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label"></label>
|
||||
<div class="col-sm-5">
|
||||
<select name="moveOrCopy" class="form-control btn btn-default">
|
||||
<option value="">작업유형</option>
|
||||
<option value="move">이동</option>
|
||||
<option value="copy">복사</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">앱타입</label>
|
||||
<div class="col-sm-5">
|
||||
<select name="appType" class="form-control app-type-select">
|
||||
<option value="">앱타입</option>
|
||||
<?php foreach ($apptypes as $a) echo '<option value="' . $a->id . '">' . $a->name . '</option>' ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">앱이름</label>
|
||||
<div class="col-sm-5">
|
||||
<select name="app" class="form-control app-name-select">
|
||||
<option value="">앱이름</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">1차 카테고리</label>
|
||||
<div class="col-sm-5">
|
||||
<select name="parent" class="form-control category-parent-select">
|
||||
<option value="">1차 카테고리</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-3 control-label">2차 카테고리</label>
|
||||
<div class="col-sm-5">
|
||||
<select name="children" class="form-control category-children-select">
|
||||
<option value="">2차 카테고리</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer selamat-text-center">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">취소</button>
|
||||
<button type="button" class="btn btn-primary video-movecopy-category-target-modal">저장</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
15
application/views/partial/bottom.php
Normal file
15
application/views/partial/bottom.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<script src="/assets/alt/plugins/jQuery/jquery-2.2.3.min.js"></script>
|
||||
<script src="/assets/alt/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script language="javascript" src="/assets/js/select2.min.js"></script>
|
||||
<script language="javascript" src="/assets/js/bootbox.js"></script>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.11.0/bootstrap-table.min.js"></script>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.11.0/locale/bootstrap-table-ko-KR.min.js"></script>
|
||||
<script src="/assets/js/show.js?t=<?php echo time() ?>"></script>
|
||||
<script src="/assets/js/dom2img.js?t=<?php echo time() ?>"></script>
|
||||
<script src="/assets/js/ds.js?t=<?php echo time() ?>"></script>
|
||||
<script src="/assets/alt/dist/js/app.min.js"></script>
|
||||
<script src="/assets/js/bootstrap-toggle.min.js"></script>
|
||||
<script src="http://malsup.github.com/jquery.form.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/js/bootstrap-datepicker.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
4
application/views/partial/footer.php
Normal file
4
application/views/partial/footer.php
Normal file
@@ -0,0 +1,4 @@
|
||||
<footer class="main-footer">
|
||||
<strong>Copyright © 2019 Crossmap.</strong> All rights
|
||||
reserved.
|
||||
</footer>
|
||||
29
application/views/partial/header.php
Normal file
29
application/views/partial/header.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<header class="main-header">
|
||||
<!-- Logo -->
|
||||
<a href="/app" class="logo">
|
||||
<!-- mini logo for sidebar mini 50x50 pixels -->
|
||||
<span class="logo-mini"><b>DS</b></span>
|
||||
<!-- logo for regular state and mobile devices -->
|
||||
<span class="logo-lg"><b>DS</b>Admin</span>
|
||||
</a>
|
||||
<!-- Header Navbar: style can be found in header.less -->
|
||||
<nav class="navbar navbar-static-top">
|
||||
<!-- Sidebar toggle button-->
|
||||
<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</a>
|
||||
<div class="navbar-custom-menu">
|
||||
<ul class="nav navbar-nav">
|
||||
<li>
|
||||
<a href="/sign/logout">
|
||||
<i class="fa fa-power-off"></i> Logout
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</nav>
|
||||
</header>
|
||||
17
application/views/partial/menu.php
Normal file
17
application/views/partial/menu.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<aside class="main-sidebar">
|
||||
<section class="sidebar">
|
||||
<ul class="sidebar-menu">
|
||||
<li class="treeview<?php echo getCSSPageMenuOpen(['ds'], false)?>">
|
||||
<a href="#">
|
||||
<i class="fa fa-files-o"></i>
|
||||
<span>DropShipping</span>
|
||||
</a>
|
||||
<ul class="treeview-menu<?php echo getCSSPageMenuOpen(['ds'], true)?>">
|
||||
<li class="<?php echo getCSSPageMenuOpen(['amazon'], null)?>"><a href="/ds/amazon"><i class="fa fa-circle-o"></i> Amazon</a></li>
|
||||
<li class="<?php echo getCSSPageMenuOpen(['coupang'], null)?>"><a href="/ds/coupang"><i class="fa fa-circle-o"></i> Coupang</a></li>
|
||||
<li class="<?php echo getCSSPageMenuOpen(['orders'], null)?>"><a href="/ds/orders"><i class="fa fa-circle-o"></i> Orders</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</aside>
|
||||
22
application/views/partial/top.php
Normal file
22
application/views/partial/top.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>App::Admin</title>
|
||||
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
|
||||
<link rel="stylesheet" href="/assets/css/select2.min.css">
|
||||
<link rel="stylesheet" href="/assets/alt/bootstrap/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
|
||||
<link rel="stylesheet" href="/assets/alt/dist/css/AdminLTE.min.css">
|
||||
<link rel="stylesheet" href="/assets/alt/dist/css/skins/_all-skins.min.css">
|
||||
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.11.0/bootstrap-table.min.css">
|
||||
<link rel="stylesheet" href="/assets/css/show.css">
|
||||
<link rel="stylesheet" href="/assets/css/bootstrap-toggle.min.css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/css/bootstrap-datepicker.min.css" />
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
Reference in New Issue
Block a user