Compare commits
106 Commits
eafb7bfb5f
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| b4b7a452fc | |||
| e703314c7f | |||
| d51528e407 | |||
| 6f7a292259 | |||
| 04f6e919f0 | |||
| 123853df5c | |||
| d2b916b985 | |||
| c51cf9dc87 | |||
| 01a0a60ef6 | |||
| 70ca13999e | |||
| ebfaf799eb | |||
| 7df4c3405f | |||
| 1afcb2364e | |||
| 699db96d26 | |||
| 9363b3bb4f | |||
| 043b3ac069 | |||
| 0068d20a12 | |||
| ac2717b077 | |||
| 603d024af3 | |||
| 1dbf988073 | |||
| 60823b0aab | |||
| 942aeafb60 | |||
| 75a641ab40 | |||
| 3f57e61be2 | |||
| 546d4b6f95 | |||
| d0ee976b0c | |||
| e6c4947c75 | |||
| 6233a30284 | |||
| 2ad52e7ce8 | |||
| 587cdd5420 | |||
| a289d69a6b | |||
| 91941d7c14 | |||
| af6f1eff2e | |||
| 8c42d57fcd | |||
| 6876ab2bd3 | |||
| 4a4c3177a9 | |||
| b6d1297a20 | |||
| 4a6b814426 | |||
| 4d67725ea8 | |||
| caa5828511 | |||
| 1dda5db73b | |||
| 971a23ae2a | |||
| 060e3643ea | |||
| 1c2c38a8bb | |||
| e8e9f7c382 | |||
| 5529e9ff1f | |||
| 30ebfb6644 | |||
| 3137a8226b | |||
| a399a7bedd | |||
| fe6ba5b1a0 | |||
| d20a20684d | |||
| dd8de9838f | |||
| 1b461f0e86 | |||
| ef51a9d6f4 | |||
| 34275ed7b7 | |||
| 0c8e3258c4 | |||
| 3a257c411e | |||
| 7857cc0422 | |||
| dbeda7da6d | |||
| 66344ad5c6 | |||
| ae9d94330f | |||
| 84731fc375 | |||
| e60866c99f | |||
| 1315df5ebb | |||
| c3c4efd679 | |||
| 961e92b965 | |||
| cc0f195bee | |||
| 9bdd0e435a | |||
| 7299751c83 | |||
| e41fa9b5b1 | |||
| dccf38d6d3 | |||
| 48c9cba704 | |||
| 6ee294d14b | |||
| 4e9930841c | |||
| fb29ea215a | |||
| eee07fab6b | |||
| f567aed4da | |||
| 90e1a88461 | |||
| cea5665f51 | |||
| f0628c310c | |||
| 9737f4ed81 | |||
| f66da1b416 | |||
| ce9710c758 | |||
| fe7ddf826e | |||
| 6415cca99f | |||
| 7b96c6d976 | |||
| 615e36647a | |||
| d71cbe3065 | |||
| d9094447c8 | |||
| edee2ad3d8 | |||
| da868053ca | |||
| d33bec681f | |||
| 5cf4155fcc | |||
| 10b1b7da6e | |||
| 8679b320e1 | |||
| 14ef2c1610 | |||
| 91d317607a | |||
| d5bd7d2948 | |||
| 21d3b53747 | |||
| 78d3c1e64f | |||
| f8088b3a71 | |||
| 6f393f6e64 | |||
| 6166366250 | |||
| 4773342421 | |||
| 1a5515ed95 | |||
| 22ceb73fb1 |
1
.gitignore
vendored
@@ -2,3 +2,4 @@ package/vendor
|
|||||||
package/composer.lock
|
package/composer.lock
|
||||||
.idea
|
.idea
|
||||||
|
|
||||||
|
node_modules/
|
||||||
|
|||||||
BIN
assets/images/avatars/1.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
assets/images/avatars/10.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
assets/images/avatars/2.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
assets/images/avatars/3.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
assets/images/avatars/4.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
assets/images/avatars/5.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
assets/images/avatars/6.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
assets/images/avatars/7.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
assets/images/avatars/8.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
assets/images/avatars/9.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
assets/images/brand-1.png
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 26 KiB |
BIN
assets/images/logo_hura8.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
@@ -1,44 +0,0 @@
|
|||||||
|
|
||||||
const RowExpand = (function (){
|
|
||||||
|
|
||||||
const $status_expand_all = $("#js-row-expand-all");
|
|
||||||
|
|
||||||
let track_open_rows = [];
|
|
||||||
|
|
||||||
function open_child_row(child_class_name){
|
|
||||||
const $children = $(`.${child_class_name}`);
|
|
||||||
|
|
||||||
if(!track_open_rows.includes(child_class_name)) {
|
|
||||||
$children.css('display', 'table-row');
|
|
||||||
track_open_rows.push(child_class_name);
|
|
||||||
}else{
|
|
||||||
$children.css('display', 'none');
|
|
||||||
track_open_rows = [...Util.removeItemFromArray(track_open_rows, child_class_name)];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function open_all_row(){
|
|
||||||
if(!track_open_rows.includes('expand_all')) {
|
|
||||||
$(".row").css('display', 'table-row');
|
|
||||||
track_open_rows.push('expand_all');
|
|
||||||
|
|
||||||
$status_expand_all.html("[-]");
|
|
||||||
|
|
||||||
}else{
|
|
||||||
// collapse all
|
|
||||||
$(".row").css('display', 'none');
|
|
||||||
// open only first parent
|
|
||||||
$(".parent_0").css('display', 'table-row');
|
|
||||||
|
|
||||||
track_open_rows = [];
|
|
||||||
|
|
||||||
$status_expand_all.html("[+]");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
|
||||||
open_child: open_child_row,
|
|
||||||
open_all: open_all_row
|
|
||||||
}
|
|
||||||
|
|
||||||
})();
|
|
||||||
7308
assets/script/hura-lib.css
Normal file
252
assets/script/hura.global.css
Normal file
@@ -0,0 +1,252 @@
|
|||||||
|
/* ===========================
|
||||||
|
FONT IMPORT (Dùng chung)
|
||||||
|
=========================== */
|
||||||
|
@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@100;200;300;400;500;600;700;800;900;1000&display=swap";
|
||||||
|
@import "https://fonts.googleapis.com/css2?family=Wix+Madefor+Text:wght@400;500;600;700;800;1000&display=swap";
|
||||||
|
@import "https://fonts.googleapis.com/css2?family=Inclusive+Sans:wght@400;500;600;700;800;900;1000&display=swap";
|
||||||
|
@import "https://fonts.googleapis.com/css2?family=AR+One+Sans:wght@400;500;600;700;800;1000&display=swap";
|
||||||
|
|
||||||
|
@layer properties {
|
||||||
|
:root {
|
||||||
|
--font-sans: "Inclusive Sans", sans-serif;
|
||||||
|
--text-base: 16px;
|
||||||
|
--bg-body: #fafbfd;
|
||||||
|
--color-hura: #0041e8;
|
||||||
|
--color-header: #002bb5;
|
||||||
|
--text-base--line-height: 1.5;
|
||||||
|
--color-black: #000;
|
||||||
|
--color-white: #fff;
|
||||||
|
--spacing: 0.25rem;
|
||||||
|
--layout-topbar-background: #fff;
|
||||||
|
--menu-active: #e9f2ff;
|
||||||
|
--menu-text: #177bff;
|
||||||
|
--menu-sub-bg: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@layer base {
|
||||||
|
html,
|
||||||
|
body {
|
||||||
|
font-family: var(--font-sans);
|
||||||
|
font-size: var(--text-base);
|
||||||
|
line-height: var(--text-base--line-height);
|
||||||
|
}
|
||||||
|
*,
|
||||||
|
*::before,
|
||||||
|
*::after {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@layer components {
|
||||||
|
#layout-topbar {
|
||||||
|
background: var(--layout-topbar-background);
|
||||||
|
top: calc(var(--spacing) * 0);
|
||||||
|
z-index: 10;
|
||||||
|
transition-property: top, margin, border-radius;
|
||||||
|
transition-timing-function: var(
|
||||||
|
--tw-ease,
|
||||||
|
var(--default-transition-timing-function)
|
||||||
|
);
|
||||||
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
||||||
|
--tw-duration: 0.3s;
|
||||||
|
transition-duration: 0.3s;
|
||||||
|
position: sticky;
|
||||||
|
border-bottom-style: solid;
|
||||||
|
border-bottom-width: 1px;
|
||||||
|
border-color: var(--color-base-300);
|
||||||
|
}
|
||||||
|
#layout-content {
|
||||||
|
padding: calc(var(--spacing) * 6);
|
||||||
|
transition-property: all;
|
||||||
|
transition-timing-function: var(
|
||||||
|
--tw-ease,
|
||||||
|
var(--default-transition-timing-function)
|
||||||
|
);
|
||||||
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
||||||
|
flex-grow: 1;
|
||||||
|
background: var(--bg-body);
|
||||||
|
}
|
||||||
|
.bg-menu {
|
||||||
|
background-color: var(--color-header);
|
||||||
|
}
|
||||||
|
/* menu */
|
||||||
|
.menu {
|
||||||
|
& {
|
||||||
|
--menu-active-bg: #e9f2ff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.menu-horizontal {
|
||||||
|
display: inline-flex;
|
||||||
|
flex-direction: row;
|
||||||
|
}
|
||||||
|
.menu-horizontal li {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ACTIVE STATE (LEVEL 1) */
|
||||||
|
.menu-horizontal li.active {
|
||||||
|
background: var(--menu-active);
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu-horizontal li.active .grow,
|
||||||
|
.menu-horizontal li.active svg {
|
||||||
|
color: var(--menu-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ACTIVE STATE (LEVEL 2) */
|
||||||
|
.menu-horizontal li.active ul li.active {
|
||||||
|
background: var(--color-hura);
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu-horizontal li.active ul li.active a {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
/* HOVER LEVEL 1 */
|
||||||
|
|
||||||
|
.menu-horizontal li:hover {
|
||||||
|
background: var(--menu-active);
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu-horizontal li:hover .grow,
|
||||||
|
.menu-horizontal li:hover svg {
|
||||||
|
color: var(--color-hura);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Dải hover giữ submenu không bị mất */
|
||||||
|
.menu-horizontal li::before {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
bottom: -18px;
|
||||||
|
width: 100%;
|
||||||
|
height: 30px;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu-horizontal li:hover::before {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ==========================
|
||||||
|
SUBMENU (UL)
|
||||||
|
========================== */
|
||||||
|
.menu-horizontal li .submenu {
|
||||||
|
position: absolute !important;
|
||||||
|
top: 125%;
|
||||||
|
left: 0;
|
||||||
|
background: var(--menu-sub-bg);
|
||||||
|
margin-left: 0 !important;
|
||||||
|
padding: 0.5rem;
|
||||||
|
z-index: 999;
|
||||||
|
border-radius: 10px;
|
||||||
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
||||||
|
max-height: 500px;
|
||||||
|
overflow-y: auto;
|
||||||
|
overflow-x: hidden;
|
||||||
|
display: none;
|
||||||
|
margin-top: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* DaisyUI details submenu spacing */
|
||||||
|
.menu-horizontal > li:not(.menu-title) > details > ul {
|
||||||
|
margin-top: 1rem;
|
||||||
|
padding-inline-end: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* SHOW SUBMENU ON HOVER */
|
||||||
|
.menu-horizontal li:hover .submenu,
|
||||||
|
.menu-horizontal li:hover > details > ul {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Remove extra before from DaisyUI */
|
||||||
|
.menu-horizontal > li > details > ul:before {
|
||||||
|
content: none;
|
||||||
|
}
|
||||||
|
/* ==========================
|
||||||
|
SUBMENU HOVER ITEMS
|
||||||
|
========================== */
|
||||||
|
.menu-horizontal li ul li:hover {
|
||||||
|
background: var(--color-hura);
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu-horizontal li ul li:hover a {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu-horizontal li ul li:hover::before {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
/* Font weight chung */
|
||||||
|
.menu-horizontal .grow {
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
.menu-icon-color {
|
||||||
|
color: #838383;
|
||||||
|
}
|
||||||
|
.card-body {
|
||||||
|
padding: calc(var(--spacing) * 4);
|
||||||
|
}
|
||||||
|
.choices {
|
||||||
|
margin-top: calc(var(--spacing) * 2);
|
||||||
|
--tw-shadow:
|
||||||
|
0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)),
|
||||||
|
0 1px 2px -1px var(--tw-shadow-color, #0000001a);
|
||||||
|
box-shadow:
|
||||||
|
var(--tw-inset-shadow), var(--tw-inset-ring-shadow),
|
||||||
|
var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
||||||
|
border-radius: var(--radius-sm);
|
||||||
|
}
|
||||||
|
.choices__inner {
|
||||||
|
background: #fff !important;
|
||||||
|
min-height: 38px !important;
|
||||||
|
padding: 5px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@layer hura {
|
||||||
|
.hura-btn-active {
|
||||||
|
--btn-bg: var(--color-hura);
|
||||||
|
--btn-fg: #ffffff;
|
||||||
|
--btn-border: var(--color-hura);
|
||||||
|
color: var(--color-white);
|
||||||
|
}
|
||||||
|
.hura-btn-active:hover {
|
||||||
|
--btn-bg: #002bb5;
|
||||||
|
--btn-border: #002bb5;
|
||||||
|
}
|
||||||
|
.hura-btn-outline {
|
||||||
|
background: #f5f7ff;
|
||||||
|
color: var(--color-hura);
|
||||||
|
border: 1px solid var(--color-hura);
|
||||||
|
}
|
||||||
|
.hura-btn-outline:hover {
|
||||||
|
background: var(--color-hura);
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.hura-checkbox:checked,
|
||||||
|
.hura-checkbox[aria-checked="true"] {
|
||||||
|
background: var(--color-hura);
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.hura-radio:checked,
|
||||||
|
.hura-radio[aria-checked="true"] {
|
||||||
|
border-color: var(--color-hura);
|
||||||
|
}
|
||||||
|
.hura-radio:checked::before,
|
||||||
|
.hura-radio[aria-checked="true"]::before {
|
||||||
|
background-color: var(--color-hura);
|
||||||
|
}
|
||||||
|
.hura-text-blue {
|
||||||
|
color: var(--color-hura);
|
||||||
|
}
|
||||||
|
.hura-bg-blue {
|
||||||
|
background: var(--color-hura);
|
||||||
|
}
|
||||||
|
.hura-shadow-blue {
|
||||||
|
box-shadow:
|
||||||
|
0 10px 15px -3px rgb(var(--color-hura) / 0.35),
|
||||||
|
0 4px 6px -4px rgb(var(--color-hura) / 0.25);
|
||||||
|
}
|
||||||
|
}
|
||||||
2
assets/script/jquery.js
vendored
Normal file
@@ -1,977 +0,0 @@
|
|||||||
@charset "UTF-8";
|
|
||||||
*,
|
|
||||||
::after,
|
|
||||||
::before {
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
button,
|
|
||||||
select {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
button,
|
|
||||||
input {
|
|
||||||
overflow: visible;
|
|
||||||
}
|
|
||||||
|
|
||||||
button,
|
|
||||||
input,
|
|
||||||
optgroup,
|
|
||||||
select,
|
|
||||||
textarea {
|
|
||||||
outline: none;
|
|
||||||
margin: 0;
|
|
||||||
font-family: inherit;
|
|
||||||
font-size: inherit;
|
|
||||||
line-height: inherit;
|
|
||||||
color: #000;
|
|
||||||
border-radius: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
input::-webkit-outer-spin-button,
|
|
||||||
input::-webkit-inner-spin-button {
|
|
||||||
-webkit-appearance: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type=number] {
|
|
||||||
-moz-appearance: textfield;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type=date]::-webkit-calendar-picker-indicator {
|
|
||||||
background: transparent;
|
|
||||||
bottom: 0;
|
|
||||||
color: transparent;
|
|
||||||
cursor: pointer;
|
|
||||||
height: auto;
|
|
||||||
left: 0;
|
|
||||||
position: absolute;
|
|
||||||
right: 0;
|
|
||||||
top: 0;
|
|
||||||
width: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
color: #000;
|
|
||||||
font-family: "Inter", sans-serif;
|
|
||||||
background: #fafafb;
|
|
||||||
position: relative;
|
|
||||||
font-size: 14px;
|
|
||||||
word-break: break-word;
|
|
||||||
counter-reset: section;
|
|
||||||
font-weight: 400;
|
|
||||||
line-height: 1.5;
|
|
||||||
margin: auto;
|
|
||||||
min-height: 100vh;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
max-width: 100%;
|
|
||||||
height: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
table {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
::-webkit-scrollbar-track {
|
|
||||||
background: #f5f5f5;
|
|
||||||
}
|
|
||||||
|
|
||||||
::-webkit-scrollbar-thumb {
|
|
||||||
background: grey;
|
|
||||||
border-radius: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
::-webkit-scrollbar-thumb:hover {
|
|
||||||
background: #ccc;
|
|
||||||
}
|
|
||||||
|
|
||||||
::-webkit-scrollbar {
|
|
||||||
width: 8px;
|
|
||||||
height: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.clearfix::after {
|
|
||||||
content: "";
|
|
||||||
clear: both;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.inherit {
|
|
||||||
font-size: inherit;
|
|
||||||
font-weight: inherit;
|
|
||||||
line-height: inherit;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.line-clamp-2 {
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
-webkit-line-clamp: 2;
|
|
||||||
display: -webkit-box;
|
|
||||||
-webkit-box-orient: vertical;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.line-clamp-3 {
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
-webkit-line-clamp: 3;
|
|
||||||
display: -webkit-box;
|
|
||||||
-webkit-box-orient: vertical;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.line-clamp-4 {
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
-webkit-line-clamp: 4;
|
|
||||||
display: -webkit-box;
|
|
||||||
-webkit-box-orient: vertical;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.line-clamp-5 {
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
-webkit-line-clamp: 5;
|
|
||||||
display: -webkit-box;
|
|
||||||
-webkit-box-orient: vertical;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.icons {
|
|
||||||
background: url(../images/global-sprite.png) no-repeat;
|
|
||||||
background-size: 400px 400px;
|
|
||||||
background-position: 0 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.admin-global-container {
|
|
||||||
max-width: 1720px;
|
|
||||||
margin: auto;
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
.admin-menu-container {
|
|
||||||
position: relative;
|
|
||||||
overflow: auto;
|
|
||||||
background: #004e99;
|
|
||||||
color: #fff;
|
|
||||||
width: 18%;
|
|
||||||
padding: 20px 0;
|
|
||||||
line-height: 20px;
|
|
||||||
}
|
|
||||||
.admin-menu-container a {
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
.admin-menu-container .menu-logo {
|
|
||||||
display: table;
|
|
||||||
margin-bottom: 50px;
|
|
||||||
margin-left: 16px;
|
|
||||||
}
|
|
||||||
.admin-menu-container .menu-logo img {
|
|
||||||
height: 22px;
|
|
||||||
}
|
|
||||||
.admin-menu-container .menu-list {
|
|
||||||
margin: 50px 0;
|
|
||||||
}
|
|
||||||
.admin-menu-container details[open] svg {
|
|
||||||
transform: rotate(90deg);
|
|
||||||
}
|
|
||||||
.admin-menu-container details[open] summary {
|
|
||||||
background: #81b5e4;
|
|
||||||
}
|
|
||||||
.admin-menu-container details[open] summary a {
|
|
||||||
font-weight: 700;
|
|
||||||
}
|
|
||||||
.admin-menu-container details[open] .icons {
|
|
||||||
filter: brightness(100);
|
|
||||||
}
|
|
||||||
.admin-menu-container details[open] .fa-angle-right {
|
|
||||||
transform: rotate(90deg);
|
|
||||||
}
|
|
||||||
.admin-menu-container summary {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: space-between;
|
|
||||||
cursor: pointer;
|
|
||||||
padding-right: 16px;
|
|
||||||
border-radius: 4px;
|
|
||||||
position: relative;
|
|
||||||
transition: 0.3s all;
|
|
||||||
}
|
|
||||||
.admin-menu-container summary a {
|
|
||||||
padding: 8px 16px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
.admin-menu-container svg {
|
|
||||||
position: absolute;
|
|
||||||
right: 16px;
|
|
||||||
transition: 0.3s all;
|
|
||||||
}
|
|
||||||
.admin-menu-container .item {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
padding: 0 16px;
|
|
||||||
line-height: 36px;
|
|
||||||
transition: 0.3s all;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
.admin-menu-container .item:hover {
|
|
||||||
background: #81b5e4;
|
|
||||||
}
|
|
||||||
.admin-menu-container .item:hover .icons {
|
|
||||||
filter: brightness(100);
|
|
||||||
}
|
|
||||||
.admin-menu-container .item .icons {
|
|
||||||
width: 20px;
|
|
||||||
height: 20px;
|
|
||||||
margin-right: 13px;
|
|
||||||
}
|
|
||||||
.admin-menu-container .title {
|
|
||||||
/*width: calc(100% - 33px);*/
|
|
||||||
}
|
|
||||||
.admin-menu-container .sub-menu {
|
|
||||||
padding: 13px 13px 13px 45px;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.admin-menu-container .sub-menu::before {
|
|
||||||
content: "";
|
|
||||||
width: 1px;
|
|
||||||
height: calc(100% - 39px);
|
|
||||||
background: #79b0e2;
|
|
||||||
position: absolute;
|
|
||||||
left: 20px;
|
|
||||||
top: 20px;
|
|
||||||
}
|
|
||||||
.admin-menu-container .sub-menu a {
|
|
||||||
display: block;
|
|
||||||
margin-bottom: 15px;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.admin-menu-container .sub-menu a:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
.admin-menu-container .sub-menu a.current {
|
|
||||||
font-weight: 700;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
.admin-menu-container .sub-menu a::before {
|
|
||||||
content: "";
|
|
||||||
width: 8px;
|
|
||||||
height: 8px;
|
|
||||||
border-radius: 50%;
|
|
||||||
background: #79b0e2;
|
|
||||||
position: absolute;
|
|
||||||
top: 6px;
|
|
||||||
left: -28px;
|
|
||||||
}
|
|
||||||
.admin-menu-container .sub-menu a:last-child {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
.admin-menu-container .icon-home {
|
|
||||||
background-position: -9px -7px;
|
|
||||||
}
|
|
||||||
.admin-menu-container .icon-order {
|
|
||||||
background-position: -45px -7px;
|
|
||||||
}
|
|
||||||
.admin-menu-container .icon-product {
|
|
||||||
background-position: -81px -8px;
|
|
||||||
}
|
|
||||||
.admin-menu-container .icon-customer {
|
|
||||||
background-position: -117px -8px;
|
|
||||||
}
|
|
||||||
.admin-menu-container .icon-marketing {
|
|
||||||
background-position: -154px -8px;
|
|
||||||
}
|
|
||||||
.admin-menu-container .icon-content {
|
|
||||||
background-position: -187px -8px;
|
|
||||||
}
|
|
||||||
.admin-menu-container .icon-stats {
|
|
||||||
background-position: -224px -8px;
|
|
||||||
}
|
|
||||||
.admin-menu-container .icon-system {
|
|
||||||
background-position: -262px -8px;
|
|
||||||
}
|
|
||||||
.admin-menu-container .icon-settings {
|
|
||||||
background-position: -297px -8px;
|
|
||||||
}
|
|
||||||
.admin-menu-container .icon-support {
|
|
||||||
background-position: -332px -7px;
|
|
||||||
}
|
|
||||||
.admin-menu-container .icon-account {
|
|
||||||
background-position: -367px -9px;
|
|
||||||
}
|
|
||||||
.admin-menu-container .icon-logout {
|
|
||||||
background-position: -9px -45px;
|
|
||||||
}
|
|
||||||
.admin-menu-container .icon-close {
|
|
||||||
position: absolute;
|
|
||||||
right: 10px;
|
|
||||||
}
|
|
||||||
.admin-menu-container .icon-investor_relation {
|
|
||||||
background-position: -9px -126px;
|
|
||||||
}
|
|
||||||
.admin-menu-container .icon-job {
|
|
||||||
background-position: -52px -126px;
|
|
||||||
}
|
|
||||||
.admin-menu-container .icon-pcbuilder {
|
|
||||||
background-position: -99px -126px;
|
|
||||||
}
|
|
||||||
.admin-menu-container .icon-payinstall {
|
|
||||||
background-position: -142px -125px;
|
|
||||||
}
|
|
||||||
.admin-menu-container .icon-distributor {
|
|
||||||
background-position: -187px -126px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.admin-menu {
|
|
||||||
color: #fff;
|
|
||||||
z-index: 1;
|
|
||||||
}
|
|
||||||
.admin-menu .item {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
transition: 0.3s all;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.admin-menu .item:hover, .admin-menu .item.current {
|
|
||||||
background: #81b5e4;
|
|
||||||
}
|
|
||||||
.admin-menu .item:hover .icons, .admin-menu .item.current .icons {
|
|
||||||
filter: brightness(100);
|
|
||||||
}
|
|
||||||
.admin-menu .item:hover .sub-menu {
|
|
||||||
left: calc(100% + 8px);
|
|
||||||
opacity: 1;
|
|
||||||
visibility: inherit;
|
|
||||||
}
|
|
||||||
.admin-menu .item:hover::before {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.admin-menu .item.bottom .sub-menu {
|
|
||||||
top: unset;
|
|
||||||
}
|
|
||||||
.admin-menu .item.bottom:hover .sub-menu {
|
|
||||||
top: auto;
|
|
||||||
bottom: 0;
|
|
||||||
}
|
|
||||||
.admin-menu .item::before {
|
|
||||||
position: absolute;
|
|
||||||
content: "";
|
|
||||||
width: 50px;
|
|
||||||
right: -20px;
|
|
||||||
height: 41px;
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.admin-menu .item:nth-child(n+10) .sub-menu {
|
|
||||||
top: unset;
|
|
||||||
bottom: -45px;
|
|
||||||
}
|
|
||||||
.admin-menu .sub-menu {
|
|
||||||
padding: 10px 22px 10px 15px;
|
|
||||||
border-radius: 6px;
|
|
||||||
background: #004e99;
|
|
||||||
box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);
|
|
||||||
white-space: nowrap;
|
|
||||||
min-width: 150px;
|
|
||||||
z-index: -1;
|
|
||||||
transition: 0.2s all;
|
|
||||||
position: absolute;
|
|
||||||
left: calc(100% + 30px);
|
|
||||||
top: 0;
|
|
||||||
opacity: 0;
|
|
||||||
visibility: hidden;
|
|
||||||
min-width: 200px;
|
|
||||||
}
|
|
||||||
.admin-menu .sub-menu a {
|
|
||||||
display: block;
|
|
||||||
margin-bottom: 12px;
|
|
||||||
line-height: 18px;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.admin-menu .sub-menu a:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
.admin-menu .sub-menu a.current {
|
|
||||||
font-weight: 700;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
.admin-menu .sub-menu a::before {
|
|
||||||
content: "";
|
|
||||||
width: 8px;
|
|
||||||
height: 8px;
|
|
||||||
border-radius: 50%;
|
|
||||||
background: #79b0e2;
|
|
||||||
position: absolute;
|
|
||||||
top: 6px;
|
|
||||||
left: -16px;
|
|
||||||
}
|
|
||||||
.admin-menu .sub-menu a:last-child {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
.admin-menu .menu-list {
|
|
||||||
padding-left: 16px;
|
|
||||||
margin-top: 10px;
|
|
||||||
position: relative;
|
|
||||||
max-height: 350px;
|
|
||||||
overflow-y: auto;
|
|
||||||
padding-right: 10px;
|
|
||||||
margin-right: -12px;
|
|
||||||
}
|
|
||||||
.admin-menu .menu-list::before {
|
|
||||||
content: "";
|
|
||||||
width: 1.5px;
|
|
||||||
background: #79b0e2;
|
|
||||||
position: absolute;
|
|
||||||
left: 3px;
|
|
||||||
top: 7px;
|
|
||||||
bottom: 7px;
|
|
||||||
}
|
|
||||||
.admin-menu .menu-list::-webkit-scrollbar-thumb {
|
|
||||||
background: #fff;
|
|
||||||
}
|
|
||||||
.admin-menu .menu-list::-webkit-scrollbar-track {
|
|
||||||
background: transparent;
|
|
||||||
}
|
|
||||||
.admin-menu .icons {
|
|
||||||
width: 50px;
|
|
||||||
height: 40px;
|
|
||||||
}
|
|
||||||
.admin-menu .icon-home {
|
|
||||||
background-position: 7px 3px;
|
|
||||||
}
|
|
||||||
.admin-menu .icon-sell {
|
|
||||||
background-position: -29px 3px;
|
|
||||||
}
|
|
||||||
.admin-menu .icon-product {
|
|
||||||
background-position: -66px 3px;
|
|
||||||
}
|
|
||||||
.admin-menu .icon-user {
|
|
||||||
background-position: -103px 3px;
|
|
||||||
}
|
|
||||||
.admin-menu .icon-marketing {
|
|
||||||
background-position: -139px 3px;
|
|
||||||
}
|
|
||||||
.admin-menu .icon-content {
|
|
||||||
background-position: -172px 3px;
|
|
||||||
}
|
|
||||||
.admin-menu .icon-stats {
|
|
||||||
background-position: -208px 3px;
|
|
||||||
}
|
|
||||||
.admin-menu .icon-system {
|
|
||||||
background-position: -247px 3px;
|
|
||||||
}
|
|
||||||
.admin-menu .icon-settings {
|
|
||||||
background-position: -282px 2px;
|
|
||||||
margin-left: -1px;
|
|
||||||
}
|
|
||||||
.admin-menu .icon-support {
|
|
||||||
background-position: -318px 3px;
|
|
||||||
}
|
|
||||||
.admin-menu .icon-account {
|
|
||||||
background-position: -354px 2px;
|
|
||||||
}
|
|
||||||
.admin-menu .icon-logout {
|
|
||||||
background-position: 6px -34px;
|
|
||||||
}
|
|
||||||
.admin-menu .icon-investor_relation {
|
|
||||||
background-position: 6px -115px;
|
|
||||||
}
|
|
||||||
.admin-menu .icon-job {
|
|
||||||
background-position: -37px -114px;
|
|
||||||
}
|
|
||||||
.admin-menu .icon-pcbuilder {
|
|
||||||
background-position: -83px -114px;
|
|
||||||
}
|
|
||||||
.admin-menu .icon-payinstall {
|
|
||||||
background-position: -128px -114px;
|
|
||||||
}
|
|
||||||
.admin-menu .icon-distributor {
|
|
||||||
background-position: -173px -114px;
|
|
||||||
}
|
|
||||||
.admin-menu .logo {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.admin-menu .icon-close {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: -40px;
|
|
||||||
width: 40px;
|
|
||||||
display: block;
|
|
||||||
background-color: rgb(0 78 153/var(--tw-bg-opacity));
|
|
||||||
}
|
|
||||||
.admin-menu .icon-close i {
|
|
||||||
display: block;
|
|
||||||
margin: 0 auto;
|
|
||||||
text-align: center;
|
|
||||||
line-height: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.admin-content-container {
|
|
||||||
width: calc(100% - 50px);
|
|
||||||
}
|
|
||||||
.admin-content-container.show-large-menu {
|
|
||||||
width: 82%;
|
|
||||||
margin-left: 0;
|
|
||||||
}
|
|
||||||
.admin-content-container .note-list {
|
|
||||||
min-width: 144px;
|
|
||||||
}
|
|
||||||
.admin-content-container .note-list a {
|
|
||||||
display: block;
|
|
||||||
padding: 0 10px;
|
|
||||||
line-height: 35px;
|
|
||||||
transition: 0.2s all;
|
|
||||||
}
|
|
||||||
.admin-content-container .note-list a:hover {
|
|
||||||
background: #f5f7ff;
|
|
||||||
color: #0041e8;
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
|
||||||
.admin-content-container .content-holder {
|
|
||||||
padding: 16px 0 16px 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-fixed {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
.table-fixed td {
|
|
||||||
padding: 13px 8px;
|
|
||||||
border: 1px solid #ececec;
|
|
||||||
}
|
|
||||||
.table-fixed tbody td {
|
|
||||||
padding: 5px 8px;
|
|
||||||
}
|
|
||||||
.table-fixed tbody td:nth-child(2), .table-fixed tbody td:nth-child(3) {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
.table-fixed tbody td:nth-child(2) {
|
|
||||||
color: #0041e8;
|
|
||||||
}
|
|
||||||
|
|
||||||
.admin-home-tab {
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
.admin-home-tab a {
|
|
||||||
color: #a0a8b5;
|
|
||||||
padding: 9px 7.7px;
|
|
||||||
text-align: center;
|
|
||||||
border-right: 1px solid #dde1eb;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
.admin-home-tab a:last-child {
|
|
||||||
border: 0;
|
|
||||||
}
|
|
||||||
.admin-home-tab a:hover, .admin-home-tab a.current {
|
|
||||||
background: #0041e8;
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.home-report-holder {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.home-report-holder table {
|
|
||||||
width: 100%;
|
|
||||||
line-height: 20px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
.home-report-holder thead {
|
|
||||||
background: #f6f6f6;
|
|
||||||
font-weight: 500;
|
|
||||||
}
|
|
||||||
.home-report-holder td {
|
|
||||||
border: 1px solid #ececec;
|
|
||||||
padding: 14px 5px;
|
|
||||||
}
|
|
||||||
.home-report-holder td a {
|
|
||||||
display: block;
|
|
||||||
white-space: nowrap;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
}
|
|
||||||
.home-report-holder td:nth-child(2) {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.home-todo-list td {
|
|
||||||
padding: 0 4px;
|
|
||||||
color: #000 !important;
|
|
||||||
}
|
|
||||||
.home-todo-list td:nth-child(1), .home-todo-list td:nth-child(3), .home-todo-list td:nth-child(4) {
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.product-list th {
|
|
||||||
padding: 10px;
|
|
||||||
border: 1px solid #ececec;
|
|
||||||
background: #f6f6f6;
|
|
||||||
}
|
|
||||||
.product-list td {
|
|
||||||
padding: 8px;
|
|
||||||
border: 1px solid #ececec;
|
|
||||||
}
|
|
||||||
|
|
||||||
.product-sale-info td {
|
|
||||||
padding: 14px;
|
|
||||||
border: 1px solid #ececec;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type=radio] {
|
|
||||||
position: absolute;
|
|
||||||
}
|
|
||||||
input[type=radio]:before {
|
|
||||||
content: "";
|
|
||||||
background: #fff;
|
|
||||||
border-radius: 100%;
|
|
||||||
border: 1.5px solid #0041e8;
|
|
||||||
display: inline-block;
|
|
||||||
width: 18px;
|
|
||||||
height: 18px;
|
|
||||||
position: relative;
|
|
||||||
top: -0.2em;
|
|
||||||
margin-right: 1em;
|
|
||||||
vertical-align: top;
|
|
||||||
cursor: pointer;
|
|
||||||
text-align: center;
|
|
||||||
transition: all 250ms ease;
|
|
||||||
}
|
|
||||||
input[type=radio]:checked:before {
|
|
||||||
background-color: #0041e8;
|
|
||||||
box-shadow: inset 0 0 0 3px #fff;
|
|
||||||
}
|
|
||||||
input[type=radio]:focus:before {
|
|
||||||
outline: none;
|
|
||||||
border-color: #0041e8;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-seo td {
|
|
||||||
padding: 14px;
|
|
||||||
border: 1px solid #ececec;
|
|
||||||
}
|
|
||||||
|
|
||||||
.product-specifications td {
|
|
||||||
padding: 14px;
|
|
||||||
border: 1px solid #ececec;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-config th {
|
|
||||||
padding: 10px 5px;
|
|
||||||
background: #f6f6f6;
|
|
||||||
border: 1px solid #ececec;
|
|
||||||
}
|
|
||||||
.table-config td {
|
|
||||||
padding: 10px;
|
|
||||||
border: 1px solid #ececec;
|
|
||||||
}
|
|
||||||
|
|
||||||
.accessory th {
|
|
||||||
padding: 10px 5px;
|
|
||||||
background: #f6f6f6;
|
|
||||||
border: 1px solid #ececec;
|
|
||||||
}
|
|
||||||
.accessory td {
|
|
||||||
padding: 10px 6px;
|
|
||||||
border: 1px solid #ececec;
|
|
||||||
}
|
|
||||||
|
|
||||||
.icons {
|
|
||||||
width: 30px;
|
|
||||||
height: 30px;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.icons.icon-search {
|
|
||||||
background-position: -71px -40px;
|
|
||||||
}
|
|
||||||
.icons.header-support {
|
|
||||||
height: 33px;
|
|
||||||
background-position: -116px -42px;
|
|
||||||
}
|
|
||||||
.icons.icon-notification {
|
|
||||||
height: 33px;
|
|
||||||
background-position: -165px -42px;
|
|
||||||
}
|
|
||||||
.icons.icon-cart {
|
|
||||||
background-position: -210px -36px;
|
|
||||||
}
|
|
||||||
.icons.icon-contact {
|
|
||||||
background-position: -246px -36px;
|
|
||||||
}
|
|
||||||
.icons.icon-pay {
|
|
||||||
background-position: -284px -36px;
|
|
||||||
}
|
|
||||||
.icons.icon-installment {
|
|
||||||
background-position: -318px -36px;
|
|
||||||
}
|
|
||||||
.icons.icon-increase {
|
|
||||||
width: 20px;
|
|
||||||
height: 20px;
|
|
||||||
background-position: -6px -85px;
|
|
||||||
}
|
|
||||||
.icons.icon-reduce {
|
|
||||||
width: 20px;
|
|
||||||
height: 20px;
|
|
||||||
background-position: -43px -83px;
|
|
||||||
}
|
|
||||||
.icons.icon-edit {
|
|
||||||
width: 16px;
|
|
||||||
height: 16px;
|
|
||||||
background-position: -114px -89px;
|
|
||||||
}
|
|
||||||
.icons.icon-view {
|
|
||||||
width: 16px;
|
|
||||||
height: 16px;
|
|
||||||
background-position: -187px -88px;
|
|
||||||
}
|
|
||||||
.icons.icon-remove {
|
|
||||||
width: 16px;
|
|
||||||
height: 16px;
|
|
||||||
background-position: -151px -88px;
|
|
||||||
}
|
|
||||||
.icons.icon-hide {
|
|
||||||
width: 16px;
|
|
||||||
height: 16px;
|
|
||||||
background-position: -224px -88px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.admin-header-container .menu-hide {
|
|
||||||
margin-left: 30px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Bán hàng */
|
|
||||||
.page-input {
|
|
||||||
width: 100%;
|
|
||||||
height: 36px;
|
|
||||||
padding: 0 10px;
|
|
||||||
border-radius: 4px;
|
|
||||||
border: 1px solid #D8D8D8;
|
|
||||||
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
.order-page .order-page-title a {
|
|
||||||
margin: 0 2px 0 0;
|
|
||||||
border-radius: 4px 4px 0px 0px;
|
|
||||||
background: #f6f6f6;
|
|
||||||
color: #919699;
|
|
||||||
font-weight: 500;
|
|
||||||
padding: 0 24px;
|
|
||||||
}
|
|
||||||
.order-page .order-page-title a:hover, .order-page .order-page-title a.current, .order-page .order-page-title a.active {
|
|
||||||
background: #0041e8;
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
.order-page .order-page-table {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
.order-page .order-page-table thead td {
|
|
||||||
padding: 8px;
|
|
||||||
}
|
|
||||||
.order-page .order-page-table td {
|
|
||||||
padding: 14px 8px;
|
|
||||||
text-align: center;
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
.order-page .order-page-table td:nth-child(4), .order-page .order-page-table td:nth-child(10) {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.order-page-table {
|
|
||||||
line-height: 20px;
|
|
||||||
}
|
|
||||||
.order-page-table a {
|
|
||||||
color: #0041e8;
|
|
||||||
}
|
|
||||||
.order-page-table table {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.order-page-table thead {
|
|
||||||
background: #f6f6f6;
|
|
||||||
font-weight: 500;
|
|
||||||
text-align: center;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
.order-page-table thead td {
|
|
||||||
padding: 8px;
|
|
||||||
}
|
|
||||||
.order-page-table tbody td {
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
.order-page-table tbody tr:hover {
|
|
||||||
background: #f5f7ff;
|
|
||||||
}
|
|
||||||
.order-page-table td {
|
|
||||||
padding: 10px;
|
|
||||||
border: 1px solid #ececec;
|
|
||||||
}
|
|
||||||
.order-page-table select {
|
|
||||||
border-radius: 4px;
|
|
||||||
border: 1px solid #d8d8d8;
|
|
||||||
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
|
|
||||||
height: 32px;
|
|
||||||
display: block;
|
|
||||||
width: 100%;
|
|
||||||
padding: 0 0 0 5px;
|
|
||||||
font-weight: 400;
|
|
||||||
}
|
|
||||||
.order-page-table .icons {
|
|
||||||
width: 30px;
|
|
||||||
height: 30px;
|
|
||||||
border: 1px solid #ececec;
|
|
||||||
background-color: #f9f9f9;
|
|
||||||
border-radius: 5px;
|
|
||||||
}
|
|
||||||
.order-page-table .icon-edit {
|
|
||||||
border: 1px solid #0041e8;
|
|
||||||
background-color: #f5f7ff;
|
|
||||||
background-position: -108px -82px;
|
|
||||||
margin-right: 6px;
|
|
||||||
}
|
|
||||||
.order-page-table .icon-delete {
|
|
||||||
background-position: -145px -82px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.order-detail-page .icon-edit {
|
|
||||||
border: transparent;
|
|
||||||
background-color: transparent;
|
|
||||||
margin: 0;
|
|
||||||
width: 18px;
|
|
||||||
height: 18px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.is-close-btn {
|
|
||||||
background: #ececec !important;
|
|
||||||
border-radius: 50%;
|
|
||||||
top: 10px !important;
|
|
||||||
right: 10px !important;
|
|
||||||
color: #9e9e9e !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.td-border-0 td {
|
|
||||||
border: 0 !important;
|
|
||||||
padding: 3px 0;
|
|
||||||
width: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.paging {
|
|
||||||
margin: 30px 0;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
line-height: 28px;
|
|
||||||
}
|
|
||||||
.paging a {
|
|
||||||
margin: 0 3px;
|
|
||||||
min-width: 28px;
|
|
||||||
text-align: center;
|
|
||||||
font-size: 16px;
|
|
||||||
padding: 0 10px;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
.paging a:hover, .paging a.current, .paging a.active {
|
|
||||||
background: #0041e8;
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.global-breadcrumb-container {
|
|
||||||
padding: 16px;
|
|
||||||
line-height: 20px;
|
|
||||||
}
|
|
||||||
.global-breadcrumb-container a {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
.global-breadcrumb-container a:hover {
|
|
||||||
color: #0041e8;
|
|
||||||
}
|
|
||||||
.global-breadcrumb-container a::after {
|
|
||||||
content: "\f054";
|
|
||||||
font-family: Fontawesome;
|
|
||||||
font-size: 10px;
|
|
||||||
margin: 0 5px;
|
|
||||||
}
|
|
||||||
.global-breadcrumb-container a:last-child {
|
|
||||||
color: #0041e8;
|
|
||||||
}
|
|
||||||
.global-breadcrumb-container a:last-child::after {
|
|
||||||
content: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-brand th {
|
|
||||||
padding: 7px 5px;
|
|
||||||
background: #f6f6f6;
|
|
||||||
border: 1px solid #ececec;
|
|
||||||
}
|
|
||||||
.table-brand td {
|
|
||||||
padding: 7px 6px;
|
|
||||||
border: 1px solid #ececec;
|
|
||||||
}
|
|
||||||
|
|
||||||
.autocomplete-suggestions .item {
|
|
||||||
padding: 12px 0;
|
|
||||||
border-bottom: 1px solid #ededed;
|
|
||||||
}
|
|
||||||
.autocomplete-suggestions .item .info {
|
|
||||||
width: calc(100% - 108px);
|
|
||||||
margin-right: 48px;
|
|
||||||
}
|
|
||||||
.autocomplete-suggestions .item img {
|
|
||||||
width: 60px;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.autocomplete-suggestions .item .name {
|
|
||||||
font-weight: 600;
|
|
||||||
line-height: 20px;
|
|
||||||
}
|
|
||||||
.autocomplete-suggestions .item .price {
|
|
||||||
font-weight: 600;
|
|
||||||
color: #fb4e4e;
|
|
||||||
line-height: 20px;
|
|
||||||
display: block;
|
|
||||||
margin-top: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-list-customer th {
|
|
||||||
padding: 7px 5px;
|
|
||||||
background: #f6f6f6;
|
|
||||||
border: 1px solid #ececec;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
.table-list-customer td {
|
|
||||||
padding: 7px 6px;
|
|
||||||
border: 1px solid #ececec;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-comment th {
|
|
||||||
padding: 7px 5px;
|
|
||||||
background: #f6f6f6;
|
|
||||||
border: 1px solid #ececec;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
.table-comment td {
|
|
||||||
padding: 7px 6px;
|
|
||||||
border: 1px solid #ececec;
|
|
||||||
}
|
|
||||||
|
|
||||||
.list-info-reply th {
|
|
||||||
padding: 7px 5px;
|
|
||||||
background: #f6f6f6;
|
|
||||||
border: 1px solid #ececec;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
.list-info-reply td {
|
|
||||||
padding: 7px 6px;
|
|
||||||
border: 1px solid #ececec;
|
|
||||||
}
|
|
||||||
|
|
||||||
.modal .order-page-table td {
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
.modal .brand-letters a {
|
|
||||||
width: 11.1111111111%;
|
|
||||||
text-transform: capitalize;
|
|
||||||
color: #0041E8;
|
|
||||||
}
|
|
||||||
.modal .brand-letters a:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}/*# sourceMappingURL=pc_style.css.map */
|
|
||||||
2
assets/script/tailwind-daisyui.css
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
@import "tailwindcss";
|
||||||
|
@plugin "daisyui";
|
||||||
32
assets/typescript/main.ts
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
"use strict";
|
||||||
|
|
||||||
|
interface AdminFunctions {
|
||||||
|
addProductToCategory(productId: string): void;
|
||||||
|
markProductAsHot(productId: string): void;
|
||||||
|
}
|
||||||
|
|
||||||
|
const AdminFunctions: AdminFunctions = (() => {
|
||||||
|
|
||||||
|
function addProductToCategory(productId: string): void {
|
||||||
|
const statusElement = $('#status_' + productId);
|
||||||
|
statusElement.html('<span class="loading loading-bars loading-sm"></span><span class="ml-[3px]">Processing...</span>');
|
||||||
|
setTimeout(() => {
|
||||||
|
statusElement.html('');
|
||||||
|
}, 1000);
|
||||||
|
}
|
||||||
|
|
||||||
|
function markProductAsHot(productId: string): void {
|
||||||
|
const statusElement = $('#js-status-hottype-' + productId);
|
||||||
|
statusElement.html('<span class="loading loading-bars loading-sm"></span><span class="ml-[3px]">Processing...</span>');
|
||||||
|
setTimeout(() => {
|
||||||
|
statusElement.html('');
|
||||||
|
}, 1000);
|
||||||
|
}
|
||||||
|
|
||||||
|
return {
|
||||||
|
addProductToCategory,
|
||||||
|
markProductAsHot
|
||||||
|
};
|
||||||
|
})();
|
||||||
|
|
||||||
|
export default AdminFunctions;
|
||||||
1
data/admin/admin_log_product.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/admin/department.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/admin/department_add.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/admin/department_entity_permission.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/admin/department_menu_permission.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/admin/login_log.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/customer/comment.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/customer/customer_add.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/customer/customer_contact.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/customer/customer_group.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/customer/customer_group_add.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/customer/customer_group_info.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/customer/customer_newsletter.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/customer/customer_review.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
3
data/customer/home.php
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
|
||||||
1
data/customer/review.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/distributor/form.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/distributor/home.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/job/home.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/media/category.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/media/upload.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
@@ -24,18 +24,35 @@ function _get_menu_list() {
|
|||||||
$item_menu = include_once __DIR__."/menu_item/".$item.".php";
|
$item_menu = include_once __DIR__."/menu_item/".$item.".php";
|
||||||
|
|
||||||
// skip not enabled
|
// skip not enabled
|
||||||
if(!$item_menu['enable']) continue;
|
if(!$item_menu['enable']) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// skip not enabled children
|
// skip not enabled children
|
||||||
$item_menu_children_enabled = array_filter($item_menu['menu'], function ($menu_child) { return $menu_child['enable'];});
|
$item_menu_children_enabled = array_filter($item_menu['menu'], function ($menu_child) { return $menu_child['enable'];});
|
||||||
if(!sizeof($item_menu_children_enabled)) continue;
|
if(!sizeof($item_menu_children_enabled)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// reset menu for $item_menu
|
$menu_list[] = [
|
||||||
$item_menu['menu'] = $item_menu_children_enabled;
|
'id' => $item,
|
||||||
|
'name' => $item_menu['name'],
|
||||||
$menu_list[$item] = $item_menu;
|
'icon_class' => $item_menu['icon_class'] ?? '',
|
||||||
|
'url' => $item_menu['url'],
|
||||||
|
'menu' => array_map(function ($menu_child) {
|
||||||
|
return [
|
||||||
|
//'module' => $menu_child['module'],
|
||||||
|
//'view' => $menu_child['view'],
|
||||||
|
'id' => $menu_child['id'],
|
||||||
|
'name' => $menu_child['name'],
|
||||||
|
'icon_class' => $menu_child['icon_class'] ?? '',
|
||||||
|
'url' => $menu_child['url'],
|
||||||
|
];
|
||||||
|
}, $item_menu_children_enabled),
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//debug_var($menu_list);
|
||||||
|
|
||||||
return $menu_list;
|
return $menu_list;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
return array(
|
return array(
|
||||||
'enable' => true ,
|
'enable' => true ,
|
||||||
"name" => "Nội dung",
|
"name" => "Nội dung",
|
||||||
|
"icon_class" => 'users',
|
||||||
"url" => "",
|
"url" => "",
|
||||||
"menu" => array(
|
"menu" => array(
|
||||||
|
|
||||||
@@ -12,6 +13,7 @@ return array(
|
|||||||
'view' => 'home',
|
'view' => 'home',
|
||||||
'id' => 'article/home',
|
'id' => 'article/home',
|
||||||
'name' => 'Tin bài',
|
'name' => 'Tin bài',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/article',
|
'url' => '/admin/article',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -21,6 +23,7 @@ return array(
|
|||||||
'view' => 'home',
|
'view' => 'home',
|
||||||
'id' => 'media/home',
|
'id' => 'media/home',
|
||||||
'name' => 'Thư viện file Media',
|
'name' => 'Thư viện file Media',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/media',
|
'url' => '/admin/media',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -30,6 +33,7 @@ return array(
|
|||||||
'view' => 'home',
|
'view' => 'home',
|
||||||
'id' => 'page/home',
|
'id' => 'page/home',
|
||||||
'name' => 'Nội dung cố định',
|
'name' => 'Nội dung cố định',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/page',
|
'url' => '/admin/page',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -39,6 +43,7 @@ return array(
|
|||||||
'view' => 'home',
|
'view' => 'home',
|
||||||
'id' => 'album/home',
|
'id' => 'album/home',
|
||||||
'name' => 'Thư viện ảnh',
|
'name' => 'Thư viện ảnh',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/album',
|
'url' => '/admin/album',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -48,6 +53,7 @@ return array(
|
|||||||
'view' => 'home',
|
'view' => 'home',
|
||||||
'id' => 'video/home',
|
'id' => 'video/home',
|
||||||
'name' => 'Video',
|
'name' => 'Video',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/video',
|
'url' => '/admin/video',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
return array(
|
return array(
|
||||||
'enable' => true ,
|
'enable' => true ,
|
||||||
|
|
||||||
"name" => "Khách hàng",
|
"name" => "Khách hàng",
|
||||||
|
"icon_class" => 'user',
|
||||||
"url" => "",
|
"url" => "",
|
||||||
"menu" => array(
|
"menu" => array(
|
||||||
array(
|
array(
|
||||||
@@ -12,6 +12,7 @@ return array(
|
|||||||
'view' => 'home',
|
'view' => 'home',
|
||||||
'id' => 'customer/home',
|
'id' => 'customer/home',
|
||||||
'name' => 'Danh sách khách hàng',
|
'name' => 'Danh sách khách hàng',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/customer',
|
'url' => '/admin/customer',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -21,6 +22,7 @@ return array(
|
|||||||
'view' => 'customer-group',
|
'view' => 'customer-group',
|
||||||
'id' => 'customer/customer-group',
|
'id' => 'customer/customer-group',
|
||||||
'name' => 'Nhóm khách hàng',
|
'name' => 'Nhóm khách hàng',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/customer/customer-group',
|
'url' => '/admin/customer/customer-group',
|
||||||
),*/
|
),*/
|
||||||
|
|
||||||
@@ -30,6 +32,7 @@ return array(
|
|||||||
'view' => 'customer-contact',
|
'view' => 'customer-contact',
|
||||||
'id' => 'customer/customer-contact',
|
'id' => 'customer/customer-contact',
|
||||||
'name' => 'Khách hàng liên hệ',
|
'name' => 'Khách hàng liên hệ',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/customer/customer-contact',
|
'url' => '/admin/customer/customer-contact',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -39,6 +42,7 @@ return array(
|
|||||||
'view' => 'comment',
|
'view' => 'comment',
|
||||||
'id' => 'customer/comment',
|
'id' => 'customer/comment',
|
||||||
'name' => 'Tổng hợp trao đổi',
|
'name' => 'Tổng hợp trao đổi',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/customer/comment',
|
'url' => '/admin/customer/comment',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -48,6 +52,7 @@ return array(
|
|||||||
'view' => 'review',
|
'view' => 'review',
|
||||||
'id' => 'customer/review',
|
'id' => 'customer/review',
|
||||||
'name' => 'Tổng hợp Đánh giá',
|
'name' => 'Tổng hợp Đánh giá',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/customer/review',
|
'url' => '/admin/customer/review',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -57,6 +62,7 @@ return array(
|
|||||||
'view' => 'customer-review',
|
'view' => 'customer-review',
|
||||||
'id' => 'customer/customer-review',
|
'id' => 'customer/customer-review',
|
||||||
'name' => 'Khách hàng góp ý',
|
'name' => 'Khách hàng góp ý',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/customer/customer-review',
|
'url' => '/admin/customer/customer-review',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -66,6 +72,7 @@ return array(
|
|||||||
'view' => 'customer-newsletter',
|
'view' => 'customer-newsletter',
|
||||||
'id' => 'customer/customer-newsletter',
|
'id' => 'customer/customer-newsletter',
|
||||||
'name' => 'Khách hàng nhận bản tin',
|
'name' => 'Khách hàng nhận bản tin',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/customer/customer-newsletter',
|
'url' => '/admin/customer/customer-newsletter',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
return array(
|
return array(
|
||||||
'enable' => true ,
|
'enable' => true ,
|
||||||
"name" => "Đại lý",
|
"name" => "Đại lý",
|
||||||
|
"icon_class" => 'shopping-bag',
|
||||||
"url" => "",
|
"url" => "",
|
||||||
"menu" => array(
|
"menu" => array(
|
||||||
0 => array(
|
0 => array(
|
||||||
@@ -11,6 +12,7 @@ return array(
|
|||||||
'view' => 'home',
|
'view' => 'home',
|
||||||
'id' => 'distributor/home',
|
'id' => 'distributor/home',
|
||||||
'name' => 'Danh sách',
|
'name' => 'Danh sách',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/distributor',
|
'url' => '/admin/distributor',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
return array(
|
return array(
|
||||||
'enable' => true ,
|
'enable' => true ,
|
||||||
"name" => "Tuyển dụng",
|
"name" => "Tuyển dụng",
|
||||||
|
"icon_class" => 'megaphone',
|
||||||
"url" => "",
|
"url" => "",
|
||||||
"menu" => array(
|
"menu" => array(
|
||||||
array(
|
array(
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
return array(
|
return array(
|
||||||
'enable' => true ,
|
'enable' => true ,
|
||||||
"name" => "Marketing",
|
"name" => "Marketing",
|
||||||
|
"icon_class" => 'newspaper',
|
||||||
"url" => "",
|
"url" => "",
|
||||||
"menu" => array(
|
"menu" => array(
|
||||||
array(
|
array(
|
||||||
@@ -11,6 +12,7 @@ return array(
|
|||||||
'view' => 'promotion',
|
'view' => 'promotion',
|
||||||
'id' => 'marketing/promotion',
|
'id' => 'marketing/promotion',
|
||||||
'name' => 'Khuyến mại theo sản phẩm',
|
'name' => 'Khuyến mại theo sản phẩm',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/marketing/promotion',
|
'url' => '/admin/marketing/promotion',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -20,6 +22,7 @@ return array(
|
|||||||
'view' => 'coupon',
|
'view' => 'coupon',
|
||||||
'id' => 'marketing/coupon',
|
'id' => 'marketing/coupon',
|
||||||
'name' => 'Phiếu giảm giá - Voucher',
|
'name' => 'Phiếu giảm giá - Voucher',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/marketing/coupon',
|
'url' => '/admin/marketing/coupon',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -29,6 +32,7 @@ return array(
|
|||||||
'view' => 'home',
|
'view' => 'home',
|
||||||
'id' => 'banner/home',
|
'id' => 'banner/home',
|
||||||
'name' => 'Danh sách banner',
|
'name' => 'Danh sách banner',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/banner',
|
'url' => '/admin/banner',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -38,6 +42,7 @@ return array(
|
|||||||
'view' => 'store-design',
|
'view' => 'store-design',
|
||||||
'id' => 'system/store-design',
|
'id' => 'system/store-design',
|
||||||
'name' => 'Banner pop-up',
|
'name' => 'Banner pop-up',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/system/store-design?section=popup',
|
'url' => '/admin/system/store-design?section=popup',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -47,6 +52,7 @@ return array(
|
|||||||
'view' => 'poster-upload',
|
'view' => 'poster-upload',
|
||||||
'id' => 'marketing/poster-upload',
|
'id' => 'marketing/poster-upload',
|
||||||
'name' => 'Poster',
|
'name' => 'Poster',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/marketing/poster-upload',
|
'url' => '/admin/marketing/poster-upload',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -56,6 +62,7 @@ return array(
|
|||||||
'view' => 'store-design',
|
'view' => 'store-design',
|
||||||
'id' => 'system/store-design',
|
'id' => 'system/store-design',
|
||||||
'name' => 'Hình nền website',
|
'name' => 'Hình nền website',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/system/store-design?section=background',
|
'url' => '/admin/system/store-design?section=background',
|
||||||
),*/
|
),*/
|
||||||
|
|
||||||
@@ -65,6 +72,7 @@ return array(
|
|||||||
'view' => 'home',
|
'view' => 'home',
|
||||||
'id' => 'email/home',
|
'id' => 'email/home',
|
||||||
'name' => 'Email',
|
'name' => 'Email',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/email',
|
'url' => '/admin/email',
|
||||||
),*/
|
),*/
|
||||||
|
|
||||||
@@ -74,6 +82,7 @@ return array(
|
|||||||
'view' => 'meta-list',
|
'view' => 'meta-list',
|
||||||
'id' => 'url/meta-list',
|
'id' => 'url/meta-list',
|
||||||
'name' => 'Sửa thông tin URL',
|
'name' => 'Sửa thông tin URL',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/url/meta-list',
|
'url' => '/admin/url/meta-list',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -83,6 +92,7 @@ return array(
|
|||||||
'view' => 'url-seo',
|
'view' => 'url-seo',
|
||||||
'id' => 'url/url-seo',
|
'id' => 'url/url-seo',
|
||||||
'name' => 'Link SEO',
|
'name' => 'Link SEO',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/url/url-seo',
|
'url' => '/admin/url/url-seo',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -92,6 +102,7 @@ return array(
|
|||||||
'view' => 'feed',
|
'view' => 'feed',
|
||||||
'id' => 'marketing/feed',
|
'id' => 'marketing/feed',
|
||||||
'name' => 'Facebook/Google Feed',
|
'name' => 'Facebook/Google Feed',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/marketing/feed',
|
'url' => '/admin/marketing/feed',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -101,6 +112,7 @@ return array(
|
|||||||
'view' => 'product-offer',
|
'view' => 'product-offer',
|
||||||
'id' => 'marketing/product-offer',
|
'id' => 'marketing/product-offer',
|
||||||
'name' => 'Cài biểu tượng giảm giá',
|
'name' => 'Cài biểu tượng giảm giá',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/marketing/product-offer',
|
'url' => '/admin/marketing/product-offer',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -119,6 +131,7 @@ return array(
|
|||||||
'view' => 'program',
|
'view' => 'program',
|
||||||
'id' => 'marketing/program',
|
'id' => 'marketing/program',
|
||||||
'name' => 'Chương trình khuyến mại',
|
'name' => 'Chương trình khuyến mại',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/marketing/program',
|
'url' => '/admin/marketing/program',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -128,6 +141,7 @@ return array(
|
|||||||
'view' => 'home',
|
'view' => 'home',
|
||||||
'id' => 'deal/home',
|
'id' => 'deal/home',
|
||||||
'name' => 'Deal/giờ vàng',
|
'name' => 'Deal/giờ vàng',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/deal',
|
'url' => '/admin/deal',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -137,6 +151,7 @@ return array(
|
|||||||
'view' => 'combo-deal',
|
'view' => 'combo-deal',
|
||||||
'id' => 'marketing/combo-deal',
|
'id' => 'marketing/combo-deal',
|
||||||
'name' => 'Bán Combo',
|
'name' => 'Bán Combo',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/marketing/combo-deal',
|
'url' => '/admin/marketing/combo-deal',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -146,6 +161,7 @@ return array(
|
|||||||
'view' => 'conditional-promotion',
|
'view' => 'conditional-promotion',
|
||||||
'id' => 'marketing/conditional-promotion',
|
'id' => 'marketing/conditional-promotion',
|
||||||
'name' => 'Khuyến mại BuildPC',
|
'name' => 'Khuyến mại BuildPC',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/marketing/conditional-promotion',
|
'url' => '/admin/marketing/conditional-promotion',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -155,6 +171,7 @@ return array(
|
|||||||
'view' => 'live-support-per-category',
|
'view' => 'live-support-per-category',
|
||||||
'id' => 'marketing/live-support-per-category',
|
'id' => 'marketing/live-support-per-category',
|
||||||
'name' => 'Hỗ trợ theo từng danh mục',
|
'name' => 'Hỗ trợ theo từng danh mục',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/marketing/live-support-per-category',
|
'url' => '/admin/marketing/live-support-per-category',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
return array(
|
return array(
|
||||||
'enable' => true ,
|
'enable' => true ,
|
||||||
"name" => "Bán hàng",
|
"name" => "Bán hàng",
|
||||||
|
"icon_class" => "store",
|
||||||
"url" => "",
|
"url" => "",
|
||||||
"menu" => array(
|
"menu" => array(
|
||||||
array(
|
array(
|
||||||
@@ -11,6 +12,7 @@ return array(
|
|||||||
'view' => 'home',
|
'view' => 'home',
|
||||||
'id' => 'order/home',
|
'id' => 'order/home',
|
||||||
'name' => 'Danh sách đơn hàng',
|
'name' => 'Danh sách đơn hàng',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/order', // &list=new
|
'url' => '/admin/order', // &list=new
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -20,6 +22,7 @@ return array(
|
|||||||
'view' => 'bargain',
|
'view' => 'bargain',
|
||||||
'id' => 'order/bargain',
|
'id' => 'order/bargain',
|
||||||
'name' => 'Mặc cả giá',
|
'name' => 'Mặc cả giá',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/order/bargain',
|
'url' => '/admin/order/bargain',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -29,16 +32,17 @@ return array(
|
|||||||
'view' => 'wait-order',
|
'view' => 'wait-order',
|
||||||
'id' => 'order/wait-order',
|
'id' => 'order/wait-order',
|
||||||
'name' => 'Chờ mua sản phẩm',
|
'name' => 'Chờ mua sản phẩm',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/order/wait-order',
|
'url' => '/admin/order/wait-order',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
array(
|
array(
|
||||||
'enable' => true ,
|
'enable' => true ,
|
||||||
'module' => 'order',
|
'module' => 'order',
|
||||||
'view' => 'paygate',
|
'view' => 'paygate',
|
||||||
'id' => 'order/paygate',
|
'id' => 'order/paygate',
|
||||||
'name' => 'Thanh toán qua cổng dịch vụ',
|
'name' => 'Thanh toán qua cổng dịch vụ',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/order/paygate',
|
'url' => '/admin/order/paygate',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -48,6 +52,7 @@ return array(
|
|||||||
'view' => 'price-quote',
|
'view' => 'price-quote',
|
||||||
'id' => 'order/price-quote',
|
'id' => 'order/price-quote',
|
||||||
'name' => 'Lập báo giá',
|
'name' => 'Lập báo giá',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/order/price-quote',
|
'url' => '/admin/order/price-quote',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
return array(
|
return array(
|
||||||
'enable' => true ,
|
'enable' => true ,
|
||||||
"name" => "Trả góp",
|
"name" => "Trả góp",
|
||||||
|
"icon_class" => "handshake",
|
||||||
"url" => "",
|
"url" => "",
|
||||||
"menu" => array(
|
"menu" => array(
|
||||||
array(
|
array(
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
return array(
|
return array(
|
||||||
'enable' => true ,
|
'enable' => true ,
|
||||||
|
|
||||||
"name" => "Xây dựng máy tính",
|
"name" => "Xây dựng máy tính",
|
||||||
|
"icon_class" => 'monitor-smartphone',
|
||||||
"url" => "",
|
"url" => "",
|
||||||
"menu" => array(
|
"menu" => array(
|
||||||
array(
|
array(
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
return array(
|
return array(
|
||||||
'enable' => true ,
|
'enable' => true ,
|
||||||
"name" => "Sản phẩm",
|
"name" => "Sản phẩm",
|
||||||
|
"icon_class" => 'package',
|
||||||
"url" => "",
|
"url" => "",
|
||||||
"menu" => array(
|
"menu" => array(
|
||||||
array(
|
array(
|
||||||
@@ -13,6 +14,7 @@ return array(
|
|||||||
'view' => 'home',
|
'view' => 'home',
|
||||||
'id' => 'product/home',
|
'id' => 'product/home',
|
||||||
'name' => 'Sản phẩm',
|
'name' => 'Sản phẩm',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/product',
|
'url' => '/admin/product',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -49,6 +51,7 @@ return array(
|
|||||||
'view' => 'category',
|
'view' => 'category',
|
||||||
'id' => 'product/category',
|
'id' => 'product/category',
|
||||||
'name' => 'Danh mục',
|
'name' => 'Danh mục',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/product/category',
|
'url' => '/admin/product/category',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
@@ -57,7 +60,8 @@ return array(
|
|||||||
'view' => 'home',
|
'view' => 'home',
|
||||||
'id' => 'brand/home',
|
'id' => 'brand/home',
|
||||||
'name' => 'Thương hiệu',
|
'name' => 'Thương hiệu',
|
||||||
'url' => '/admin/brand',
|
"icon_class" => '',
|
||||||
|
'url' => '/admin/product/brand',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'enable' => true ,
|
'enable' => true ,
|
||||||
@@ -65,6 +69,7 @@ return array(
|
|||||||
'view' => 'attribute',
|
'view' => 'attribute',
|
||||||
'id' => 'product/attribute',
|
'id' => 'product/attribute',
|
||||||
'name' => 'Thuộc tính ',
|
'name' => 'Thuộc tính ',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/product/attribute',
|
'url' => '/admin/product/attribute',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
@@ -73,6 +78,7 @@ return array(
|
|||||||
'view' => 'collection',
|
'view' => 'collection',
|
||||||
'id' => 'product/collection',
|
'id' => 'product/collection',
|
||||||
'name' => 'Bộ sưu tập',
|
'name' => 'Bộ sưu tập',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/product/collection',
|
'url' => '/admin/product/collection',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -82,6 +88,7 @@ return array(
|
|||||||
'view' => 'product-wait-list',
|
'view' => 'product-wait-list',
|
||||||
'id' => 'product/product-wait-list',
|
'id' => 'product/product-wait-list',
|
||||||
'name' => 'Chờ mua sản phẩm',
|
'name' => 'Chờ mua sản phẩm',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/product/product-wait-list',
|
'url' => '/admin/product/product-wait-list',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -91,7 +98,8 @@ return array(
|
|||||||
'view' => 'home',
|
'view' => 'home',
|
||||||
'id' => 'addon/home',
|
'id' => 'addon/home',
|
||||||
'name' => 'SP/Dịch vụ mua kèm',
|
'name' => 'SP/Dịch vụ mua kèm',
|
||||||
'url' => '/admin/addon',
|
"icon_class" => '',
|
||||||
|
'url' => '/admin/product/addon',
|
||||||
),
|
),
|
||||||
|
|
||||||
array(
|
array(
|
||||||
@@ -100,7 +108,8 @@ return array(
|
|||||||
'view' => 'home',
|
'view' => 'home',
|
||||||
'id' => 'config_group/home',
|
'id' => 'config_group/home',
|
||||||
'name' => 'Nhóm cấu hình',
|
'name' => 'Nhóm cấu hình',
|
||||||
'url' => '/admin/config_group',
|
"icon_class" => '',
|
||||||
|
'url' => '/admin/product/config_group',
|
||||||
),
|
),
|
||||||
|
|
||||||
/*array(
|
/*array(
|
||||||
@@ -109,6 +118,7 @@ return array(
|
|||||||
'view' => 'home',
|
'view' => 'home',
|
||||||
'id' => 'supplier/home',
|
'id' => 'supplier/home',
|
||||||
'name' => 'Nhà cung cấp',
|
'name' => 'Nhà cung cấp',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/supplier',
|
'url' => '/admin/supplier',
|
||||||
),*/
|
),*/
|
||||||
|
|
||||||
@@ -118,6 +128,7 @@ return array(
|
|||||||
'view' => 'set-promotion-price',
|
'view' => 'set-promotion-price',
|
||||||
'id' => 'product/set-promotion-price',
|
'id' => 'product/set-promotion-price',
|
||||||
'name' => 'Cài đặt giá khuyến mại',
|
'name' => 'Cài đặt giá khuyến mại',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/product/set-promotion-price',
|
'url' => '/admin/product/set-promotion-price',
|
||||||
),*/
|
),*/
|
||||||
|
|
||||||
@@ -127,6 +138,7 @@ return array(
|
|||||||
'view' => 'product-per-customer-group',
|
'view' => 'product-per-customer-group',
|
||||||
'id' => 'product/product-per-customer-group',
|
'id' => 'product/product-per-customer-group',
|
||||||
'name' => 'Giá theo nhóm khách hàng',
|
'name' => 'Giá theo nhóm khách hàng',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/product/product-per-customer-group',
|
'url' => '/admin/product/product-per-customer-group',
|
||||||
),*/
|
),*/
|
||||||
|
|
||||||
@@ -136,6 +148,7 @@ return array(
|
|||||||
'view' => 'set',
|
'view' => 'set',
|
||||||
'id' => 'product/set',
|
'id' => 'product/set',
|
||||||
'name' => 'Set sản phẩm',
|
'name' => 'Set sản phẩm',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/product/set',
|
'url' => '/admin/product/set',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -145,7 +158,18 @@ return array(
|
|||||||
'view' => 'spec-group',
|
'view' => 'spec-group',
|
||||||
'id' => 'product/spec-group',
|
'id' => 'product/spec-group',
|
||||||
'name' => 'Nhóm thông số kỹ thuật',
|
'name' => 'Nhóm thông số kỹ thuật',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/product/spec-group',
|
'url' => '/admin/product/spec-group',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
array(
|
||||||
|
'enable' => true ,
|
||||||
|
'module' => 'product',
|
||||||
|
'view' => 'list-competitor',
|
||||||
|
'id' => 'product/list-competitor',
|
||||||
|
'name' => 'So sánh giá đối thủ',
|
||||||
|
"icon_class" => '',
|
||||||
|
'url' => '/admin/product/list-competitor',
|
||||||
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ return array(
|
|||||||
'enable' => true ,
|
'enable' => true ,
|
||||||
|
|
||||||
"name" => "Thống kê",
|
"name" => "Thống kê",
|
||||||
|
"icon_class" => 'pie-chart',
|
||||||
"url" => "",
|
"url" => "",
|
||||||
"menu" => array(
|
"menu" => array(
|
||||||
array(
|
array(
|
||||||
@@ -12,6 +13,7 @@ return array(
|
|||||||
'view' => 'visitor',
|
'view' => 'visitor',
|
||||||
'id' => 'report/visitor',
|
'id' => 'report/visitor',
|
||||||
'name' => 'Thống kê truy cập',
|
'name' => 'Thống kê truy cập',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/report/visitor',
|
'url' => '/admin/report/visitor',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -21,6 +23,7 @@ return array(
|
|||||||
'view' => 'customer',
|
'view' => 'customer',
|
||||||
'id' => 'report/customer',
|
'id' => 'report/customer',
|
||||||
'name' => 'Thống kê khách hàng',
|
'name' => 'Thống kê khách hàng',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/report/customer',
|
'url' => '/admin/report/customer',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -30,6 +33,7 @@ return array(
|
|||||||
'view' => 'order',
|
'view' => 'order',
|
||||||
'id' => 'report/order',
|
'id' => 'report/order',
|
||||||
'name' => 'Thống kê đơn hàng',
|
'name' => 'Thống kê đơn hàng',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/report/order',
|
'url' => '/admin/report/order',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -39,6 +43,7 @@ return array(
|
|||||||
'view' => 'product-buy',
|
'view' => 'product-buy',
|
||||||
'id' => 'report/product-buy',
|
'id' => 'report/product-buy',
|
||||||
'name' => 'Sản phẩm mua nhiều',
|
'name' => 'Sản phẩm mua nhiều',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/report/product-buy',
|
'url' => '/admin/report/product-buy',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -48,6 +53,7 @@ return array(
|
|||||||
'view' => 'product-visit',
|
'view' => 'product-visit',
|
||||||
'id' => 'report/product-visit',
|
'id' => 'report/product-visit',
|
||||||
'name' => 'Sản phẩm xem nhiều',
|
'name' => 'Sản phẩm xem nhiều',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/report/product-visit',
|
'url' => '/admin/report/product-visit',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -57,6 +63,7 @@ return array(
|
|||||||
'view' => 'referer',
|
'view' => 'referer',
|
||||||
'id' => 'report/referer',
|
'id' => 'report/referer',
|
||||||
'name' => 'Web giới thiệu',
|
'name' => 'Web giới thiệu',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/report/referer',
|
'url' => '/admin/report/referer',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -66,6 +73,7 @@ return array(
|
|||||||
'view' => 'search',
|
'view' => 'search',
|
||||||
'id' => 'report/search',
|
'id' => 'report/search',
|
||||||
'name' => 'Từ khóa tìm kiếm',
|
'name' => 'Từ khóa tìm kiếm',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/report/search',
|
'url' => '/admin/report/search',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -75,6 +83,7 @@ return array(
|
|||||||
'view' => 'error-page',
|
'view' => 'error-page',
|
||||||
'id' => '',
|
'id' => '',
|
||||||
'name' => 'Lỗi website',
|
'name' => 'Lỗi website',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/report/error-page',
|
'url' => '/admin/report/error-page',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
return array(
|
return array(
|
||||||
'enable' => true ,
|
'enable' => true ,
|
||||||
"name" => "Hệ thống",
|
"name" => "Hệ thống",
|
||||||
|
"icon_class" => 'settings',
|
||||||
"url" => "",
|
"url" => "",
|
||||||
"menu" => array(
|
"menu" => array(
|
||||||
array(
|
array(
|
||||||
@@ -11,6 +12,7 @@ return array(
|
|||||||
'view' => 'settings',
|
'view' => 'settings',
|
||||||
'id' => 'system/settings',
|
'id' => 'system/settings',
|
||||||
'name' => 'Cài đặt chung',
|
'name' => 'Cài đặt chung',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/system/settings',
|
'url' => '/admin/system/settings',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -20,6 +22,7 @@ return array(
|
|||||||
'view' => 'home',
|
'view' => 'home',
|
||||||
'id' => 'template/home',
|
'id' => 'template/home',
|
||||||
'name' => 'Sửa file template',
|
'name' => 'Sửa file template',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/template',
|
'url' => '/admin/template',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -29,6 +32,7 @@ return array(
|
|||||||
'view' => 'home',
|
'view' => 'home',
|
||||||
'id' => '',
|
'id' => '',
|
||||||
'name' => 'Quản trị viên',
|
'name' => 'Quản trị viên',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/admin',
|
'url' => '/admin/admin',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -38,6 +42,7 @@ return array(
|
|||||||
'view' => 'store-address',
|
'view' => 'store-address',
|
||||||
'id' => '',
|
'id' => '',
|
||||||
'name' => 'Địa chỉ cửa hàng',
|
'name' => 'Địa chỉ cửa hàng',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/system/store-address',
|
'url' => '/admin/system/store-address',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -47,6 +52,7 @@ return array(
|
|||||||
'view' => 'domain',
|
'view' => 'domain',
|
||||||
'id' => 'system/domain',
|
'id' => 'system/domain',
|
||||||
'name' => 'Cài đặt tên miền',
|
'name' => 'Cài đặt tên miền',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/system/domain',
|
'url' => '/admin/system/domain',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -56,6 +62,7 @@ return array(
|
|||||||
'view' => 'ban-ip',
|
'view' => 'ban-ip',
|
||||||
'id' => '',
|
'id' => '',
|
||||||
'name' => 'Chặn IP truy cập website',
|
'name' => 'Chặn IP truy cập website',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/system/ban-ip',
|
'url' => '/admin/system/ban-ip',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -65,10 +72,11 @@ return array(
|
|||||||
'view' => 'change-info',
|
'view' => 'change-info',
|
||||||
'id' => '',
|
'id' => '',
|
||||||
'name' => 'Thông tin website',
|
'name' => 'Thông tin website',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/system/change-info',
|
'url' => '/admin/system/change-info',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
array(
|
array(
|
||||||
'enable' => true ,
|
'enable' => true ,
|
||||||
@@ -76,6 +84,7 @@ return array(
|
|||||||
'view' => 'province-list',
|
'view' => 'province-list',
|
||||||
'id' => '',
|
'id' => '',
|
||||||
'name' => 'Cài đặt tỉnh thành',
|
'name' => 'Cài đặt tỉnh thành',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/system/province-list',
|
'url' => '/admin/system/province-list',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -85,6 +94,7 @@ return array(
|
|||||||
'view' => 'home',
|
'view' => 'home',
|
||||||
'id' => '',
|
'id' => '',
|
||||||
'name' => 'Tình trạng đơn hàng',
|
'name' => 'Tình trạng đơn hàng',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/system/order-status',
|
'url' => '/admin/system/order-status',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -94,6 +104,7 @@ return array(
|
|||||||
'view' => 'home',
|
'view' => 'home',
|
||||||
'id' => '',
|
'id' => '',
|
||||||
'name' => 'Hỗ trợ bán hàng',
|
'name' => 'Hỗ trợ bán hàng',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/online_support',
|
'url' => '/admin/online_support',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -103,6 +114,7 @@ return array(
|
|||||||
'view' => 'country',
|
'view' => 'country',
|
||||||
'id' => '',
|
'id' => '',
|
||||||
'name' => 'Quốc gia',
|
'name' => 'Quốc gia',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/system/country',
|
'url' => '/admin/system/country',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -112,6 +124,7 @@ return array(
|
|||||||
'view' => 'home',
|
'view' => 'home',
|
||||||
'id' => '',
|
'id' => '',
|
||||||
'name' => 'Cài đặt thông báo ngoài',
|
'name' => 'Cài đặt thông báo ngoài',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/report_out',
|
'url' => '/admin/report_out',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -121,6 +134,7 @@ return array(
|
|||||||
'view' => 'home',
|
'view' => 'home',
|
||||||
'id' => '',
|
'id' => '',
|
||||||
'name' => 'Cài đặt phí vận chuyển',
|
'name' => 'Cài đặt phí vận chuyển',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/shipping2',
|
'url' => '/admin/shipping2',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -130,6 +144,7 @@ return array(
|
|||||||
'view' => 'redirect',
|
'view' => 'redirect',
|
||||||
'id' => 'url/redirect',
|
'id' => 'url/redirect',
|
||||||
'name' => 'Url Redirect',
|
'name' => 'Url Redirect',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/url/redirect',
|
'url' => '/admin/url/redirect',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -139,17 +154,10 @@ return array(
|
|||||||
'view' => 'home',
|
'view' => 'home',
|
||||||
'id' => 'tool/home',
|
'id' => 'tool/home',
|
||||||
'name' => 'Công cụ',
|
'name' => 'Công cụ',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/tool',
|
'url' => '/admin/tool',
|
||||||
),
|
),
|
||||||
|
|
||||||
array(
|
|
||||||
'enable' => true ,
|
|
||||||
'module' => 'civi',
|
|
||||||
'view' => 'home',
|
|
||||||
'id' => '',
|
|
||||||
'name' => 'Civi Affiliate',
|
|
||||||
'url' => '/admin/civi',
|
|
||||||
),
|
|
||||||
|
|
||||||
array(
|
array(
|
||||||
'enable' => true ,
|
'enable' => true ,
|
||||||
@@ -157,6 +165,7 @@ return array(
|
|||||||
'view' => 'home',
|
'view' => 'home',
|
||||||
'id' => 'menu/home',
|
'id' => 'menu/home',
|
||||||
'name' => 'Quản trị menu',
|
'name' => 'Quản trị menu',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/menu',
|
'url' => '/admin/menu',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -166,6 +175,7 @@ return array(
|
|||||||
'view' => 'keyword-suggest',
|
'view' => 'keyword-suggest',
|
||||||
'id' => 'system/keyword-suggest',
|
'id' => 'system/keyword-suggest',
|
||||||
'name' => 'Từ khóa gợi ý',
|
'name' => 'Từ khóa gợi ý',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/system/keyword-suggest',
|
'url' => '/admin/system/keyword-suggest',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -175,6 +185,7 @@ return array(
|
|||||||
'view' => 'home',
|
'view' => 'home',
|
||||||
'id' => 'tag/home',
|
'id' => 'tag/home',
|
||||||
'name' => 'Quản trị Tag',
|
'name' => 'Quản trị Tag',
|
||||||
|
"icon_class" => '',
|
||||||
'url' => '/admin/tag',
|
'url' => '/admin/tag',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ return array(
|
|||||||
'enable' => true ,
|
'enable' => true ,
|
||||||
|
|
||||||
"name" => "Bảo hành sản phẩm",
|
"name" => "Bảo hành sản phẩm",
|
||||||
|
"icon_class" => '',
|
||||||
"url" => "",
|
"url" => "",
|
||||||
"menu" => array(
|
"menu" => array(
|
||||||
/*0 => array(
|
/*0 => array(
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ $objAOrderController = new AOrderController();
|
|||||||
$totalResults = $objAOrderController->getTotal($conditions);
|
$totalResults = $objAOrderController->getTotal($conditions);
|
||||||
$item_list = $objAOrderController->getList($conditions);
|
$item_list = $objAOrderController->getList($conditions);
|
||||||
|
|
||||||
debug_var($item_list);
|
//debug_var($item_list);
|
||||||
|
|
||||||
list($page_collection, $tb_page, $total_pages) = Paging::paging_template($totalResults, $numPerPage);
|
list($page_collection, $tb_page, $total_pages) = Paging::paging_template($totalResults, $numPerPage);
|
||||||
|
|
||||||
|
|||||||
1
data/page/category.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/page/category_add.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/page/form.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/page/home.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/payinstall/add_company.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/payinstall/add_period.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/payinstall/add_upfront.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/payinstall/category.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/payinstall/home.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/payinstall/order.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/payinstall/order_detail.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/pcbuilder/config_edit.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/pcbuilder/home.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/pcbuilder/part_relation.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/product/addon.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/product/addon_add.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/product/attribute.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/product/attribute_add.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/product/brand.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/product/brand_add.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
@@ -28,8 +28,8 @@ function get_category_list($parentId=0, $currentCat="",$level=1, $prefix="", $ca
|
|||||||
$stt ++;
|
$stt ++;
|
||||||
$imgUrl = (strlen($cat_info["thumbnail"]) > 2) ? " <img src=\"".$cat_info["thumbnail"]."\" style=\"max-width:30px; max-height:30px;\" />" : "";
|
$imgUrl = (strlen($cat_info["thumbnail"]) > 2) ? " <img src=\"".$cat_info["thumbnail"]."\" style=\"max-width:30px; max-height:30px;\" />" : "";
|
||||||
|
|
||||||
if($cat_info["status"]) $status = "<a href=\"javascript:update_status(".$cat_id.",'off')\">Hạ xuống</a>";
|
if($cat_info["status"]) $status = "<a href=\"javascript:update_status(".$cat_id.",'off')\" class='btn btn-soft btn-xs btn-outline btn-square'><i data-lucide='eye-off' class='size-3'></i></a>";
|
||||||
else $status = "<a href=\"javascript:update_status(".$cat_id.",'on')\" style=\"background-color:#FFCC00;\">Hiển thị</a>";
|
else $status = "<a href=\"javascript:update_status(".$cat_id.",'on')\" class='btn btn-soft btn-xs btn-outline btn-square'><i data-lucide='eye' class='size-3'></i></a>";
|
||||||
|
|
||||||
$edit_link ="/admin/product/category-form?id=".$cat_id;
|
$edit_link ="/admin/product/category-form?id=".$cat_id;
|
||||||
|
|
||||||
@@ -42,48 +42,54 @@ function get_category_list($parentId=0, $currentCat="",$level=1, $prefix="", $ca
|
|||||||
}
|
}
|
||||||
|
|
||||||
if($cat_info['is_parent']) {
|
if($cat_info['is_parent']) {
|
||||||
$show_category_name = "<a href=\"javascript:;\" onclick=\"RowExpand.open_child('parent_".$cat_id."')\">".$show_category_name."</a>";
|
$show_category_name = "<a href=\"javascript:;\" class='link-active' onclick=\"RowExpand.open_child('parent_".$cat_id."')\">".$show_category_name."</a>";
|
||||||
}
|
}
|
||||||
|
|
||||||
$categoryTree .= "
|
$categoryTree .= "
|
||||||
<tr id='row_".$cat_id."' class='parent_".$parentId." row' ". $hide_this ."
|
<tr id='row_".$cat_id."' class='parent_".$parentId." row' ". $hide_this ."
|
||||||
onmouseover=\"this.className='row-hover parent_".$parentId."'\" onmouseout=\"this.className='parent_".$parentId."'\">
|
onmouseover=\"this.className='row-hover parent_".$parentId."'\" onmouseout=\"this.className='parent_".$parentId."'\">
|
||||||
|
|
||||||
<td>".$cat_id."</td>
|
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
<a name='cat_".$cat_id."'></a>
|
<a class='link-active' name='cat_".$cat_id."'></a>
|
||||||
". $extra_space . $prefix . $stt.". ". $show_category_name . $imgUrl."
|
". $extra_space . $prefix . $stt.". ". $show_category_name . $imgUrl."
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td>".$cat_info['item_count']." - <a href='/admin/product?category=".$cat_id."'>Xem</a></td>
|
<td>
|
||||||
|
<a href='".$cat_info['request_path']."' class='link-active' title='Mở tại website' target='_blank'>Xem trang</a>
|
||||||
<td>
|
|
||||||
<a href='".$cat_info['request_path']."' title='Mở tại website' target='_blank'>Web</a>
|
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
<td>".$cat_id."</td>
|
||||||
|
<td class='whitespace-nowrap'>413787</td>
|
||||||
|
<td><a class='link-active' href='/admin/product?category=".$cat_id."'>1292</a></td>
|
||||||
<td>
|
<td>
|
||||||
<input type=text id=order_".$cat_id." value='".$cat_info["ordering"]."' size=2 onchange=\"update_order(".$cat_id.",this.value)\" />
|
<input class='input' type=text id=order_".$cat_id." value='".$cat_info["ordering"]."' size=2 onchange=\"update_order(".$cat_id.",this.value)\" />
|
||||||
<span class='status-ordering-".$cat_id."'></span>
|
<span class='status-ordering-".$cat_id."'></span>
|
||||||
</td>
|
</td>
|
||||||
|
<td class='whitespace-nowrap'>
|
||||||
|
SP + Danh mục con
|
||||||
|
</td>
|
||||||
|
|
||||||
";
|
";
|
||||||
|
|
||||||
if(IS_DEFAULT_LANGUAGE) {
|
if(IS_DEFAULT_LANGUAGE) {
|
||||||
$categoryTree .= "
|
$categoryTree .= "
|
||||||
<td>
|
<td>
|
||||||
<a href='/admin/product/category-attribute?id=".$cat_id."&popup=1' class='pop-up'>Thuộc tính</a> (".$cat_info['attribute_count'].")
|
<a href='/admin/product/category-attribute?id=".$cat_id."&popup=1' class='pop-up'>Tổng</a> (".$cat_info['attribute_count'].")
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<span id=status-".$cat_id.">".$status."</span> |
|
<div class='list-btn flex items-center gap-3'>
|
||||||
<a href=\"".$edit_link."\">Sửa lại</a> |
|
<a href=\"".$edit_link."\" class='btn btn-soft btn-xs btn-square btn-outline btn-view'><i data-lucide='pencil' class='size-3'></i></a>
|
||||||
<span class='status-delete-".$cat_id."'><a href=\"javascript:deleteThis(".$cat_id.")\">Xóa</a></span>
|
<a class='btn btn-soft btn-xs btn-square btn-outline btn-view' href='javascript:set_category_feature(.$cat_id.,'off')'><i data-lucide='crown' class='size-3'></i></a>
|
||||||
|
<span id=status-".$cat_id.">".$status."</span>
|
||||||
|
<span class='status-delete-".$cat_id."'><a href=\"javascript:deleteThis(".$cat_id.")\" class='btn btn-soft btn-xs btn-square btn-error btn-outline '><i data-lucide='trash-2' class='size-3'></i></a></span>
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
";
|
";
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
$categoryTree .= "
|
$categoryTree .= "
|
||||||
<td>
|
<td>
|
||||||
<a href=\"".$edit_link."\">Sửa lại</a>
|
<a href=\"".$edit_link."\"><i data-lucide='pencil' class='size-3'></i></a>
|
||||||
</td>
|
</td>
|
||||||
";
|
";
|
||||||
}
|
}
|
||||||
|
|||||||
1
data/product/collection.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/product/collection_add.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/product/config_group.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/product/config_group_attribute.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/product/config_group_form.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/product/config_group_product.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/product/list_competitor.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/product/set.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/product/set_form.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/product/set_product.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/product/spec_group.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/product/spec_group_add.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/product/spec_group_info.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/report/customer.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/report/order.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/report/product_buy.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||
1
data/report/product_visit.php
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<?php
|
||||||