diff --git a/src/app/core/components/navigation/vertical/nav-group/nav-vertical-group.component.html b/src/app/core/components/navigation/vertical/nav-group/nav-vertical-group.component.html
index 3fd40abf..fe5042bb 100644
--- a/src/app/core/components/navigation/vertical/nav-group/nav-vertical-group.component.html
+++ b/src/app/core/components/navigation/vertical/nav-group/nav-vertical-group.component.html
@@ -1,6 +1,7 @@
- {{ item.title }}
+ {{ item.title }}
+
diff --git a/src/app/core/components/navigation/vertical/nav-item/nav-vertical-item.component.html b/src/app/core/components/navigation/vertical/nav-item/nav-vertical-item.component.html
index 33ec1c81..f0dc5201 100644
--- a/src/app/core/components/navigation/vertical/nav-item/nav-vertical-item.component.html
+++ b/src/app/core/components/navigation/vertical/nav-item/nav-vertical-item.component.html
@@ -1,8 +1,8 @@
{{item.icon}}
- {{item.title}}
- {{item.title}}
+
{{item.badge.title}}
@@ -10,8 +10,8 @@
{{item.icon}}
- {{item.title}}
- {{item.title}}
+
{{item.badge.title}}
diff --git a/src/app/core/modules/shared.module.ts b/src/app/core/modules/shared.module.ts
index b3ae6152..b552656c 100644
--- a/src/app/core/modules/shared.module.ts
+++ b/src/app/core/modules/shared.module.ts
@@ -5,7 +5,7 @@ import { CommonModule } from '@angular/common';
import { MaterialModule } from './material.module';
import { FlexLayoutModule } from '@angular/flex-layout';
import { ColorPickerModule } from 'ngx-color-picker';
-import { NgxDnDModule } from '@withinpixels/ngx-dnd';
+import { NgxDnDModule } from '@swimlane/ngx-dnd';
import { NgxDatatableModule } from '@swimlane/ngx-datatable';
import { FuseMatSidenavHelperDirective, FuseMatSidenavTogglerDirective } from '../directives/fuse-mat-sidenav-helper/fuse-mat-sidenav-helper.directive';
diff --git a/src/app/core/scss/partials/_navigation.scss b/src/app/core/scss/partials/_navigation.scss
index 692ebda0..9385e074 100644
--- a/src/app/core/scss/partials/_navigation.scss
+++ b/src/app/core/scss/partials/_navigation.scss
@@ -47,14 +47,20 @@
}
.nav-link-badge {
+ display: flex;
+ align-items: center;
min-width: 20px;
height: 20px;
- line-height: 20px;
padding: 0 7px;
font-size: 11px;
font-weight: 500;
border-radius: 20px;
transition: opacity 0.2s ease-in-out 0.1s;
+ margin-left: 8px;
+
+ + .collapse-arrow {
+ margin-left: 8px;
+ }
}
&:hover {
diff --git a/src/app/core/scss/partials/plugins/_ngx-color-picker.scss b/src/app/core/scss/partials/plugins/_ngx-color-picker.scss
index d103a994..aab3d8d7 100644
--- a/src/app/core/scss/partials/plugins/_ngx-color-picker.scss
+++ b/src/app/core/scss/partials/plugins/_ngx-color-picker.scss
@@ -3,20 +3,21 @@
.color-picker {
height: auto !important;
border: none !important;
+
@include mat-elevation(4);
.preset-area {
- //padding: 4px 15px;
- padding: 0 0 12px 12px !important;
+ padding: 0 0 16px 16px !important;
height: 140px;
overflow-y: auto;
overflow-x: hidden;
+
> hr {
display: none;
}
+
.preset-label {
display: none;
-
}
.preset-color {
@@ -25,7 +26,8 @@
margin: 0 !important;
border: none !important;
border-radius: 0 !important;
- &:nth-child(14n+3) {
+
+ &:nth-child(14n+1) {
clear: both;
}
}
diff --git a/src/app/navigation/i18n/en.ts b/src/app/navigation/i18n/en.ts
new file mode 100644
index 00000000..e6a6da10
--- /dev/null
+++ b/src/app/navigation/i18n/en.ts
@@ -0,0 +1,24 @@
+export const locale = {
+ lang: 'en',
+ data: {
+ 'NAV': {
+ 'APPLICATIONS': 'Applications',
+ 'DASHBOARDS' : 'Dashboards',
+ 'CALENDAR' : 'Calendar',
+ 'ECOMMERCE' : 'E-Commerce',
+ 'MAIL' : {
+ 'TITLE': 'Mail',
+ 'BADGE': '25'
+ },
+ 'MAIL_NGRX' : {
+ 'TITLE': 'Mail Ngrx',
+ 'BADGE': '13'
+ },
+ 'CHAT' : 'Chat',
+ 'FILE_MANAGER': 'File Manager',
+ 'CONTACTS' : 'Contacts',
+ 'TODO' : 'To-Do',
+ 'SCRUMBOARD' : 'Scrumboard'
+ }
+ }
+};
diff --git a/src/app/navigation/i18n/tr.ts b/src/app/navigation/i18n/tr.ts
new file mode 100644
index 00000000..7eb06307
--- /dev/null
+++ b/src/app/navigation/i18n/tr.ts
@@ -0,0 +1,24 @@
+export const locale = {
+ lang: 'tr',
+ data: {
+ 'NAV': {
+ 'APPLICATIONS': 'Programlar',
+ 'DASHBOARDS' : 'Kontrol Paneli',
+ 'CALENDAR' : 'Takvim',
+ 'ECOMMERCE' : 'E-Ticaret',
+ 'MAIL' : {
+ 'TITLE': 'Posta',
+ 'BADGE': '15'
+ },
+ 'MAIL_NGRX' : {
+ 'TITLE': 'Posta Ngrx',
+ 'BADGE': '13'
+ },
+ 'CHAT' : 'Sohbet',
+ 'FILE_MANAGER': 'Dosya Yöneticisi',
+ 'CONTACTS' : 'Kişiler',
+ 'TODO' : 'Yapılacaklar',
+ 'SCRUMBOARD' : 'Proje'
+ }
+ }
+};
diff --git a/src/app/navigation.model.ts b/src/app/navigation/navigation.model.ts
similarity index 69%
rename from src/app/navigation.model.ts
rename to src/app/navigation/navigation.model.ts
index 3c8734cb..c9f4cefa 100644
--- a/src/app/navigation.model.ts
+++ b/src/app/navigation/navigation.model.ts
@@ -1,4 +1,6 @@
-export class NavigationModel
+import { FuseNavigationModelInterface } from '../core/components/navigation/navigation.model';
+
+export class FuseNavigationModel implements FuseNavigationModelInterface
{
public model: any[];
@@ -8,16 +10,19 @@ export class NavigationModel
{
'id' : 'applications',
'title' : 'Applications',
+ 'translate': 'NAV.APPLICATIONS',
'type' : 'group',
'children': [
{
'id' : 'sample',
'title': 'Sample',
+ 'translate': 'NAV.MAIL.TITLE',
'type' : 'item',
'icon' : 'email',
'url' : '/sample',
'badge': {
'title': 25,
+ 'translate': 'NAV.MAIL.BADGE',
'bg' : '#F44336',
'fg' : '#FFFFFF'
}
diff --git a/src/assets/images/backgrounds/april.jpg b/src/assets/images/backgrounds/april.jpg
deleted file mode 100644
index 6c2152bb..00000000
Binary files a/src/assets/images/backgrounds/april.jpg and /dev/null differ
diff --git a/src/assets/images/backgrounds/august.jpg b/src/assets/images/backgrounds/august.jpg
deleted file mode 100644
index 14cc9ff7..00000000
Binary files a/src/assets/images/backgrounds/august.jpg and /dev/null differ
diff --git a/src/assets/images/backgrounds/autumn.jpg b/src/assets/images/backgrounds/autumn.jpg
new file mode 100644
index 00000000..1ba75a8f
Binary files /dev/null and b/src/assets/images/backgrounds/autumn.jpg differ
diff --git a/src/assets/images/backgrounds/dark-material-bg.jpg b/src/assets/images/backgrounds/dark-material-bg.jpg
new file mode 100644
index 00000000..2453fde7
Binary files /dev/null and b/src/assets/images/backgrounds/dark-material-bg.jpg differ
diff --git a/src/assets/images/backgrounds/december.jpg b/src/assets/images/backgrounds/december.jpg
deleted file mode 100644
index d81386bd..00000000
Binary files a/src/assets/images/backgrounds/december.jpg and /dev/null differ
diff --git a/src/assets/images/backgrounds/february.jpg b/src/assets/images/backgrounds/february.jpg
deleted file mode 100644
index a9aa605b..00000000
Binary files a/src/assets/images/backgrounds/february.jpg and /dev/null differ
diff --git a/src/assets/images/backgrounds/january.jpg b/src/assets/images/backgrounds/january.jpg
deleted file mode 100644
index 60ad972b..00000000
Binary files a/src/assets/images/backgrounds/january.jpg and /dev/null differ
diff --git a/src/assets/images/backgrounds/july.jpg b/src/assets/images/backgrounds/july.jpg
deleted file mode 100644
index 1dc30568..00000000
Binary files a/src/assets/images/backgrounds/july.jpg and /dev/null differ
diff --git a/src/assets/images/backgrounds/june.jpg b/src/assets/images/backgrounds/june.jpg
deleted file mode 100644
index 80c6ec24..00000000
Binary files a/src/assets/images/backgrounds/june.jpg and /dev/null differ
diff --git a/src/assets/images/backgrounds/march.jpg b/src/assets/images/backgrounds/march.jpg
deleted file mode 100644
index 01684e40..00000000
Binary files a/src/assets/images/backgrounds/march.jpg and /dev/null differ
diff --git a/src/assets/images/backgrounds/may.jpg b/src/assets/images/backgrounds/may.jpg
deleted file mode 100644
index bc6d04e1..00000000
Binary files a/src/assets/images/backgrounds/may.jpg and /dev/null differ
diff --git a/src/assets/images/backgrounds/november.jpg b/src/assets/images/backgrounds/november.jpg
deleted file mode 100644
index 31694e66..00000000
Binary files a/src/assets/images/backgrounds/november.jpg and /dev/null differ
diff --git a/src/assets/images/backgrounds/october.jpg b/src/assets/images/backgrounds/october.jpg
deleted file mode 100644
index 56364ba5..00000000
Binary files a/src/assets/images/backgrounds/october.jpg and /dev/null differ
diff --git a/src/assets/images/backgrounds/september.jpg b/src/assets/images/backgrounds/september.jpg
deleted file mode 100644
index 637cfde8..00000000
Binary files a/src/assets/images/backgrounds/september.jpg and /dev/null differ
diff --git a/src/assets/images/backgrounds/spring.jpg b/src/assets/images/backgrounds/spring.jpg
new file mode 100644
index 00000000..2bcc203b
Binary files /dev/null and b/src/assets/images/backgrounds/spring.jpg differ
diff --git a/src/assets/images/backgrounds/summer.jpg b/src/assets/images/backgrounds/summer.jpg
new file mode 100644
index 00000000..a33aa2c6
Binary files /dev/null and b/src/assets/images/backgrounds/summer.jpg differ
diff --git a/src/assets/images/backgrounds/winter.jpg b/src/assets/images/backgrounds/winter.jpg
new file mode 100644
index 00000000..76caebc5
Binary files /dev/null and b/src/assets/images/backgrounds/winter.jpg differ