|
1 |
| -<p *ngIf="news"></p> |
| 1 | +<div *ngIf="news"> |
2 | 2 |
|
3 |
| -<!-- Header--> |
4 |
| -<header class="bg-dark py-5" style="background-color: #454546 !important;"> |
5 |
| - <div class="container px-5"> |
6 |
| - <div class="row gx-5 align-items-center justify-content-center"> |
7 |
| - <div class="col-xl-5 col-xxl-6 d-none d-xl-block text-center"><img class="img-fluid rounded-3 my-5" |
8 |
| - src="/news/{{news?.id}}/image" alt="..." /></div> |
9 |
| - <div class="col-lg-8 col-xl-7 col-xxl-6"> |
10 |
| - <div class="my-5 text-center text-xl-start"> |
11 |
| - <h1 class="display-5 fw-bolder text-white mb-2" style="font-size: 40px;">{{news?.title}}</h1> |
12 |
| - <p class="lead fw-normal text-white-50 mb-4" style="color: aliceblue !important;">{{news?.argument}}</p> |
| 3 | + <!-- Header--> |
| 4 | + <header class="bg-dark py-5" style="background-color: #454546 !important;"> |
| 5 | + <div class="container px-5"> |
| 6 | + <div class="row gx-5 align-items-center justify-content-center"> |
| 7 | + <div class="col-xl-5 col-xxl-6 d-none d-xl-block text-center"><img class="img-fluid rounded-3 my-5" |
| 8 | + src="/news/{{news?.id}}/image" alt="..." /></div> |
| 9 | + <div class="col-lg-8 col-xl-7 col-xxl-6"> |
| 10 | + <div class="my-5 text-center text-xl-start"> |
| 11 | + <h1 class="display-5 fw-bolder text-white mb-2" style="font-size: 40px;">{{news?.title}}</h1> |
| 12 | + <p class="lead fw-normal text-white-50 mb-4" style="color: aliceblue !important;">{{news?.argument}}</p> |
| 13 | + </div> |
13 | 14 | </div>
|
14 | 15 | </div>
|
15 | 16 | </div>
|
16 |
| - </div> |
17 | 17 |
|
18 | 18 |
|
19 | 19 |
|
20 |
| -</header> |
| 20 | + </header> |
21 | 21 |
|
22 |
| -<p *ngIf="isAdmin()"></p> |
23 |
| -<section class="pt-0 MoreInfo"> |
24 |
| - <div class="container-fluid my-5"> |
25 |
| - <div class="row justify-content-center" style=" background-color: rgb(27, 31, 31); margin-bottom: 2%;"> |
26 |
| - <div class="col-5 text-center"> |
27 |
| - <p class="lead fw-normal text-white-50 mb-4" |
28 |
| - style="color: aliceblue !important; font-size: 2em !important; margin-top: 5%;"> Admin Actions : |
29 |
| - <a class="btn btn-primary btn-lg px-4 me-sm-3" [routerLink]="['/deleteNew/{{news?.id}}']" |
30 |
| - style="margin-top: auto;">Eliminar</a> |
31 |
| - <a class="btn btn-outline-light btn-lg px-4" [routerLink]="['/editNew/{{news?.id}}']" |
32 |
| - style="margin-top: auto;">Editar</a> |
33 |
| - </p> |
| 22 | + <div *ngIf="isAdmin()"> |
| 23 | + <section class="pt-0 MoreInfo"> |
| 24 | + <div class="container-fluid my-5"> |
| 25 | + <div class="row justify-content-center" style=" background-color: rgb(27, 31, 31); margin-bottom: 2%;"> |
| 26 | + <div class="col-5 text-center"> |
| 27 | + <p class="lead fw-normal text-white-50 mb-4" |
| 28 | + style="color: aliceblue !important; font-size: 2em !important; margin-top: 5%;"> Admin Actions : |
| 29 | + <a class="btn btn-primary btn-lg px-4 me-sm-3" [routerLink]="['/deleteNew/{{news?.id}}']" |
| 30 | + style="margin-top: auto;">Eliminar</a> |
| 31 | + <a class="btn btn-outline-light btn-lg px-4" [routerLink]="['/editNew/{{news?.id}}']" |
| 32 | + style="margin-top: auto;">Editar</a> |
| 33 | + </p> |
| 34 | + </div> |
| 35 | + </div> |
34 | 36 | </div>
|
35 |
| - </div> |
| 37 | + </section> |
36 | 38 | </div>
|
37 |
| -</section> |
38 | 39 |
|
39 | 40 |
|
40 |
| -<!-- MoreInfo--> |
41 |
| -<section class="pt-0 MoreInfo" style="margin-left: 10%; margin-right: 10%; background-color: #FFFFFF !important;"> |
42 |
| - <div class="container px-5 my-5"> |
43 |
| - <div class="row gx-5 justify-content-center"> |
44 |
| - <div class="col-md-12"> |
45 |
| - <h1 style="padding-bottom: 10px;">Leer más:</h1> |
46 |
| - <p class=""> |
47 |
| - {{news?.description}} |
48 |
| - </p> |
| 41 | + <!-- MoreInfo--> |
| 42 | + <section class="pt-0 MoreInfo" style="margin-left: 10%; margin-right: 10%; background-color: #FFFFFF !important;"> |
| 43 | + <div class="container px-5 my-5"> |
| 44 | + <div class="row gx-5 justify-content-center"> |
| 45 | + <div class="col-md-12"> |
| 46 | + <h1 style="padding-bottom: 10px;">Leer más:</h1> |
| 47 | + <p class=""> |
| 48 | + {{news?.description}} |
| 49 | + </p> |
| 50 | + </div> |
| 51 | + |
49 | 52 | </div>
|
50 | 53 |
|
51 | 54 | </div>
|
| 55 | + </section> |
52 | 56 |
|
53 |
| - </div> |
54 |
| -</section> |
55 |
| - |
56 |
| -<section class="pt-0 MoreInfo" style="margin-left: 10%; margin-right: 10%; background-color: inherit !important;"> |
57 |
| - <div class="container px-5 my-5"> |
58 |
| - <div class="row gx-5 justify-content-center"> |
59 |
| - <!--{{>videogameTemplate}}--> |
| 57 | + <section class="pt-0 MoreInfo" style="margin-left: 10%; margin-right: 10%; background-color: inherit !important;"> |
| 58 | + <div class="container px-5 my-5"> |
| 59 | + <div class="row gx-5 justify-content-center"> |
| 60 | + <!--{{>videogameTemplate}}--> |
| 61 | + </div> |
60 | 62 | </div>
|
61 |
| - </div> |
62 |
| -</section> |
63 |
| -<!-- Footer--> |
| 63 | + </section> |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + <!-- Bootstrap core JS--> |
| 68 | + <script src=" https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" ></script> |
| 69 | + <!-- Core theme JS--> |
| 70 | + <script src="js/scripts.js"></script> |
| 71 | + |
64 | 72 |
|
65 |
| -<!-- Bootstrap core JS--> |
66 |
| -<script src=" https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" ></script> |
67 |
| -<!-- Core theme JS--> |
68 |
| -<script src="js/scripts.js"></script> |
| 73 | +</div> |
0 commit comments