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
e6de9b76
Commit
e6de9b76
authored
Jun 21, 2022
by
Kevin Yumang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SERV-2286 - created divider element for documentation
parent
945769ee
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
0 deletions
+35
-0
Config.php
src/Views/Limitless/Element/Config.php
+12
-0
Divider.blade.php
src/Views/Limitless/Element/Divider/Divider.blade.php
+1
-0
Index.blade.php
...s/Limitless/Element/Divider/Documentation/Index.blade.php
+22
-0
No files found.
src/Views/Limitless/Element/Config.php
View file @
e6de9b76
...
...
@@ -39,6 +39,7 @@
public
$methodAllocation
=
[
'Limitless::ElementCardStart'
=>
'cardStart'
,
'Limitless::ElementCardStop'
=>
'cardStop'
,
'Limitless::Divider'
=>
'divider'
,
'Limitless::Example'
=>
'example'
,
];
...
...
@@ -79,6 +80,17 @@
}
/*
|--------------------------------------------------------------------------------------------
| Method "divider"
|--------------------------------------------------------------------------------------------
*/
public
function
divider
()
{
return
View
(
'Limitless::Element.Divider.Divider'
);
}
/*
|--------------------------------------------------------------------------------------------
...
...
src/Views/Limitless/Element/Divider/Divider.blade.php
0 → 100644
View file @
e6de9b76
<div
style=
"border-top:1px solid #495267;"
class=
"dropdown-divider"
></div>
\ No newline at end of file
src/Views/Limitless/Element/Divider/Documentation/Index.blade.php
0 → 100644
View file @
e6de9b76
{{
--
Layout
Reference
--
}}
@
extends
(
'Limitless::Help.Layout.Master'
)
@
section
(
'Limitless::Content'
)
@
php
$example
=
base64_decode
(
"QExpbWl0bGVzczo6RXhhbXBsZQ=="
);
@
endphp
@
Limitless
::
ElementCardStart
([
'title'
=>
"Documentation"
,
'icon'
=>
'icon-file-text3'
,
'collapsable'
=>
true
,
'removeable'
=>
false
,
'extra'
=>
[
'style'
=>
'position:relative;'
,
'id'
=>
'elemento1'
,
'class'
=>
'card'
]
])
Description
for
example
element
here
.
@
Limitless
::
ElementCardStop
@
Limitless
::
ElementCardStart
([
'title'
=>
"Example Sample Output"
,
'icon'
=>
'icon-file-empty'
]
)
@
Limitless
::
Example
@
Limitless
::
ElementCardStop
@
Limitless
::
ElementCardStart
([
'title'
=>
"Example Syntax"
,
'icon'
=>
'icon-file-empty'
]
)
@
Limitless
::
Codemirror
([
'language'
=>
'javascript'
,
'theme'
=>
'zenburn'
,
'value'
=>
$example
])
@
Limitless
::
ElementCardStop
@
stop
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