Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8f99b38a47 | ||
|
|
e740784f41 |
@@ -3,7 +3,7 @@
|
||||
"version": "0.0.0",
|
||||
"scripts": {
|
||||
"ng": "ng",
|
||||
"start": "concurrently \"ng serve\" \"json-server --watch db.json\"",
|
||||
"start": "concurrently \"ng serve\" \"json-server -p 4000 --watch db.json\"",
|
||||
"build": "ng build",
|
||||
"watch": "ng build --watch --configuration development",
|
||||
"test": "ng test"
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
<nav class="navbar navbar-expand-sm navbar-light bg-light">
|
||||
<div class="collapse navbar-collapse">
|
||||
<ul class="navbar-nav mr-auto">
|
||||
<ul class="navbar-nav">
|
||||
<li class="nav-item">
|
||||
<button (click)="onGetAllEmployees()" class="btn btn-sm btn-outline-info ml-2">All</button>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<button (click)="onNewEmployee()" class="btn btn-sm btn-outline-info ml-2">Ajout</button>
|
||||
</li>
|
||||
<form #f="ngForm" (ngSubmit)="onSearch(f.value)" class="form-inline my-2 my-lg-0">
|
||||
</ul>
|
||||
<ul class="navbar-nav ms-auto">
|
||||
<form #f="ngForm" (ngSubmit)="onSearch(f.value)" class="form-inline">
|
||||
<input ngModel class="mr-sm-2" name="keyword" type="text">
|
||||
<button class="btn btn-sm btn-outline-info my-2 my-sm-0">
|
||||
<span class="fa fa-search"></span>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
export const environment = {
|
||||
production: true
|
||||
production: true,
|
||||
host: "http://localhost:3000"
|
||||
};
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
export const environment = {
|
||||
production: false,
|
||||
host: "http://localhost:3000"
|
||||
host: "http://localhost:4000"
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user