general classes updated for blades

This commit is contained in:
batuhanbas
2020-01-21 18:13:29 +03:00
parent 650f7f1273
commit ca57a14079
25 changed files with 151 additions and 182 deletions

View File

@ -43,19 +43,19 @@
<tbody>
@foreach($permissions as $item)
<tr class="row align-items-center border-top-1">
<td class="col-sm-2 col-md-1 col-lg-1 d-none d-sm-block border-0">{{ Form::bulkActionGroup($item->id, $item->name) }}</td>
<td class="col-xs-4 col-sm-4 col-md-4 col-lg-4 border-0"><a class="text-success col-aka" href="{{ route('permissions.edit', $item->id) }}">{{ $item->display_name }}</a></td>
<td class="col-xs-4 col-sm-4 col-md-3 col-lg-3 border-0 long-texts">{{ $item->name }}</td>
<td class="col-md-2 col-lg-3 d-none d-md-block border-0 long-texts">{{ $item->description }}</td>
<td class="col-xs-4 col-sm-2 col-md-2 col-lg-1 text-center border-0">
<td class="col-sm-2 col-md-1 col-lg-1 d-none d-sm-block">{{ Form::bulkActionGroup($item->id, $item->name) }}</td>
<td class="col-xs-4 col-sm-4 col-md-4 col-lg-4"><a class="text-success col-aka" href="{{ route('permissions.edit', $item->id) }}">{{ $item->display_name }}</a></td>
<td class="col-xs-4 col-sm-4 col-md-3 col-lg-3 long-texts">{{ $item->name }}</td>
<td class="col-md-2 col-lg-3 d-none d-md-block long-texts">{{ $item->description }}</td>
<td class="col-xs-4 col-sm-2 col-md-2 col-lg-1 text-center">
<div class="dropdown">
<a class="btn btn-neutral btn-sm text-light items-align-center py-2" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fa fa-ellipsis-h text-muted"></i>
</a>
<div class="dropdown-menu dropdown-menu-right dropdown-menu-arrow">
<a class="dropdown-item" href="{{ route('permissions.edit', $item->id) }}">{{ trans('general.edit') }}</a>
<div class="dropdown-divider"></div>
@permission('delete-auth-permissions')
<div class="dropdown-divider"></div>
{!! Form::deleteLink($item, 'auth/permissions') !!}
@endpermission
</div>

View File

@ -43,19 +43,19 @@
<tbody>
@foreach($roles as $item)
<tr class="row align-items-center border-top-1">
<td class="col-sm-3 col-md-2 col-lg-1 d-none d-sm-block border-0">{{ Form::bulkActionGroup($item->id, $item->name) }}</td>
<td class="col-xs-4 col-sm-3 col-md-4 col-lg-4 border-0"><a class="text-success col-aka" href="{{ route('roles.edit', $item->id) }}">{{ $item->display_name }}</a></td>
<td class="col-xs-4 col-sm-3 col-md-4 col-lg-3 border-0">{{ $item->name }}</td>
<td class="col-lg-3 d-none d-lg-block border-0">{{ $item->description }}</td>
<td class="col-xs-4 col-sm-3 col-md-2 col-lg-1 text-center border-0">
<td class="col-sm-3 col-md-2 col-lg-1 d-none d-sm-block">{{ Form::bulkActionGroup($item->id, $item->name) }}</td>
<td class="col-xs-4 col-sm-3 col-md-4 col-lg-4"><a class="text-success col-aka" href="{{ route('roles.edit', $item->id) }}">{{ $item->display_name }}</a></td>
<td class="col-xs-4 col-sm-3 col-md-4 col-lg-3">{{ $item->name }}</td>
<td class="col-lg-3 d-none d-lg-block">{{ $item->description }}</td>
<td class="col-xs-4 col-sm-3 col-md-2 col-lg-1 text-center">
<div class="dropdown">
<a class="btn btn-neutral btn-sm text-light items-align-center py-2" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fa fa-ellipsis-h text-muted"></i>
</a>
<div class="dropdown-menu dropdown-menu-right dropdown-menu-arrow">
<a class="dropdown-item" href="{{ route('roles.edit', $item->id) }}">{{ trans('general.edit') }}</a>
<div class="dropdown-divider"></div>
@permission('delete-auth-roles')
<div class="dropdown-divider"></div>
{!! Form::deleteLink($item, 'auth/roles') !!}
@endpermission
</div>

View File

@ -44,8 +44,8 @@
<tbody>
@foreach($users as $item)
<tr class="row align-items-center border-top-1">
<td class="col-sm-2 col-md-2 col-lg-1 d-none d-sm-block border-0">{{ Form::bulkActionGroup($item->id, $item->name) }}</td>
<td class="col-xs-4 col-sm-3 col-md-2 col-lg-3 border-0">
<td class="col-sm-2 col-md-2 col-lg-1 d-none d-sm-block">{{ Form::bulkActionGroup($item->id, $item->name) }}</td>
<td class="col-xs-4 col-sm-3 col-md-2 col-lg-3">
<a class="text-success col-aka" href="{{ route('users.edit', $item->id) }}">
@if (setting('default.use_gravatar', '0') == '1')
<img src="{{ $item->picture }}" alt="{{ $item->name }}" title="{{ $item->name }}">
@ -57,13 +57,13 @@
{{ $item->name }}
</a>
</td>
<td class="col-sm-2 col-md-2 col-lg-3 border-0 d-none d-sm-block long-texts">{{ $item->email }}</td>
<td class="col-md-2 col-lg-2 d-none d-md-block border-0">
<td class="col-sm-2 col-md-2 col-lg-3 d-none d-sm-block long-texts">{{ $item->email }}</td>
<td class="col-md-2 col-lg-2 d-none d-md-block">
@foreach($item->roles as $role)
<label class="label label-default">{{ $role->display_name }}</label>
@endforeach
</td>
<td class="col-xs-4 col-sm-3 col-md-2 col-lg-2 border-0">
<td class="col-xs-4 col-sm-3 col-md-2 col-lg-2">
@if (user()->can('update-auth-users'))
{{ Form::enabledGroup($item->id, $item->name, $item->enabled) }}
@else
@ -74,7 +74,7 @@
@endif
@endif
</td>
<td class="col-xs-4 col-sm-2 col-md-2 col-lg-1 border-0 text-center">
<td class="col-xs-4 col-sm-2 col-md-2 col-lg-1 text-center">
<div class="dropdown">
<a class="btn btn-neutral btn-sm text-light items-align-center py-2" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fa fa-ellipsis-h text-muted"></i>