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
37844d5e
Commit
37844d5e
authored
Aug 03, 2022
by
Kevin Yumang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SERV-2286 - added ListIcon element
parent
23872cb1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
80 additions
and
0 deletions
+80
-0
Master.blade.php
src/Views/Limitless/Help/Layout/Master.blade.php
+1
-0
Config.php
src/Views/Limitless/Listicon/Config.php
+54
-0
Index.blade.php
src/Views/Limitless/Listicon/Documentation/Index.blade.php
+13
-0
ListIcon.blade.php
src/Views/Limitless/Listicon/ListIcon.blade.php
+12
-0
No files found.
src/Views/Limitless/Help/Layout/Master.blade.php
View file @
37844d5e
...
...
@@ -38,6 +38,7 @@
@
Limitless
::
SideNavMenuItem
([
'url'
=>
'?page=Element.Copyright'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-info22'
,
'title'
=>
'Copyright'
])
@
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=ListIcon'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-vcard'
,
'title'
=>
'ListIcon'
])
@
Limitless
::
SideNavMenuItem
([
'url'
=>
'?page=Element.LoremIpsum'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-bubble-lines3'
,
'title'
=>
'Lorem Ipsum'
])
@
Limitless
::
SideNavMenuItem
([
'url'
=>
'?page=Looper'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-loop3'
,
'title'
=>
'Looper'
])
@
Limitless
::
SideNavMenuItem
([
'url'
=>
'?page=Modal'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-stack'
,
'title'
=>
'Modal'
])
...
...
src/Views/Limitless/Listicon/Config.php
0 → 100644
View file @
37844d5e
<?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\ListIcon
;
/*
|------------------------------------------------------------------------------------------------
| Dependencies
|------------------------------------------------------------------------------------------------
*/
use
View
;
/*
|------------------------------------------------------------------------------------------------
| Class "Config"
|------------------------------------------------------------------------------------------------
*/
class
Config
{
public
$methodAllocation
=
[
'Limitless::ListIcon'
=>
'listIcon'
,
];
/*
|--------------------------------------------------------------------------------------------
| Method "listIcon"
|--------------------------------------------------------------------------------------------
*/
public
function
listIcon
(
$parameters
)
{
return
View
(
'Limitless::Listicon.ListIcon'
)
->
withUrl
(
$parameters
[
'url'
]
??
null
)
->
withTarget
(
$parameters
[
'target'
]
??
'_self'
)
->
withIcon
(
$parameters
[
'icon'
]
??
null
)
->
withTitle
(
$parameters
[
'title'
]
??
'No Title'
);
}
}
src/Views/Limitless/Listicon/Documentation/Index.blade.php
0 → 100644
View file @
37844d5e
{{
--
Layout
Reference
--
}}
@
extends
(
'Limitless::Help.Layout.Master'
)
@
section
(
'Limitless::Content'
)
@
Limitless
::
CardStart
([
'title'
=>
"Description"
,
'icon'
=>
'icon-info22'
])
@
Limitless
::
ListIcon
@
Limitless
::
ListIcon
@
Limitless
::
ListIcon
@
Limitless
::
CardStop
@
stop
\ No newline at end of file
src/Views/Limitless/Listicon/ListIcon.blade.php
0 → 100644
View file @
37844d5e
<li
class=
"nav-item"
>
@if($url)
<a
href=
"{{ $url }}"
target=
"{{ $target }}"
class=
"nav-link"
>
<i
class=
"{{ $icon }}"
></i>
<span>
{{ $title }}
</span>
</a>
@else
{{ $title }}
@endif
</li>
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