2022-12-16 18:43:38 +01:00
|
|
|
<div class="header-page">
|
|
|
|
<div class="back">
|
|
|
|
<a ng-click="backPrevLocation($event)"><i class="fas fa-long-arrow-alt-left "></i></a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="center">
|
|
|
|
<h1 translate>{{ 'app.admin.machines.the_fablab_s_machines' }}</h1>
|
|
|
|
</div>
|
2023-01-09 14:57:38 +01:00
|
|
|
|
|
|
|
<div class="right">
|
|
|
|
<div class="grpBtn wrapper">
|
|
|
|
<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>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-12-16 18:43:38 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<section class="m-lg admin-machines-manage">
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<uib-tabset justified="true" active="tabs.active">
|
|
|
|
|
2023-01-17 18:25:17 +01:00
|
|
|
<uib-tab heading="{{ 'app.admin.machines.machines_settings' | translate }}" index="1" select="selectTab()">
|
|
|
|
<machines-settings on-error="onError" on-success="on-success"></machines-settings>
|
|
|
|
</uib-tab>
|
|
|
|
|
2022-12-16 18:43:38 +01:00
|
|
|
<uib-tab heading="{{ 'app.admin.machines.all_machines' | translate }}" index="0" select="selectTab()">
|
2023-01-17 18:25:17 +01:00
|
|
|
<ng-include src="'/admin/machines/machines.html'"></ng-include>
|
2022-12-16 18:43:38 +01:00
|
|
|
</uib-tab>
|
|
|
|
|
2023-01-17 18:25:17 +01:00
|
|
|
<uib-tab heading="{{ 'app.admin.machines.manage_machines_categories' | translate }}" index="2" select="selectTab()">
|
|
|
|
<ng-include src="'/admin/machines/categories.html'"></ng-include>
|
2022-12-16 18:43:38 +01:00
|
|
|
</uib-tab>
|
|
|
|
|
|
|
|
</uib-tabset>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</section>
|