source: resources/views/dashboard/companies/index.blade.php@ f457265

Last change on this file since f457265 was f457265, checked in by Berat Kjufliju <kufliju@…>, 4 years ago

ADD technoweek offer, companies

  • Property mode set to 100644
File size: 3.5 KB
Line 
1@extends("layouts.dashboard")
2
3@section("title", "Companies - Dashboard | TechnoBlog")
4
5@section("dashboard_content")
6
7 <div class="my-3 my-md-5">
8
9 <div class="container">
10
11 <div class="page-header">
12 <h1 class="page-title">Companies</h1>
13 </div>
14
15 <div class="row">
16
17 <div class="col-sm-12">
18 <div class="card">
19
20 <div class="card-header">
21 <h3 class="card-title">List of tags</h3>
22 </div>
23
24 <div class="table-responsive pt-5 pb-5">
25
26 <table id="dttable" class="table" style="width:100%">
27 <thead>
28 <tr>
29 <th class="text-center">Name</th>
30 <th class="text-center">Website</th>
31 <th class="text-center">E-mail</th>
32 <th class="text-center">Users</th>
33 <th class="text-center">Created Date</th>
34 <th class="text-center">Actions</th>
35 </tr>
36 </thead>
37 <tbody>
38 @foreach ($companies as $company)
39 <tr>
40 <td>{{ $company->name }}</td>
41 <td><a href="{{ $company->website }}" target="_blank">{{ $company->website }}</a></td>
42 <td>{{ $company->email }}</td>
43 <td>{{ $company->users->count() }}</td>
44 <td>{{ date('d.m.Y', strtotime($company->created_at)) }}</td>
45 <td class="text-center">
46 <div class="item-action dropdown">
47 <a href="javascript:void(0)" data-toggle="dropdown" class="icon" aria-expanded="false"><i class="fe fe-more-vertical"></i></a>
48 <div class="dropdown-menu dropdown-menu-right" x-placement="bottom-end" style="position: absolute; transform: translate3d(15px, 20px, 0px); top: 0px; left: 0px; will-change: transform;">
49 @if(!$company->users->count())
50 <a href="{{ route("dashboard.companies.create-admin", ["id" => $company->id]) }}" class="actionLink dropdown-item" style="cursor: pointer;"><i class="dropdown-icon fe fe-user"></i> Create admin user</a>
51 @endif
52 <a href="javascript:void(0)" class="actionLink dropdown-item" style="cursor: pointer;" data-action="{{ route("dashboard.tags.destroy", ["id" => $company->id]) }}" data-method="delete"><i class="dropdown-icon fe fe-trash-2 text-danger"></i> Delete </a>
53 </div>
54 </div>
55 </td>
56 </tr>
57 @endforeach
58 </tbody>
59 </table>
60
61 </div>
62
63 </div>
64
65 </div>
66
67 </div>
68
69 </div>
70
71 </div>
72
73@endsection
Note: See TracBrowser for help on using the repository browser.