update to japanese
This commit is contained in:
@ -9,7 +9,7 @@ const TheFooter = () => {
|
||||
<span className="ml-1">© 2021 DigitalVox.</span>
|
||||
</div>
|
||||
<div className="mfs-auto">
|
||||
<span className="mr-1">Powered by</span>
|
||||
<span className="mr-1">搭載</span>
|
||||
<a href="#" target="_blank" rel="noopener noreferrer">DigitalVox</a>
|
||||
</div>
|
||||
</CFooter>
|
||||
|
||||
@ -56,13 +56,7 @@ const TheHeader = () => {
|
||||
|
||||
<CHeaderNav className="d-md-down-none mr-auto">
|
||||
<CHeaderNavItem className="px-3" >
|
||||
<CHeaderNavLink to="/dashboard">Dashboard</CHeaderNavLink>
|
||||
</CHeaderNavItem>
|
||||
<CHeaderNavItem className="px-3">
|
||||
<CHeaderNavLink to="/users">Users</CHeaderNavLink>
|
||||
</CHeaderNavItem>
|
||||
<CHeaderNavItem className="px-3">
|
||||
<CHeaderNavLink>Settings</CHeaderNavLink>
|
||||
<CHeaderNavLink to="/dashboard">ダッシュボード</CHeaderNavLink>
|
||||
</CHeaderNavItem>
|
||||
</CHeaderNav>
|
||||
|
||||
@ -71,21 +65,6 @@ const TheHeader = () => {
|
||||
className="border-0 c-subheader-nav m-0 px-0 px-md-3"
|
||||
routes={routes}
|
||||
/>
|
||||
<div className="d-md-down-none mfe-2 c-subheader-nav">
|
||||
<CLink className="c-subheader-nav-link"href="#">
|
||||
<CIcon name="cil-speech" alt="Settings" />
|
||||
</CLink>
|
||||
<CLink
|
||||
className="c-subheader-nav-link"
|
||||
aria-current="page"
|
||||
to="/dashboard"
|
||||
>
|
||||
<CIcon name="cil-graph" alt="Dashboard" /> Dashboard
|
||||
</CLink>
|
||||
<CLink className="c-subheader-nav-link" href="#">
|
||||
<CIcon name="cil-settings" alt="Settings" /> Settings
|
||||
</CLink>
|
||||
</div>
|
||||
</CSubheader>
|
||||
</CHeader>
|
||||
)
|
||||
|
||||
@ -3,18 +3,18 @@ import CIcon from '@coreui/icons-react'
|
||||
|
||||
const _nav = [{
|
||||
_tag: 'CSidebarNavItem',
|
||||
name: 'Dashboard',
|
||||
name: 'ダッシュボード',
|
||||
to: '/dashboard',
|
||||
icon: < CIcon name = "cil-speedometer"
|
||||
customClasses = "c-sidebar-nav-icon" / >
|
||||
},
|
||||
{
|
||||
_tag: 'CSidebarNavTitle',
|
||||
_children: ['Reports']
|
||||
_children: ['レポート']
|
||||
},
|
||||
{
|
||||
_tag: 'CSidebarNavItem',
|
||||
name: 'Download reports',
|
||||
name: '報告書',
|
||||
to: '/reports',
|
||||
icon: 'cil-drop',
|
||||
},
|
||||
|
||||
@ -6,8 +6,8 @@ const BoxDisplacemen = React.lazy(() => import('./views/BoxDisplacemen/index'));
|
||||
|
||||
const routes = [
|
||||
{ path: '/', exact: true, name: 'Home' },
|
||||
{ path: '/dashboard', name: 'Dashboard', component: Dashboard },
|
||||
{ path: '/reports', exact: true, name: 'Reports', component: BoxDisplacemen },
|
||||
{ path: '/dashboard', name: 'ダッシュボード', component: Dashboard },
|
||||
{ path: '/reports', exact: true, name: 'レポート', component: BoxDisplacemen },
|
||||
];
|
||||
|
||||
export default routes;
|
||||
|
||||
@ -86,12 +86,12 @@ function Index() {
|
||||
<CCol xs="12" sm="12" md="12">
|
||||
<CCard>
|
||||
<CCardHeader>
|
||||
Reports
|
||||
レポート
|
||||
</CCardHeader>
|
||||
<CCardBody>
|
||||
|
||||
<CSelect custom name="cons_select" id="cons_select" onChange={setingSelectedCons}>
|
||||
" <option value=''>-- Select --</option>"+
|
||||
" <option value=''>-- 選択 --</option>"+
|
||||
{
|
||||
data.map((cc, index) => {
|
||||
return(
|
||||
@ -107,19 +107,19 @@ function Index() {
|
||||
<CForm action="" method="post" encType="multipart/form-data" className="form-horizontal">
|
||||
<CFormGroup row>
|
||||
<CCol md="3">
|
||||
<CLabel htmlFor="date-input">Date ({sdate})</CLabel>
|
||||
<CLabel htmlFor="date-input">日付 ({sdate})</CLabel>
|
||||
</CCol>
|
||||
<CCol xs="12" md="9">
|
||||
<CInput type="date" id="date-input" name="date-input" placeholder="date" value={sdate} onChange={setingSDate}/>
|
||||
<CInput type="date" id="date-input" name="date-input" placeholder="日付" value={sdate} onChange={setingSDate}/>
|
||||
</CCol>
|
||||
</CFormGroup>
|
||||
<CFormGroup row>
|
||||
<CCol md="3">
|
||||
<CLabel htmlFor="select">Select</CLabel>
|
||||
<CLabel htmlFor="select">選択</CLabel>
|
||||
</CCol>
|
||||
<CCol xs="12" md="9">
|
||||
<CSelect custom name="select" id="select" onChange={setingReport} value={report}>
|
||||
<option value="">-- Select --</option>
|
||||
<option value="">-- 選択 --</option>
|
||||
<option value="generateBoxDisplacement">Box Displacement</option>
|
||||
<option value="generateMachineControl">Machine Control</option>
|
||||
<option value="generateMachineSheet">Machine Sheet</option>
|
||||
@ -134,7 +134,7 @@ function Index() {
|
||||
</CForm>
|
||||
</CCardBody>
|
||||
<CCardFooter>
|
||||
<CButton type="submit" size="sm" color="primary" onClick={doGetReport}><CIcon name="cil-scrubber" /> Download</CButton>
|
||||
<CButton type="submit" size="sm" color="primary" onClick={doGetReport}><CIcon name="cil-scrubber" /> ダウンロード</CButton>
|
||||
</CCardFooter>
|
||||
</CCard>
|
||||
</CCardBody>
|
||||
|
||||
Reference in New Issue
Block a user