1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-12 23:09:03 +01:00
fab-manager/app/frontend/templates/trainings/index.html

59 lines
2.0 KiB
HTML
Raw Normal View History

2016-07-13 18:15:14 +02:00
<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 ng-click="backPrevLocation($event)"><i class="fas fa-long-arrow-alt-left "></i></a>
2016-07-13 18:15:14 +02:00
</section>
</div>
<div class="col-xs-10 col-sm-10 col-md-8 b-l b-r-md">
<section class="heading-title">
2019-12-16 16:54:40 +01:00
<h1 translate>{{ 'app.public.trainings_list.the_trainings' }}</h1>
2016-07-13 18:15:14 +02:00
</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" ng-click="showTraining(training)">
2020-09-29 14:27:49 +02:00
<img src="data:image/png;base64," data-src="holder.js/100%x100%/text:&#xf03e;/font:'Font Awesome 5 Free'/icon" bs-holder class="img-responsive">
2016-07-13 18:15:14 +02:00
</div>
<div class="panel-heading picture" style="background-image:url({{training.training_image}})" ng-if="training.training_image" ng-click="showTraining(training)">
2016-07-13 18:15:14 +02:00
</div>
<div class="panel-body">
<h1 class="m-b text-center">{{training.name}}</h1>
2016-07-13 18:15:14 +02:00
</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)">
2019-12-16 16:54:40 +01:00
<i class="fa fa-bookmark"></i> {{ 'app.public.trainings_list.book' | translate }}
2016-07-13 18:15:14 +02:00
</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="fas fa-eye"></i> {{ 'app.shared.buttons.consult' | translate }}
2016-07-13 18:15:14 +02:00
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>