mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-15 00:24:09 +01:00
53 lines
1.7 KiB
HTML
53 lines
1.7 KiB
HTML
<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>
|
|
|
|
<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>
|
|
</div>
|
|
|
|
<section class="m-lg admin-machines-manage">
|
|
<div class="row">
|
|
|
|
<div>
|
|
<uib-tabset justified="true" active="tabs.active">
|
|
|
|
<uib-tab heading="{{ 'app.admin.machines.all_machines' | translate }}" index="0" select="selectTab()">
|
|
<div ng-if="tabs.active === 0">
|
|
<ng-include src="'/admin/machines/machines.html'"></ng-include>
|
|
</div>
|
|
</uib-tab>
|
|
|
|
<uib-tab heading="{{ 'app.admin.machines.manage_machines_categories' | translate }}" index="1" select="selectTab()">
|
|
<div ng-if="tabs.active === 1">
|
|
<ng-include src="'/admin/machines/categories.html'"></ng-include>
|
|
</div>
|
|
</uib-tab>
|
|
|
|
</uib-tabset>
|
|
</div>
|
|
|
|
</div>
|
|
</section>
|