monDolibar

This commit is contained in:
Israe Elibrahimi 2023-02-09 17:03:59 +01:00
parent 489f986fd1
commit 3d1d630d2e
3 changed files with 67 additions and 8 deletions

View file

@ -3,9 +3,9 @@
<a (click)="toggleSidebar()" href="#" class="sidebar-toggle"> <a (click)="toggleSidebar()" href="#" class="sidebar-toggle">
<nb-icon icon="menu-2-outline"></nb-icon> <nb-icon icon="menu-2-outline"></nb-icon>
</a> </a>
<a class="logo" href="#" (click)="navigateHome()">ngx-<span>admin</span></a> <a class="logo" href="#" (click)="navigateHome()"> <span style="margin-right: 70px;">Mon Dolibar</span> </a>
</div> </div>
<nb-select [selected]="currentTheme" (selectedChange)="changeTheme($event)" status="primary"> <nb-select [selected]="currentTheme" (selectedChange)="changeTheme($event)" status="primary" style="margin-left: 35px;">
<nb-option *ngFor="let theme of themes" [value]="theme.value"> {{ theme.name }}</nb-option> <nb-option *ngFor="let theme of themes" [value]="theme.value"> {{ theme.name }}</nb-option>
</nb-select> </nb-select>
</div> </div>

View file

@ -1,13 +1,72 @@
import { NbMenuItem } from '@nebular/theme'; import { NbMenuItem } from "@nebular/theme";
export const MENU_ITEMS: NbMenuItem[] = [ export const MENU_ITEMS: NbMenuItem[] = [
{ {
title: 'E-commerce', title: "E-commerce",
icon: 'shopping-cart-outline', icon: "shopping-cart-outline",
link: '/pages/dashboard', link: "/pages/dashboard",
home: true, home: true,
}, },
] {
title: "Auth",
icon: "lock-outline",
children: [
{
title: "Login",
link: "/auth/login",
},
{
title: "Reset Password",
link: "/auth/reset-password",
},
],
},
{
title: "Forms",
icon: "edit-2-outline",
children: [
{
title: "Form Inputs",
link: "/pages/forms/inputs",
},
{
title: "Form Layouts",
link: "/pages/forms/layouts",
},
{
title: "Buttons",
link: "/pages/forms/buttons",
},
{
title: "Datepicker",
link: "/pages/forms/datepicker",
},
],
},
{
title: "UI Features",
icon: "keypad-outline",
link: "/pages/ui-features",
children: [
{
title: "Grid",
link: "/pages/ui-features/grid",
},
{
title: "Icons",
link: "/pages/ui-features/icons",
},
{
title: "Typography",
link: "/pages/ui-features/typography",
},
{
title: "Animated Searches",
link: "/pages/ui-features/search-fields",
},
],
},
];
// export const MENU_ITEMS: NbMenuItem[] = [ // export const MENU_ITEMS: NbMenuItem[] = [
// { // {
// title: 'E-commerce', // title: 'E-commerce',

View file

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>ngx-admin Demo Application</title> <title>Mon Dolibar</title>
<base href="/"> <base href="/">