jsp quoi mettre
This commit is contained in:
parent
fcb5e4b8fd
commit
aeb3579d8b
@ -21,6 +21,7 @@
|
||||
],
|
||||
"tsConfig": "tsconfig.app.json",
|
||||
"assets": [
|
||||
"src/assets",
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "public"
|
||||
|
12
package-lock.json
generated
12
package-lock.json
generated
@ -21,7 +21,7 @@
|
||||
"express": "^4.18.2",
|
||||
"luxon": "^3.5.0",
|
||||
"primeicons": "^7.0.0",
|
||||
"primeng": "^17.18.13",
|
||||
"primeng": "^17.18.10",
|
||||
"rxjs": "~7.8.0",
|
||||
"tslib": "^2.3.0",
|
||||
"zone.js": "~0.14.10"
|
||||
@ -10839,14 +10839,12 @@
|
||||
"node_modules/primeicons": {
|
||||
"version": "7.0.0",
|
||||
"resolved": "https://registry.npmjs.org/primeicons/-/primeicons-7.0.0.tgz",
|
||||
"integrity": "sha512-jK3Et9UzwzTsd6tzl2RmwrVY/b8raJ3QZLzoDACj+oTJ0oX7L9Hy+XnVwgo4QVKlKpnP/Ur13SXV/pVh4LzaDw==",
|
||||
"license": "MIT"
|
||||
"integrity": "sha512-jK3Et9UzwzTsd6tzl2RmwrVY/b8raJ3QZLzoDACj+oTJ0oX7L9Hy+XnVwgo4QVKlKpnP/Ur13SXV/pVh4LzaDw=="
|
||||
},
|
||||
"node_modules/primeng": {
|
||||
"version": "17.18.13",
|
||||
"resolved": "https://registry.npmjs.org/primeng/-/primeng-17.18.13.tgz",
|
||||
"integrity": "sha512-G+4isb+tz2drez744i8LswxyaD+mqGupQeIzXc4hn5tb0KZCoe2G61/cEHUvUENFlBWBj2IPju1Zqu7klKNTTw==",
|
||||
"license": "MIT",
|
||||
"version": "17.18.10",
|
||||
"resolved": "https://registry.npmjs.org/primeng/-/primeng-17.18.10.tgz",
|
||||
"integrity": "sha512-P3UskInOZ7qYICxSYvf0K8nUEb7DmndiXmyvLGU1wch+XcVWmVs4FZsWKNfdvK7TUdxxYj8WW44nodNV/epr3A==",
|
||||
"dependencies": {
|
||||
"tslib": "^2.3.0"
|
||||
},
|
||||
|
@ -24,7 +24,7 @@
|
||||
"express": "^4.18.2",
|
||||
"luxon": "^3.5.0",
|
||||
"primeicons": "^7.0.0",
|
||||
"primeng": "^17.18.13",
|
||||
"primeng": "^17.18.10",
|
||||
"rxjs": "~7.8.0",
|
||||
"tslib": "^2.3.0",
|
||||
"zone.js": "~0.14.10"
|
||||
|
@ -0,0 +1,5 @@
|
||||
img {
|
||||
width: 100%;
|
||||
height: 25rem;
|
||||
object-fit: cover;
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
<img src="assets/banner.png" height="494" width="1494"/>
|
||||
<p-menubar [model]="items" />
|
||||
<router-outlet></router-outlet>
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
import {Component} from '@angular/core';
|
||||
import {HomeComponent} from "./home/home.component";
|
||||
import {Component, CUSTOM_ELEMENTS_SCHEMA} from '@angular/core';
|
||||
import {MenubarModule} from 'primeng/menubar';
|
||||
import {MenuItem} from 'primeng/api';
|
||||
import {FloatLabelModule} from 'primeng/floatlabel';
|
||||
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
standalone: true,
|
||||
imports: [HomeComponent, MenubarModule],
|
||||
imports: [MenubarModule, FloatLabelModule],
|
||||
templateUrl: './app.component.html',
|
||||
styleUrl: './app.component.css'
|
||||
})
|
||||
|
@ -3,12 +3,12 @@ import {provideRouter} from '@angular/router';
|
||||
|
||||
import {routes} from './app.routes';
|
||||
import {provideClientHydration} from '@angular/platform-browser';
|
||||
import {provideHttpClient} from '@angular/common/http';
|
||||
import {provideHttpClient, withFetch} from '@angular/common/http';
|
||||
|
||||
export const appConfig: ApplicationConfig = {
|
||||
providers: [
|
||||
provideZoneChangeDetection({eventCoalescing: true}),
|
||||
provideRouter(routes),
|
||||
provideClientHydration(),
|
||||
provideHttpClient()]
|
||||
provideHttpClient(withFetch())]
|
||||
};
|
||||
|
@ -15,3 +15,5 @@
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
{{ authors | json }}
|
||||
|
@ -1,4 +1,5 @@
|
||||
<p-floatlabel variant="on">
|
||||
<input pInputText id="on_label" [(ngModel)]="name" autocomplete="off" />
|
||||
<label for="on_label">On Label</label>
|
||||
</p-floatlabel>
|
||||
<label for="username">Nom d'utilisateur</label>
|
||||
<input id="username" placeholder="Entrez votre nom d'utilisateur" pInputText [(ngModel)]="name"/>
|
||||
<label for="password">Mot de passe</label>
|
||||
<input id="password" placeholder="Entrez votre mot de passe" pInputText [(ngModel)]="name"/>
|
||||
|
||||
|
@ -1,11 +1,13 @@
|
||||
import { Component } from '@angular/core';
|
||||
import {Component, CUSTOM_ELEMENTS_SCHEMA} from '@angular/core';
|
||||
import {FormsModule} from '@angular/forms';
|
||||
import {InputTextModule} from 'primeng/inputtext';
|
||||
|
||||
@Component({
|
||||
selector: 'app-login',
|
||||
standalone: true,
|
||||
imports: [
|
||||
FormsModule
|
||||
FormsModule,
|
||||
InputTextModule
|
||||
],
|
||||
templateUrl: './login.component.html',
|
||||
styleUrl: './login.component.css'
|
||||
|
BIN
src/assets/banner.png
Normal file
BIN
src/assets/banner.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 MiB |
Loading…
Reference in New Issue
Block a user