Merge branch 'dev/net' into develop
This commit is contained in:
commit
c7f9817028
6 changed files with 28 additions and 9 deletions
|
|
@ -5,10 +5,11 @@
|
|||
@import 'open-props/zindex';
|
||||
|
||||
:root {
|
||||
--_main-page-branch-tooltip: 100%;
|
||||
--_bg-box-content: var(--blue-5);
|
||||
--_color-box-content-text: var(--_bg-box-content);
|
||||
--_bg-box-content-text: white;
|
||||
--_bg-tooltip-branch: var(--indigo-0);
|
||||
--_bg-tooltip-branch: #f0f9ff;
|
||||
--_bg-tooltip-branch-arrow: var(--_bg-tooltip-branch);
|
||||
}
|
||||
|
||||
|
|
|
|||
5
src/i18n/en-US/branch-main-page.ts
Normal file
5
src/i18n/en-US/branch-main-page.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
export default {
|
||||
branchManagement: 'Branch Management',
|
||||
branchNoMainOfficeYet: 'No main office yet',
|
||||
branchClickToCreateMainOffice: 'Click + to create a main office',
|
||||
};
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
// This is just an example,
|
||||
// so you can safely delete all default props below
|
||||
import drawerComponent from './drawer-component';
|
||||
import branchMainPage from './branch-main-page';
|
||||
|
||||
export default {
|
||||
ok: 'Confirm',
|
||||
|
|
@ -11,4 +12,5 @@ export default {
|
|||
download: 'Download',
|
||||
save: 'Save',
|
||||
...drawerComponent,
|
||||
...branchMainPage,
|
||||
};
|
||||
|
|
|
|||
5
src/i18n/th-th/branch-main-page.ts
Normal file
5
src/i18n/th-th/branch-main-page.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
export default {
|
||||
branchManagement: 'จัดการสาขา',
|
||||
branchNoMainOfficeYet: 'ยังไม่มีสำนักงานใหญ่',
|
||||
branchClickToCreateMainOffice: 'คลิก + เพื่อสร้างสำนักงานใหญ่', // Click to create a main office.
|
||||
};
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
import drawerComponent from './drawer-component';
|
||||
import branchMainPage from './branch-main-page';
|
||||
|
||||
export default {
|
||||
ok: 'ยืนยัน',
|
||||
|
|
@ -9,4 +10,5 @@ export default {
|
|||
download: 'ดาวน์โหลด',
|
||||
save: 'บันทึก',
|
||||
...drawerComponent,
|
||||
...branchMainPage,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -4,7 +4,9 @@ import AppBox from 'components/app/AppBox.vue';
|
|||
</script>
|
||||
<template>
|
||||
<div class="column">
|
||||
<div class="row text-h6 text-weight-bold q-mb-md">จัดการสาขา</div>
|
||||
<div class="row text-h6 text-weight-bold q-mb-md">
|
||||
{{ $t('branchManagement') }}
|
||||
</div>
|
||||
|
||||
<app-box bordered style="width: 100%; height: 500px">
|
||||
<div class="column" style="height: 100%">
|
||||
|
|
@ -14,7 +16,7 @@ import AppBox from 'components/app/AppBox.vue';
|
|||
<q-btn
|
||||
unelevated
|
||||
class="color-btn-icon"
|
||||
size="5px"
|
||||
size="10px"
|
||||
round
|
||||
icon="mdi-exclamation"
|
||||
:class="{ 'dark-btn-icon': $q.dark.isActive }"
|
||||
|
|
@ -25,6 +27,7 @@ import AppBox from 'components/app/AppBox.vue';
|
|||
:class="{ 'dark-tooltip-text': $q.dark.isActive }"
|
||||
>
|
||||
<q-img
|
||||
class="q-mt-md"
|
||||
:src="`/img-table-${$q.dark.isActive ? 'dark' : 'light'}.png`"
|
||||
width="60%"
|
||||
/>
|
||||
|
|
@ -33,13 +36,13 @@ import AppBox from 'components/app/AppBox.vue';
|
|||
:class="{ 'dack-box-content': $q.dark.isActive }"
|
||||
>
|
||||
<div class="column justify-center" style="height: 100%">
|
||||
<div class="col-4">ยังไม่มีสำนักงานใหญ่</div>
|
||||
<div class="col-4">{{ $t('branchNoMainOfficeYet') }}</div>
|
||||
<div class="col-4 q-mb-md q-px-md">
|
||||
<div
|
||||
class="content-text q-pa-sm"
|
||||
:class="{ 'dack-content-text': $q.dark.isActive }"
|
||||
>
|
||||
คลิก + เพื่อสร้างสำนักงานใหญ่
|
||||
{{ $t('branchClickToCreateMainOffice') }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -102,6 +105,7 @@ import AppBox from 'components/app/AppBox.vue';
|
|||
--_bg-tooltip-branch-arrow: var(--_bg-box-content);
|
||||
--_bg-box-content-text: var(--gray-11);
|
||||
--_color-box-content-text: var(--gray-0);
|
||||
--_main-page-branch-tooltip: 100.5%;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -113,7 +117,7 @@ import AppBox from 'components/app/AppBox.vue';
|
|||
|
||||
.tooltip .tooltip-text {
|
||||
visibility: hidden;
|
||||
width: 242px;
|
||||
width: 250px;
|
||||
height: 200px;
|
||||
background-color: var(--_bg-tooltip-branch);
|
||||
color: white;
|
||||
|
|
@ -122,8 +126,8 @@ import AppBox from 'components/app/AppBox.vue';
|
|||
padding: 5px 0;
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
bottom: -170px;
|
||||
left: -255px;
|
||||
bottom: -165px;
|
||||
left: -265px;
|
||||
}
|
||||
|
||||
.tooltip .tooltip-text::after {
|
||||
|
|
@ -131,7 +135,7 @@ import AppBox from 'components/app/AppBox.vue';
|
|||
z-index: -99;
|
||||
position: absolute;
|
||||
top: 7%;
|
||||
left: 100.2%;
|
||||
left: var(--_main-page-branch-tooltip);
|
||||
border-width: 8px;
|
||||
border-style: solid;
|
||||
border-color: var(--_bg-tooltip-branch-arrow) transparent transparent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue