| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <app-menu></app-menu>
- <div id="main">
- <div class="card shadow rounded-bottom-0">
- <div class="card-header"><span i18n>Liste des productions</span></div>
- <div class="card-header">
- <div class="row justify-content-between">
- <div class="form-group col-sm-4 label-nobr">
- <button type="button" (click)="goToRefreshListProduction()" class="btn bg-gradient btn-primary btn-sm" style="margin-right: 5px;"><i class="fa-solid fa-rotate"></i> <span i18n>Actualiser</span></button>
- <button type="button" (click)="goToNewProduction()" class="btn bg-gradient btn-primary btn-sm" style="margin-right: 5px;"><i class="fa-solid fa-plus"></i> <span i18n>Créer</span></button>
- </div>
- <div class="form-group col-sm-2 label-nobr ms-auto">
- <div class="input-group input-group-sn">
- <button type="button" class="btn bg-gradient btn-secondary btn-sm field-separate" disabled><span i18n>Afficher</span></button>
- <select class="form-select form-select-sm field-separate" id="select_solo" [(ngModel)]="soloFiltre" (change)="filtrageParSolo($event)">
- <option value="0">Toutes</option>
- <option value="1">Celles non rattachées aux catégories</option>
- </select>
- </div>
- </div>
- <div class="form-group col-sm-2 label-nobr">
- <div class="input-group input-group-sn">
- <button type="button" class="btn bg-gradient btn-secondary btn-sm field-separate" disabled><span i18n>Filtrer par type</span></button>
- <select class="form-select form-select-sm field-separate" id="select_type" [(ngModel)]="typeFiltre" (change)="filtrageParType($event)">
- <option> </option>
- @for (type of types; track type) {
- <option [value]="type.key">{{ type.value }}</option>
- }
- </select>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="d-flex flex-wrap">
- @for (production of productions; track production.numeroProduction) {
- <div class="card shadow" style="max-width:17rem;">
- <img src="{{ production.vignette }}" class="img-fluid card-img-top pointeur-souris" (click)="formProduction(production.numeroProduction)">
- <div class="card-header">
- <span class="card-title">@if (production.type === types[0].key) { <i class="fa-solid fa-square-binary"></i> } @else if (production.type === types[1].key) { <i class="fa-solid fa-image"></i> } @else if (production.type === types[2].key) { <i class="fa-solid fa-music"></i> } @else if (production.type === types[3].key) { <i class="fa-solid fa-video"></i> } @else if (production.type === types[4].key) { <i class="fa-solid fa-comment"></i> } @else { <i class="fa-solid fa-question"></i> }
- <a (click)="formProduction(production.numeroProduction)" class="text-primary pointeur-souris" style="margin-left:7px;">{{ production.titre }}</a></span><br/>
- <small><span class="text-muted">par</span> {{ production.auteurs }} @if (production.groupes) { @if (production.groupes.length > 0) { / {{ production.groupes }} } }</small>
- </div>
- <div class="card-body">
- <small><span class="text-muted">sur</span> {{ production.plateforme }}</small><br/>
- <small>{{ production.commentaire }}</small><br/>
- <small class="text-warning">{{ production.informationsPrivees }}</small>
- </div>
- <div class="card-footer d-flex justify-content-between">
- <i class="fa-solid fa-download text-primary pointeur-souris" (click)="getFile(production.numeroProduction, production.nomArchive)" tooltip="{{ production.nomArchive }} (v{{ production.numeroVersion }})" placement="top" container="body"></i>
- <i class="fa-solid fa-user-tie text-muted" style="margin-left:7px;" i18n-tootip tooltip="géré par {{ production.nomGestionnaire }}" placement="top" container="body"></i>
- </div>
- </div>
- }
- </div>
- </div>
|