mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +01:00
62 lines
2.1 KiB
Plaintext
62 lines
2.1 KiB
Plaintext
<section class="heading b-b">
|
|
<div class="row no-gutter">
|
|
<div class="col-xs-2 col-sm-2 col-md-1">
|
|
<section class="heading-btn">
|
|
<a href="#" ng-click="backPrevLocation($event)"><i class="fa fa-long-arrow-left "></i></a>
|
|
</section>
|
|
</div>
|
|
<div class="col-xs-10 col-sm-10 col-md-8 b-l b-r-md">
|
|
<section class="heading-title">
|
|
<h1 translate>{{ 'the_trainings' }}</h1>
|
|
</section>
|
|
</div>
|
|
|
|
</div>
|
|
</section>
|
|
|
|
|
|
<section class="m-lg">
|
|
|
|
<div class="row" ng-repeat="training in (trainings.length/3 | array)">
|
|
|
|
<div class="col-xs-12 col-sm-6 col-md-4" ng-repeat="training in trainings.slice(3*$index, 3*$index + 3)">
|
|
|
|
|
|
<div class="widget panel panel-default">
|
|
<div class="panel-heading picture" ng-if="!training.training_image">
|
|
<img src="data:image/png;base64," data-src="holder.js/100%x100%/text:/font:FontAwesome/icon" bs-holder class="img-responsive">
|
|
</div>
|
|
<div class="panel-heading picture" style="background-image:url({{training.training_image}})" ng-if="training.training_image">
|
|
</div>
|
|
<div class="panel-body" style="heigth:170px;">
|
|
<h1 class="m-b">{{training.name}}</h1>
|
|
<div ng-if="training.description">
|
|
<p ng-bind-html="training.description | simpleText | humanize : 140 | breakFilter"></p>
|
|
</div>
|
|
</div>
|
|
<div class="panel-footer no-padder">
|
|
|
|
<div class="text-center clearfix">
|
|
<div class="col-sm-6 b-r no-padder">
|
|
<div class="btn btn-default btn-block no-b padder-v red" ng-click="reserveTraining(training, $event)">
|
|
<i class="fa fa-bookmark"></i> {{ 'book' | translate }}
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-6 no-padder">
|
|
<div class="btn btn-default btn-block padder-v no-b red" ng-click="showTraining(training)">
|
|
<i class="fa fa-eye"></i> {{ 'consult' | translate }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
</section>
|