Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
onestartup-crm
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Angel Martin
onestartup-crm
Commits
4ba6510d
Commit
4ba6510d
authored
Aug 29, 2018
by
Francisco Salazar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
detalles de session
parent
7ed7876b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
4 deletions
+25
-4
AdminCrmController.php
src/AdminCrmController.php
+2
-1
menu-partial.blade.php
src/views/admin/menu-partial.blade.php
+1
-2
show.blade.php
src/views/show.blade.php
+22
-1
No files found.
src/AdminCrmController.php
View file @
4ba6510d
...
@@ -35,8 +35,9 @@ class AdminCrmController extends Controller
...
@@ -35,8 +35,9 @@ class AdminCrmController extends Controller
public
function
show
(
$id
)
public
function
show
(
$id
)
{
{
$interested
=
Interested
::
find
(
$id
);
$interested
=
Interested
::
find
(
$id
);
$interested_detail
=
$interested
->
interested_detail
;
return
view
(
'crm::show'
)
return
view
(
'crm::show'
)
->
with
(
'interested_detail'
,
$interested_detail
)
->
with
(
'interested'
,
$interested
);
->
with
(
'interested'
,
$interested
);
}
}
...
...
src/views/admin/menu-partial.blade.php
View file @
4ba6510d
...
@@ -243,8 +243,7 @@
...
@@ -243,8 +243,7 @@
</ul>
</ul>
</li>
</li>
@endif
@endif
<li
class=
"{{Request::is('admin/user/*') || Request::is('admin/user') ? 'active' : ''}}"
>
<li>
<a>
<a>
<span
class=
"nav-caret"
>
<span
class=
"nav-caret"
>
<i
class=
"fa fa-caret-down"
></i>
<i
class=
"fa fa-caret-down"
></i>
...
...
src/views/show.blade.php
View file @
4ba6510d
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
@section('content')
@section('content')
<div class='padding'>
<div class='padding'>
<div class='row'>
<div class='row'>
<div class='
col-md-10 offset-1
'>
<div class='
{{$interested_detail == null ? "
col
-
md
-
12
" : "
col
-
md
-
6
"}}
'>
<div class='box'>
<div class='box'>
<div class='box-header dark'>
<div class='box-header dark'>
<h3>Detalle del registro</h3>
<h3>Detalle del registro</h3>
...
@@ -52,8 +52,29 @@
...
@@ -52,8 +52,29 @@
</div>
</div>
</div>
</div>
</div>
</div>
@if(
$interested_detail
!=null)
<div class='col-md-6'>
<div class='box'>
<div class='box-header dark'>
<h3>Detalle de session</h3>
</div>
<div class='box-body'>
<p> Plataforma: <b>{{$interested_detail->platform."
".
$interested_detail->platform_version
}}</b></p>
<p> Navegador:
<b>
{{$interested_detail->browser."
".
$interested_detail->browser_version
}}
</b>
</p>
<p> Dispositivo: <b>
{
{$interested_detail->devise}
}
</b></p>
<p> Tipo de dispositivo: <b>
{
{$interested_detail->devise_type}
}
</b></p>
<p> Tiempo de la sesión: <b>
{
{$interested_detail->session_time}
}
segundos</b></p>
</div>
</div>
</div>
@endif
</div>
</div>
<div class="
row
">
<div class="
row
">
<div class="
col
-
md
-
10
offset
-
1
">
<div class="
col
-
md
-
10
offset
-
1
">
<div class="
box
">
<div class="
box
">
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment