1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-02 13:24:20 +01:00
fab-manager/app/frontend/templates/machines/index.html

52 lines
1.8 KiB
HTML
Raw Normal View History

2015-05-05 03:10:25 +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">
2020-09-29 14:35:42 +02:00
<a href="#" ng-click="backPrevLocation($event)"><i class="fas fa-long-arrow-alt-left "></i></a>
2015-05-05 03:10:25 +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.machines_list.the_fablab_s_machines' }}</h1>
2015-05-05 03:10:25 +02:00
</section>
</div>
2021-06-17 11:56:00 +02:00
<div class="col-xs-12 col-sm-12 col-md-3 b-t hide-b-md">
2015-05-05 03:10:25 +02:00
<section class="heading-actions wrapper">
2021-06-17 11:56:00 +02:00
<a ng-if="isAuthorized('admin')"
role="button"
class="btn btn-lg btn-warning bg-white b-2x rounded m-t-xs"
ui-sref="app.admin.machines_new"
title="{{'app.public.machines_list.add_a_machine' | translate}}">
<i class="fas fa-plus"></i>
</a>
<a ng-if="isAuthorized(['admin', 'manager'])"
role="button"
ui-sref="app.admin.calendar"
class="btn btn-lg btn-default rounded b-2x m-t-xs"
title="{{'app.public.machines_list.new_availability' | translate}}">
<i class="fa fa-calendar-check-o" aria-hidden="true"></i>
</a>
2015-05-05 03:10:25 +02:00
</section>
</div>
</div>
</section>
2021-06-16 18:03:06 +02:00
<section class="m-lg"
2020-02-24 16:51:03 +01:00
ui-tour="machines"
ui-tour-backdrop="true"
2020-10-05 15:34:41 +02:00
ui-tour-template-url="'/shared/tour-step-template.html'"
2020-02-24 16:51:03 +01:00
ui-tour-use-hotkeys="true"
2020-02-25 10:11:18 +01:00
ui-tour-scroll-parent-id="content-main"
2020-02-24 16:51:03 +01:00
post-render="setupMachinesTour">
2015-05-05 03:10:25 +02:00
<machines-list user="currentUser"
on-error="onError"
on-show-machine="showMachine"
on-reserve-machine="reserveMachine"
on-login-requested="onLoginRequest">
2021-06-16 18:03:06 +02:00
</machines-list>
2015-05-05 03:10:25 +02:00
</section>