Enable rest option

This commit is contained in:
Artur Kuś 2025-02-07 18:11:56 +01:00
parent e364c183b4
commit c2d310ab62
4 changed files with 9 additions and 12 deletions

8
.vscode/launch.json vendored
View File

@ -10,13 +10,7 @@
"preLaunchTask": "npm: start", "preLaunchTask": "npm: start",
"url": "http://localhost:4201/", "url": "http://localhost:4201/",
"skipFiles": ["chrome-error://*"] "skipFiles": ["chrome-error://*"]
},
{
"name": "ng test",
"type": "chrome",
"request": "launch",
"preLaunchTask": "npm: test",
"url": "http://localhost:9876/debug.html"
} }
] ]
} }

View File

@ -22,7 +22,7 @@
</mat-toolbar-row> </mat-toolbar-row>
</mat-toolbar> --> </mat-toolbar> -->
<!-- <nav class="navbar navbar-expand-lg navbar-dark bg-dark sticky-top"> <nav class="navbar navbar-expand-lg navbar-dark bg-dark sticky-top">
<div class="me-auto col-auto"> <div class="me-auto col-auto">
<a class="navbar-brand ms-2"> <a class="navbar-brand ms-2">
<a <a
@ -42,11 +42,13 @@
</a> </a>
</div> </div>
<div class="container d-flex justify-content-between align-items-center"> <div class="container d-flex justify-content-between align-items-center">
<a class="navbar-brand" [routerLink]="'/about-me'">{{ 'topBar.aboutMe' | translate }}</a> <a class="navbar-brand" [routerLink]="'/about-me'">{{ 'topBar.aboutMe' | translate }}</a>
<a class="navbar-brand" [routerLink]="'/asset-calculator'">{{ 'topBar.depreciationCalculator' | translate }}</a> <a class="navbar-brand" [routerLink]="'/asset-calculator'">{{ 'topBar.depreciationCalculator' | translate }}</a>
<a class="navbar-brand" [routerLink]="'/quotes'">{{ 'topBar.courses' | translate }}</a> <a class="navbar-brand" [routerLink]="'/quotes'">{{ 'topBar.courses' | translate }}</a>
</div> </div>
</nav> -->
</nav>
<router-outlet /> <router-outlet />

View File

@ -15,6 +15,7 @@ import { ReactiveFormsModule, FormBuilder, FormGroup, FormArray, ValidatorFn, V
<h2 class="text-center m-2">Lista środków trwałych</h2> <h2 class="text-center m-2">Lista środków trwałych</h2>
<div class="table-responsive"> <div class="table-responsive">
<table id="assets" class="table table-bordered"> <table id="assets" class="table table-bordered">
<thead> <thead>
<tr> <tr>
<th class="col-2">Numer inwentarzowy</th> <th class="col-2">Numer inwentarzowy</th>

View File

@ -3,13 +3,13 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>My page</title> <title>My page</title>
<base href="/"> <base href="./">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico"> <link rel="icon" type="image/x-icon" href="favicon.ico">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head> </head>
<body class="mat-typography"> <body>
<app-root></app-root> <app-root></app-root>
</body> </body>
</html> </html>