Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
S
sidekick
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Privat - Marco Schmiedel
sidekick
Commits
3e347bb2
Commit
3e347bb2
authored
Aug 03, 2022
by
Kevin Yumang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SERV-2286 - added dashboard element
parent
cab3ccb9
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
149 additions
and
1 deletion
+149
-1
dashboard.css
src/Views/Limitless/Dashboard/Attachments/dashboard.css
+3
-0
dashboard.init.js
src/Views/Limitless/Dashboard/Attachments/dashboard.init.js
+4
-0
Config.php
src/Views/Limitless/Dashboard/Config.php
+99
-0
Index.blade.php
src/Views/Limitless/Dashboard/Documentation/Index.blade.php
+24
-0
Start.php
src/Views/Limitless/Dashboard/Start.php
+1
-0
Stop.php
src/Views/Limitless/Dashboard/Stop.php
+1
-0
TileStart.blade.php
src/Views/Limitless/Dashboard/TileStart.blade.php
+15
-0
TileStop.php
src/Views/Limitless/Dashboard/TileStop.php
+1
-0
Master.blade.php
src/Views/Limitless/Help/Layout/Master.blade.php
+1
-0
Config.php
src/Views/Limitless/Topnav/Config.php
+0
-1
No files found.
src/Views/Limitless/Dashboard/Attachments/dashboard.css
0 → 100644
View file @
3e347bb2
.dashboard-container
span
.dashboard-tile
~
span
.dashboard-tile
{
margin-left
:
0.25rem
;
}
\ No newline at end of file
src/Views/Limitless/Dashboard/Attachments/dashboard.init.js
0 → 100644
View file @
3e347bb2
$
(
document
).
ready
(
function
()
{
// dashboard-container
// dashboard-tile
})
\ No newline at end of file
src/Views/Limitless/Dashboard/Config.php
0 → 100644
View file @
3e347bb2
<?php
/*
|------------------------------------------------------------------------------------------------
| Information
|------------------------------------------------------------------------------------------------
|
| This file is beautified by the command "sidekick:CodebeautifierCommand" of the ceetrox
| sidekick package.
|
| Author: Kevin Almond Roe Yumang <kevin.yumang@itmax.email>
| Update: 2022-06-30 02:31:57
|
*/
namespace
Ceetrox\Sidekick\Views\Limitless\Dashboard
;
/*
|------------------------------------------------------------------------------------------------
| Dependencies
|------------------------------------------------------------------------------------------------
*/
use
View
;
/*
|------------------------------------------------------------------------------------------------
| Class "Config"
|------------------------------------------------------------------------------------------------
*/
class
Config
{
public
$methodAllocation
=
[
'Limitless::DashboardStart'
=>
'dashboardStart'
,
'Limitless::DashboardStop'
=>
'dashboardStop'
,
'Limitless::DashboardTileStart'
=>
'dashboardTileStart'
,
'Limitless::DashboardTileStop'
=>
'dashboardTileStop'
,
];
public
$assetAllocation
;
public
function
__construct
()
{
$this
->
assetAllocation
=
[
'Limitless::DashboardStart'
=>
[
'Attachments/dashboard.css'
]
];
}
/*
|--------------------------------------------------------------------------------------------
| Method "dashboardStart"
|--------------------------------------------------------------------------------------------
*/
public
function
dashboardStart
()
{
return
View
(
'Limitless::Dashboard.Start'
);
}
/*
|--------------------------------------------------------------------------------------------
| Method "dashboardStop"
|--------------------------------------------------------------------------------------------
*/
public
function
dashboardStop
()
{
return
View
(
'Limitless::Dashboard.Stop'
);
}
/*
|--------------------------------------------------------------------------------------------
| Method "dashboardTileStart"
|--------------------------------------------------------------------------------------------
*/
public
function
dashboardTileStart
(
$parameters
)
{
return
View
(
'Limitless::Dashboard.TileStart'
)
->
withClass
(
$parameters
[
'class'
]
??
''
)
->
withTitle
(
$parameters
[
'title'
]
??
'No Title'
)
->
withIcon
(
$parameters
[
'icon'
]
??
null
);
}
/*
|--------------------------------------------------------------------------------------------
| Method "dashboardTileStop"
|--------------------------------------------------------------------------------------------
*/
public
function
dashboardTileStop
()
{
return
View
(
'Limitless::Dashboard.TileStop'
);
}
}
src/Views/Limitless/Dashboard/Documentation/Index.blade.php
0 → 100644
View file @
3e347bb2
{{
--
Layout
Reference
--
}}
@
extends
(
'Limitless::Help.Layout.Master'
)
@
section
(
'Limitless::Content'
)
@
Limitless
::
CardStart
([
'title'
=>
"Description"
,
'icon'
=>
'icon-info22'
])
@
Limitless
::
DashboardStart
@
Limitless
::
DashboardTileStart
([
'class'
=>
'testclass'
,
'title'
=>
'Dashboard 1'
,
'icon'
=>
'icon-person'
])
DASHBOARD
1
CONTENT
@
Limitless
::
DashboardTileStop
@
Limitless
::
DashboardTileStart
([
'class'
=>
'testclass'
,
'title'
=>
'Dashboard 2'
,
'icon'
=>
'icon-file-media'
])
DASHBOARD
2
CONTENT
@
Limitless
::
DashboardTileStop
@
Limitless
::
DashboardTileStart
([
'class'
=>
'testclass'
,
'title'
=>
'Dashboard 3'
,
'icon'
=>
'icon-paw'
])
DASHBOARD
3
CONTENT
@
Limitless
::
DashboardTileStop
@
Limitless
::
DashboardStop
@
Limitless
::
CardStop
@
stop
\ No newline at end of file
src/Views/Limitless/Dashboard/Start.php
0 → 100644
View file @
3e347bb2
<div
class=
"dashboard-container d-flex flex-wrap"
>
\ No newline at end of file
src/Views/Limitless/Dashboard/Stop.php
0 → 100644
View file @
3e347bb2
</div>
\ No newline at end of file
src/Views/Limitless/Dashboard/TileStart.blade.php
0 → 100644
View file @
3e347bb2
<span
href=
"#"
class=
"dashboard-tile
d-flex col-xl-3 col-lg-6 col-md-6 col-sm-6 col-xs-12
{{ $class }}
border-2 border-white rounded-left"
>
<div
class=
"card-body"
>
<div
class=
"d-flex mb-1"
>
<h4
class=
"font-weight-semibold mb-0"
>
@if($icon)
<i
class=
"{{ $icon }} mr-2"
></i>
@endif
{{ $title }}
</h4>
</div>
<div>
src/Views/Limitless/Dashboard/TileStop.php
0 → 100644
View file @
3e347bb2
</div></div></span>
\ No newline at end of file
src/Views/Limitless/Help/Layout/Master.blade.php
View file @
3e347bb2
...
...
@@ -36,6 +36,7 @@
@
Limitless
::
SideNavMenuItem
([
'url'
=>
'?page=Card'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-newspaper'
,
'title'
=>
'Card'
])
@
Limitless
::
SideNavMenuItem
([
'url'
=>
'?page=Codemirror'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-circle-code'
,
'title'
=>
'Code Mirror'
])
@
Limitless
::
SideNavMenuItem
([
'url'
=>
'?page=Element.Copyright'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-info22'
,
'title'
=>
'Copyright'
])
@
Limitless
::
SideNavMenuItem
([
'url'
=>
'?page=Dashboard'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-stats-bars'
,
'title'
=>
'Dashboard'
])
@
Limitless
::
SideNavMenuItem
([
'url'
=>
'?page=Element.Divider'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-minus2'
,
'title'
=>
'Divider'
])
@
Limitless
::
SideNavMenuItem
([
'url'
=>
'?page=Element.Legend'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-vcard'
,
'title'
=>
'Legend'
])
@
Limitless
::
SideNavMenuItem
([
'url'
=>
'?page=Listgroup'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-list-unordered'
,
'title'
=>
'List Group'
])
...
...
src/Views/Limitless/Topnav/Config.php
View file @
3e347bb2
...
...
@@ -56,7 +56,6 @@ class Config
{
$this
->
assetAllocation
=
[
'Limitless::TopNavStart'
=>
[
'Attachments/topnav.js'
,
'Attachments/topnav.css'
]
];
...
...
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