Merge branch 'dev' into module_blog
This commit is contained in:
+21
-6
@@ -9520,11 +9520,11 @@ pre code {
|
|||||||
border-bottom-width: 2px;
|
border-bottom-width: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-striped tbody tr:nth-of-type(odd) {
|
.table-striped tbody tr:nth-of-type(odd), .rows-striped .row:nth-of-type(odd) {
|
||||||
background-color: #F9F9F9;
|
background-color: #F9F9F9;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-hover tbody tr:hover {
|
.table-hover tbody tr:hover, .rows-striped .row:hover {
|
||||||
background-color: #F5F5F5;
|
background-color: #F5F5F5;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -14168,7 +14168,7 @@ img {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.users-list img {
|
.users-list img {
|
||||||
border-radius: 500px;
|
border-radius: 50%;
|
||||||
padding: 3px;
|
padding: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -14191,7 +14191,6 @@ img {
|
|||||||
|
|
||||||
.timeline > li {
|
.timeline > li {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.timeline > li:before,
|
.timeline > li:before,
|
||||||
@@ -14204,7 +14203,6 @@ img {
|
|||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.timeline > li > .timeline-panel {
|
.timeline > li > .timeline-panel {
|
||||||
width: 46%;
|
width: 46%;
|
||||||
float: left;
|
float: left;
|
||||||
@@ -14250,7 +14248,7 @@ img {
|
|||||||
top: 26px;
|
top: 26px;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
margin-left: -14px;
|
margin-left: -14px;
|
||||||
background-color: #ddd;
|
background-color: #DDD;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
@@ -14349,6 +14347,7 @@ img {
|
|||||||
.ace-editor-container {
|
.ace-editor-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ace-editor {
|
.ace-editor {
|
||||||
position: absolute !important;
|
position: absolute !important;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -14367,4 +14366,20 @@ img {
|
|||||||
|
|
||||||
.header-block img {
|
.header-block img {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.truncate {
|
||||||
|
width: 90%;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bold {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.p-tb-15 {
|
||||||
|
padding-top: 15px;
|
||||||
|
padding-bottom: 15px;
|
||||||
}
|
}
|
||||||
@@ -1346,7 +1346,6 @@ $ (function () {
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
$ (function () {
|
$ (function () {
|
||||||
|
|
||||||
$ ("body").addClass ("loaded");
|
$ ("body").addClass ("loaded");
|
||||||
@@ -1364,7 +1363,6 @@ $ (function () {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Makes slug from input string
|
* Makes slug from input string
|
||||||
*
|
*
|
||||||
@@ -1401,24 +1399,45 @@ function slugify(text, trimSpaces) {
|
|||||||
|
|
||||||
// bind some custom methods
|
// bind some custom methods
|
||||||
$ (document).ready (function () {
|
$ (document).ready (function () {
|
||||||
$ ('.confirm').click (function () {
|
var previousTitle, previousMessage;
|
||||||
var confirmMessage = $ (this).data ('confirm-message');
|
|
||||||
|
|
||||||
// set some default message
|
$ ('.confirm').click (function (e) {
|
||||||
if (typeof confirmMessage == 'undefined') {
|
|
||||||
confirmMessage = 'Really?';
|
|
||||||
}
|
|
||||||
|
|
||||||
return confirm (confirmMessage);
|
var titleElement = $ ('#confirmation-title');
|
||||||
|
var messageElement = $ ('#confirmation-message');
|
||||||
|
|
||||||
|
previousTitle = titleElement.text ();
|
||||||
|
previousMessage = messageElement.text ();
|
||||||
|
|
||||||
|
var confirmTitle = $ (this).data ('title');
|
||||||
|
var confirmMessage = $ (this).data ('message');
|
||||||
|
var href = $ (this).attr ('href');
|
||||||
|
|
||||||
|
$ ('#confirm-button').attr ('href', href);
|
||||||
|
|
||||||
|
if (confirmTitle)
|
||||||
|
titleElement.text (confirmTitle);
|
||||||
|
|
||||||
|
if (confirmMessage)
|
||||||
|
messageElement.text (confirmMessage);
|
||||||
|
|
||||||
|
$ ('#confirm-modal').modal ('show');
|
||||||
|
|
||||||
|
e.preventDefault ();
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#lockUrl').change(function () {
|
$ ('#confirm-modal').on ('hidden.bs.modal', function () {
|
||||||
|
$ ('#confirmation-title').text (previousTitle);
|
||||||
|
$ ('#confirmation-message').text (previousMessage);
|
||||||
|
});
|
||||||
|
|
||||||
|
$ ('#lockUrl').change (function () {
|
||||||
$ ('.slug-source').keyup ();
|
$ ('.slug-source').keyup ();
|
||||||
});
|
});
|
||||||
|
|
||||||
$ ('.slug-target').keyup (function () {
|
$ ('.slug-target').keyup (function () {
|
||||||
$ (this).val (slugify ($ (this).val (), false));
|
$ (this).val (slugify ($ (this).val (), false));
|
||||||
$('#lockUrl').prop('checked', true);
|
$ ('#lockUrl').prop ('checked', true);
|
||||||
});
|
});
|
||||||
|
|
||||||
$ ('.slug-source').keyup (function () {
|
$ ('.slug-source').keyup (function () {
|
||||||
@@ -1430,22 +1449,19 @@ $ (document).ready (function () {
|
|||||||
target.val (slugify (source.val (), true));
|
target.val (slugify (source.val (), true));
|
||||||
});
|
});
|
||||||
|
|
||||||
$(function () {
|
$ (function () {
|
||||||
$('[data-toggle="tooltip"]').tooltip()
|
$ ('[data-toggle="tooltip"]').tooltip ()
|
||||||
})
|
});
|
||||||
|
|
||||||
// find if any error occured and mark tab with that error
|
// find if any error occured and mark tab with that error
|
||||||
$('.has-error').each(function () {
|
$ ('.has-error').each (function () {
|
||||||
var error = $(this);
|
var error = $ (this);
|
||||||
var tabCard = error.closest('.tab-pane');
|
var tabCard = error.closest ('.tab-pane');
|
||||||
|
|
||||||
$("#"+tabCard.prop('id')+"-tab").addClass('tab-with-error');
|
$ ("#" + tabCard.prop ('id') + "-tab").addClass ('tab-with-error');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***********************************************
|
/***********************************************
|
||||||
* NProgress Settings
|
* NProgress Settings
|
||||||
***********************************************/
|
***********************************************/
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
return [
|
return [
|
||||||
"admin" => "Administrace",
|
"admin" => "Administrace",
|
||||||
"logout" => "Odhlášení",
|
"confirmation" => "Opravdu chcete vykonat tuto akci?",
|
||||||
"logoutSuccessfull" => "Odhlášení proběhlo úspěšně",
|
"confirmationTitle" => "Opravdu?",
|
||||||
|
"logout" => "Odhlášení",
|
||||||
|
"logoutSuccessfull" => "Odhlášení proběhlo úspěšně",
|
||||||
|
"no" => "Ne",
|
||||||
|
"yes" => "Ano",
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -2,5 +2,9 @@
|
|||||||
return [
|
return [
|
||||||
'admin' => 'Administration',
|
'admin' => 'Administration',
|
||||||
'logout' => 'Log out',
|
'logout' => 'Log out',
|
||||||
'logoutSuccessfull' => 'Logout was successfull.'
|
'logoutSuccessfull' => 'Logout was successfull.',
|
||||||
|
'yes' => 'Yes',
|
||||||
|
'no' => 'No',
|
||||||
|
'confirmationTitle' => 'Really?',
|
||||||
|
'confirmation' => 'Do you really want to perform this action?',
|
||||||
];
|
];
|
||||||
@@ -4,9 +4,9 @@
|
|||||||
@section('headerButtons')
|
@section('headerButtons')
|
||||||
|
|
||||||
@if($module)
|
@if($module)
|
||||||
<a href="{{route('content.new', ['moduleId' => $module->id])}}" class="btn btn-primary btn-sm rounded-s">
|
<a href="{{route('content.new', ['moduleId' => $module->id])}}" class="btn btn-primary btn-sm rounded-s">
|
||||||
<i class="fa fa-plus"></i>
|
<i class="fa fa-plus"></i>
|
||||||
</a>
|
</a>
|
||||||
@endif
|
@endif
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@@ -21,21 +21,19 @@
|
|||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@if (count($pages))
|
@if (count($pages))
|
||||||
<table class="table item-list full-width content-overview table-striped table-bordered table-hover">
|
<div class="item-list rows-striped">
|
||||||
<tr>
|
<div class="row bold p-tb-15">
|
||||||
<th></th>
|
<div class="col-md-1 hidden-sm-down"></div>
|
||||||
<th>@lang('admin/contents.title')</th>
|
<div class="col-xs-10 col-md-3 col-lg-4">@lang('admin/contents.title')</div>
|
||||||
<th>@lang('admin/contents.status')</th>
|
<div class="col-lg-2 col-md-3 hidden-sm-down">@lang('admin/contents.status')</div>
|
||||||
<th>@lang('admin/contents.moduleName')</th>
|
<div class="col-lg-2 col-md-3 hidden-sm-down">@lang('admin/contents.moduleName')</div>
|
||||||
<th>@lang('admin/contents.createdAt')</th>
|
<div class="col-lg-2 hidden-md-down">@lang('admin/contents.createdAt')</div>
|
||||||
<th>@lang('admin/contents.actions')</th>
|
<div class="col-xs-2 col-lg-1">@lang('admin/contents.actions')</div>
|
||||||
</tr>
|
</div>
|
||||||
@foreach($pages as $page)
|
@foreach($pages as $page)
|
||||||
<tr>
|
<div class="row p-tb-15">
|
||||||
<td class="text-center with-placeholder">
|
<div class="col-md-1 hidden-sm-down text-center with-placeholder">
|
||||||
<a href="{{route('content.edit', ['id' => $page->id])}}">
|
<a href="{{route('content.edit', ['id' => $page->id])}}">
|
||||||
@if(!empty($page->title_photo))
|
@if(!empty($page->title_photo))
|
||||||
<img src="@upload($page->title_photo)" class="placeholder" alt="{{$page->title}}" />
|
<img src="@upload($page->title_photo)" class="placeholder" alt="{{$page->title}}" />
|
||||||
@@ -44,20 +42,20 @@
|
|||||||
alt="{{$page->title}}" />
|
alt="{{$page->title}}" />
|
||||||
@endif
|
@endif
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</div>
|
||||||
<td>
|
<div class="col-xs-10 col-md-3 col-lg-4">
|
||||||
<a href="{{route('content.edit', ['id' => $page->id])}}">
|
<a href="{{route('content.edit', ['id' => $page->id])}}">
|
||||||
{{$page->title}}
|
{{$page->title}}
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</div>
|
||||||
<td>{{$statuses[$page->status]}}</td>
|
<div class="col-lg-2 col-md-3 hidden-sm-down">{{$statuses[$page->status]}}</div>
|
||||||
<td>
|
<div class="col-lg-2 col-md-3 hidden-sm-down">
|
||||||
<a href="{{route('content.overview', ['moduleId' => $page->module_id])}}">
|
<a href="{{route('content.overview', ['moduleId' => $page->module_id])}}">
|
||||||
{{trans($page->module_name)}}
|
{{trans($page->module_name)}}
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</div>
|
||||||
<td>@date($page->created_at)</td>
|
<div class="col-lg-2 hidden-md-down">@date($page->created_at)</div>
|
||||||
<td class="text-center">
|
<div class="col-xs-2 col-lg-1 text-center">
|
||||||
<div class="item-actions-dropdown">
|
<div class="item-actions-dropdown">
|
||||||
<a class="item-actions-toggle-btn">
|
<a class="item-actions-toggle-btn">
|
||||||
<span class="inactive">
|
<span class="inactive">
|
||||||
@@ -71,65 +69,54 @@
|
|||||||
<ul class="item-actions-list">
|
<ul class="item-actions-list">
|
||||||
|
|
||||||
@if(!$page->is_homepage)
|
@if(!$page->is_homepage)
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|
||||||
<a href="{{route('content.setHomepage', ['id' => $page->id])}}"
|
<a href="{{route('content.setHomepage', ['id' => $page->id])}}" data-toggle="tooltip" title="@lang('admin/contents.setHomepage')">
|
||||||
class="button tiny success">
|
|
||||||
<i class="fa fa-home"></i>
|
<i class="fa fa-home"></i>
|
||||||
{{--@lang('admin/contents.setHomepage')--}}
|
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a class="edit" href="{{route('content.edit', ['id' => $page->id])}}"
|
<a class="edit" href="{{route('content.edit', ['id' => $page->id])}}" data-toggle="tooltip" title="@lang('admin/contents.editPlain')">
|
||||||
class="button tiny success">
|
|
||||||
<i class="fa fa-pencil"></i>
|
<i class="fa fa-pencil"></i>
|
||||||
{{-- @lang('admin/contents.editPlain')--}}
|
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
@if($page->status == \App\Models\Content::STATUS_DRAFT)
|
@if($page->status == \App\Models\Content::STATUS_DRAFT)
|
||||||
<li>
|
<li>
|
||||||
<a href="{{route('content.changeStatus', ['id' => $page->id, 'status' => \App\Models\Content::STATUS_PUBLIC])}}"
|
<a href="{{route('content.changeStatus', ['id' => $page->id, 'status' => \App\Models\Content::STATUS_PUBLIC])}}"
|
||||||
class="button tiny success">
|
class="confirm" data-toggle="tooltip" title="@lang('admin/contents.makePublic')">
|
||||||
<i class="fa fa-eye"></i>
|
<i class="fa fa-eye"></i>
|
||||||
{{-- @lang('admin/contents.makePublic')--}}
|
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="{{route('content.changeStatus', ['id' => $page->id, 'status' => \App\Models\Content::STATUS_PROTECTED])}}"
|
<a href="{{route('content.changeStatus', ['id' => $page->id, 'status' => \App\Models\Content::STATUS_PROTECTED])}}"
|
||||||
class="button tiny warning" data-toggle="modal"
|
class="confirm" data-toggle="tooltip"
|
||||||
data-target="#confirm-modal">
|
title="@lang('admin/contents.makeProtected')">
|
||||||
<i class="fa fa-lock"></i>
|
<i class="fa fa-lock"></i>
|
||||||
{{-- @lang('admin/contents.makeProtected')--}}
|
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@else
|
@else
|
||||||
<li>
|
<li>
|
||||||
<a href="{{route('page.content', ['url' => $page->url])}}" target="_blank"
|
<a href="{{route('page.content', ['url' => $page->url])}}" target="_blank"
|
||||||
class="button tiny secondary"><i class="fa fa-desktop"></i>
|
data-toggle="tooltip" title="@lang('admin/contents.viewPage')"
|
||||||
{{--@lang('admin/contents.viewPage')--}}
|
class="button tiny secondary"><i class="fa fa-globe"></i>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="{{route('content.changeStatus', ['id' => $page->id, 'status' => \App\Models\Content::STATUS_DRAFT])}}"
|
<a href="{{route('content.changeStatus', ['id' => $page->id, 'status' => \App\Models\Content::STATUS_DRAFT])}}"
|
||||||
class="button tiny warning confirm"><i
|
class="button tiny warning confirm" data-toggle="tooltip"
|
||||||
class="fa fa-eye-slash"></i>
|
title="@lang('admin/contents.makeDraft')">
|
||||||
{{--@lang('admin/contents.makeDraft')--}}
|
<i class="fa fa-eye-slash"></i>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a class="remove" data-toggle="modal" data-target="#confirm-modal"
|
<a href="{{route('content.delete', ['id' => $page->id])}}"
|
||||||
href="{{route('content.delete', ['id' => $page->id])}}"
|
class="button tiny alert remove confirm" data-toggle="tooltip" title="@lang('admin/contents.deletePage')"><i
|
||||||
class="button tiny alert confirm"><i
|
|
||||||
class="fa fa-trash-o"></i>
|
class="fa fa-trash-o"></i>
|
||||||
{{--@lang('admin/contents.deletePage')--}}
|
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
@@ -139,16 +126,17 @@
|
|||||||
{{--class="fa fa-trash-o "></i> </a>--}}
|
{{--class="fa fa-trash-o "></i> </a>--}}
|
||||||
{{--</li>--}}
|
{{--</li>--}}
|
||||||
{{--<li>--}}
|
{{--<li>--}}
|
||||||
{{--<a class="edit" href="item-editor.html"> <i class="fa fa-pencil"></i> </a>--}}
|
{{--<a class="edit" href="{{route('content.edit', ['id' => $page->id])}}"> <i--}}
|
||||||
|
{{--class="fa fa-pencil"></i> </a>--}}
|
||||||
{{--</li>--}}
|
{{--</li>--}}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</td>
|
</div>
|
||||||
</tr>
|
</div>
|
||||||
@endforeach
|
@endforeach
|
||||||
</table>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{!! $pages->render() !!}
|
{!! $pages->render() !!}
|
||||||
|
|||||||
@@ -53,27 +53,29 @@
|
|||||||
<div class="modal fade" id="confirm-modal">
|
<div class="modal fade" id="confirm-modal">
|
||||||
<div class="modal-dialog" role="document">
|
<div class="modal-dialog" role="document">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||||
<span aria-hidden="true">×</span>
|
<span aria-hidden="true">×</span>
|
||||||
</button>
|
</button>
|
||||||
<h4 class="modal-title"><i class="fa fa-warning"></i> Alert</h4> </div>
|
<h4 class="modal-title">
|
||||||
|
<i class="fa fa-warning"></i>
|
||||||
|
<span id="confirmation-title">@lang('admin/common.confirmationTitle')</span>
|
||||||
|
</h4>
|
||||||
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<p>Are you sure want to do this?</p>
|
<p id="confirmation-message">@lang('admin/common.confirmation')</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="modal-footer">
|
||||||
|
<a id="confirm-button" class="btn btn-primary">@lang('admin/common.yes')</a>
|
||||||
|
<button id="cancel-modal-button" type="button" class="btn btn-secondary" data-dismiss="modal">@lang('admin/common.no')</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer"> <button type="button" class="btn btn-primary" data-dismiss="modal">Yes</button> <button type="button" class="btn btn-secondary" data-dismiss="modal">No</button> </div>
|
|
||||||
</div>
|
</div>
|
||||||
<!-- /.modal-content -->
|
<!-- /.modal-content -->
|
||||||
</div>
|
</div>
|
||||||
<!-- /.modal-dialog -->
|
<!-- /.modal-dialog -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="ref" id="ref">
|
|
||||||
<div class="color-primary"></div>
|
|
||||||
<div class="chart">
|
|
||||||
<div class="color-primary"></div>
|
|
||||||
<div class="color-secondary"></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script src="{{asset('resources/assets/admin/js')}}/vendor.js"></script>
|
<script src="{{asset('resources/assets/admin/js')}}/vendor.js"></script>
|
||||||
<script src="{{asset('resources/assets/admin/js')}}/app.js"></script>
|
<script src="{{asset('resources/assets/admin/js')}}/app.js"></script>
|
||||||
@yield('javascripts')
|
@yield('javascripts')
|
||||||
|
|||||||
@@ -156,7 +156,7 @@
|
|||||||
<div class="footer-block author">
|
<div class="footer-block author">
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
© {{date('Y')}} <a href="https://binarity.cz">binarity s.r.o.</a>
|
© {{date('Y')}} <a href="https://www.binarity.cz">binarity s.r.o.</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/modularcode">ModularCode</a>
|
<a href="https://github.com/modularcode">ModularCode</a>
|
||||||
|
|||||||
@@ -12,15 +12,15 @@
|
|||||||
@section('content')
|
@section('content')
|
||||||
<div class="row users-list">
|
<div class="row users-list">
|
||||||
@forelse($users as $user)
|
@forelse($users as $user)
|
||||||
<div class="col-lg-4">
|
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-3 ">
|
||||||
<div class="card card-default">
|
<div class="card card-default ">
|
||||||
<div class="row card-block">
|
<div class="card-block truncate">
|
||||||
<div class="col-lg-4 text-center">
|
<div class="cl-xs-12 text-center">
|
||||||
<a href="{{route('users.edit', ['id' => $user->id])}}">
|
<a href="{{route('users.edit', ['id' => $user->id])}}">
|
||||||
<img src="{{$user->gravatar(350)}}" alt="" />
|
<img src="{{$user->gravatar(100)}}" alt="" />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-8">
|
<div class="col-xs-12">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="{{route('users.edit', ['id' => $user->id])}}">{{$user->name}}</a></li>
|
<li><a href="{{route('users.edit', ['id' => $user->id])}}">{{$user->name}}</a></li>
|
||||||
<li>{{$user->email}}</li>
|
<li>{{$user->email}}</li>
|
||||||
@@ -31,7 +31,6 @@
|
|||||||
<div class="card-footer text-right">
|
<div class="card-footer text-right">
|
||||||
<a href="{{route('users.edit', ['id' => $user->id])}}" class="btn btn-primary"><i
|
<a href="{{route('users.edit', ['id' => $user->id])}}" class="btn btn-primary"><i
|
||||||
class="fa fa-pencil edit"></i></a>
|
class="fa fa-pencil edit"></i></a>
|
||||||
|
|
||||||
<a href="#" class="btn btn-danger"><i class="fa fa-trash edit"></i></a>
|
<a href="#" class="btn btn-danger"><i class="fa fa-trash edit"></i></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user