Blame view

resources/views/modules/tiles/index.blade.php 1.42 KB
b7c7a5f6   Alexey Boroda   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
  @extends('layouts.modules')
  
  @section('title', trans_choice('general.modules', 2))
  
  @section('new_button')
      <span class="new-button"><a href="{{ url('apps/token/create') }}" class="btn btn-success btn-sm"><span class="fa fa-key"></span> &nbsp;{{ trans('modules.api_token') }}</a></span>
      <span class="new-button"><a href="{{ url('apps/my')  }}" class="btn btn-default btn-sm"><span class="fa fa-user"></span> &nbsp;{{ trans('modules.my_apps') }}</a></span>
  @endsection
  
  @section('content')
      @include('partials.modules.bar')
  
      <div class="row">
          <div class="col-md-12">
              <div class="content-header no-padding-left">
                  <h3>{{ $title }}</h3>
              </div>
  
              @if ($modules)
                  @foreach ($modules as $module)
                      @include('partials.modules.item')
                  @endforeach
              @else
                  <div class="box box-success">
                      <div class="box-body">
                          <p class="col-md-12" style="margin-top: 15px">
                              {{ trans('modules.no_apps') }}
                          </p>
                          <p class="col-md-12" style="margin-top: 20px">
                              <small>{!! trans('modules.developer') !!}</small>
                          </p>
                      </div>
                      <!-- /.box-body -->
                  </div>
              @endif
          </div>
      </div>
  @endsection