UNPKG

@hicoder/angular-cli

Version:

Angular UI componenets and service generator. It works with the mean-rest-express package to generate the end to end web application. The input to this generator is the Mongoose schema defined for the express application. mean-rest-express exposes the Res

27 lines (25 loc) 1.04 kB
<div class="detail" *ngIf="detail"> <%_ include('../../../schema-detail.d.actions.html') %> <div id="slides" class="carousel slide"> <!-- The slideshow --> <div class="carousel-inner"> <div class="carousel-item active"> <img src="{{detail[fields.picture]}}" alt="" class="slide-image"> <div class="carousel-caption d-md-block"> <p *ngIf="detail[fields.title]" class="carousel-caption-h3 mb-2"> {{detail[fields.title]}}</p> <p *ngIf="detail[fields.subtitle]" class="carousel-caption-h5"> {{detail[fields.subtitle]}}</p> <p *ngIf="detail[fields.description]" class="carousel-caption-p"> {{detail[fields.description]}}</p> <a type="button" *ngIf="detail[fields.linkURL]" href="{{[detail[fields.linkURL]]}}" class="btn btn-success btn-slide"> {{ detail[fields.linkDisplay] || 'Learn more'}} </a> </div> </div> </div> </div> <%_ include('../../../schema-detail.d.pipeline.html') %> <%_ include('../../../schema-detail.d.ref.html') %> </div>