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
268a238c
Commit
268a238c
authored
Jun 17, 2022
by
Kevin Yumang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SERV-2286 - Cleaned out structure and added Documentation directory for every element
parent
59798a89
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
142 additions
and
33 deletions
+142
-33
Index.blade.php
src/Views/Limitless/Codemirror/Documentation/Index.blade.php
+23
-0
Index.blade.php
...iews/Limitless/Element/Card/Documentation/Index.blade.php
+22
-0
Index.blade.php
...s/Limitless/Element/Example/Documentation/Index.blade.php
+22
-0
Config.php
src/Views/Limitless/Help/Config.php
+27
-0
Master.blade.php
src/Views/Limitless/Help/Layout/Master.blade.php
+4
-0
Home.blade.php
src/Views/Limitless/Help/Pages/Home.blade.php
+0
-33
Index.blade.php
src/Views/Limitless/Navigation/Documentation/Index.blade.php
+22
-0
Index.blade.php
src/Views/Limitless/Table/Documentation/Index.blade.php
+22
-0
No files found.
src/Views/Limitless/Codemirror/Documentation/Index.blade.php
0 → 100644
View file @
268a238c
{{
--
Layout
Reference
--
}}
@
extends
(
'Limitless::Help.Layout.Master'
)
@
section
(
'Limitless::Content'
)
@
php
$example
=
base64_decode
(
"ICAgIEBMaW1pdGxlc3M6OkVsZW1lbnRDYXJkU3RhcnQoWyd0aXRsZScgPT4gIkNvZGVtaXJyb3IgVGVzdCIsICdpY29uJyA9PiAnaWNvbi1maWxlLWVtcHR5JyBdICkKICAgICAgICBATGltaXRsZXNzOjpDb2RlbWlycm9yKFsgJ2xhbmd1YWdlJyA9PiAnamF2YXNjcmlwdCcsICd0aGVtZScgPT4gJ3plbmJ1cm4nLCAndmFsdWUnID0+ICdIZWxsbyBXb3JsZCEnIF0pCiAgICBATGltaXRsZXNzOjpFbGVtZW50Q2FyZFN0b3A="
);
@
endphp
@
Limitless
::
ElementCardStart
([
'title'
=>
"Documentation"
,
'icon'
=>
'icon-file-text3'
,
'collapsable'
=>
true
,
'removeable'
=>
false
,
'extra'
=>
[
'style'
=>
'position:relative;'
,
'id'
=>
'elemento1'
,
'class'
=>
'card'
]
])
hello
world
@
Limitless
::
ElementCardStop
@
Limitless
::
ElementCardStart
([
'title'
=>
"Codemirror Test"
,
'icon'
=>
'icon-file-empty'
]
)
@
Limitless
::
Codemirror
([
'language'
=>
'javascript'
,
'theme'
=>
'zenburn'
,
'value'
=>
'Hello World!'
])
@
Limitless
::
ElementCardStop
@
Limitless
::
ElementCardStart
([
'title'
=>
"Codemirror Test"
,
'icon'
=>
'icon-file-empty'
]
)
@
Limitless
::
Codemirror
([
'language'
=>
'javascript'
,
'theme'
=>
'zenburn'
,
'value'
=>
$example
])
@
Limitless
::
ElementCardStop
@
stop
src/Views/Limitless/Element/Card/Documentation/Index.blade.php
0 → 100644
View file @
268a238c
{{
--
Layout
Reference
--
}}
@
extends
(
'Limitless::Help.Layout.Master'
)
@
section
(
'Limitless::Content'
)
@
php
$example
=
base64_decode
(
"ICAgIEBMaW1pdGxlc3M6OkVsZW1lbnRDYXJkU3RhcnQoWyd0aXRsZScgPT4gIkNvZGVtaXJyb3IgVGVzdCIsICdpY29uJyA9PiAnaWNvbi1maWxlLWVtcHR5JyBdICkKICAgICAgICBJIGFtIGluc2lkZSBhIGNhcmQhCiAgICBATGltaXRsZXNzOjpFbGVtZW50Q2FyZFN0b3A="
);
@
endphp
@
Limitless
::
ElementCardStart
([
'title'
=>
"Documentation"
,
'icon'
=>
'icon-file-text3'
,
'collapsable'
=>
true
,
'removeable'
=>
false
,
'extra'
=>
[
'style'
=>
'position:relative;'
,
'id'
=>
'elemento1'
,
'class'
=>
'card'
]
])
Details
here
.
@
Limitless
::
ElementCardStop
@
Limitless
::
ElementCardStart
([
'title'
=>
"Card Sample"
,
'icon'
=>
'icon-file-empty'
]
)
I
am
inside
a
card
!
@
Limitless
::
ElementCardStop
@
Limitless
::
ElementCardStart
([
'title'
=>
"Card Syntax"
,
'icon'
=>
'icon-file-empty'
]
)
@
Limitless
::
Codemirror
([
'language'
=>
'javascript'
,
'theme'
=>
'zenburn'
,
'value'
=>
$example
])
@
Limitless
::
ElementCardStop
@
stop
src/Views/Limitless/Element/Example/Documentation/Index.blade.php
0 → 100644
View file @
268a238c
{{
--
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'
]
])
Details
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
src/Views/Limitless/Help/Config.php
View file @
268a238c
...
@@ -48,6 +48,33 @@
...
@@ -48,6 +48,33 @@
*/
*/
public
function
internalNavigation
(
$parameters
)
public
function
internalNavigation
(
$parameters
)
{
{
$page
=
$_GET
[
'page'
];
$path
=
''
;
if
(
isset
(
$page
))
{
switch
(
$page
)
{
case
"card"
:
$path
=
'Limitless::Element.Card.Documentation.Index'
;
break
;
case
"example"
:
$path
=
'Limitless::Element.Example.Documentation.Index'
;
break
;
case
"codemirror"
:
$path
=
'Limitless::Codemirror.Documentation.Index'
;
break
;
case
"navigation"
:
$path
=
'Limitless::Navigation.Documentation.Index'
;
break
;
case
"tables"
:
$path
=
'Limitless::Table.Documentation.Index'
;
break
;
default
;
}
return
View
(
$path
);
}
return
View
(
'Limitless::Help.Pages.Home'
);
return
View
(
'Limitless::Help.Pages.Home'
);
}
}
...
...
src/Views/Limitless/Help/Layout/Master.blade.php
View file @
268a238c
...
@@ -20,3 +20,7 @@
...
@@ -20,3 +20,7 @@
@
section
(
'Limitless::Assets'
)
@
section
(
'Limitless::Assets'
)
<
meta
name
=
"robots"
content
=
"noindex"
/>
<
meta
name
=
"robots"
content
=
"noindex"
/>
@
stop
@
stop
@
section
(
'Limitless::SidebarContent'
)
Test
@
stop
src/Views/Limitless/Help/Pages/Home.blade.php
View file @
268a238c
{{
--
Layout
Reference
--
}}
{{
--
Layout
Reference
--
}}
@
extends
(
'Limitless::Help.Layout.Master'
)
@
extends
(
'Limitless::Help.Layout.Master'
)
@
section
(
'Limitless::SidebarContent'
)
@
Limitless
::
NavigationAutoFillMenu
([
[
'header'
=>
'Main'
,
'menu'
=>
[
[
'name'
=>
'Home'
,
'link'
=>
'#'
,
'icon'
=>
'icon-home4'
],
[
'name'
=>
'Elements'
,
'icon'
=>
'icon-puzzle2'
,
'submenu'
=>
[
[
'name'
=>
'Code Mirror'
,
'link'
=>
'#'
,
'icon'
=>
'icon-file-css'
],
[
'name'
=>
'Example'
,
'link'
=>
'#'
,
'icon'
=>
'icon-file-text3'
],
[
'name'
=>
'Table'
,
'link'
=>
'#'
,
'icon'
=>
'icon-table2'
]
]
]
]
],
[
'header'
=>
'Test Additional Menu Group'
,
'menu'
=>
[
[
'name'
=>
'A'
,
'link'
=>
'#'
,
'icon'
=>
'icon-home4'
],
[
'name'
=>
'B'
,
'link'
=>
'#'
,
'icon'
=>
'icon-file-css'
],
[
'name'
=>
'C'
,
'link'
=>
'#'
,
'icon'
=>
'icon-file-empty'
],
[
'name'
=>
'D'
,
'link'
=>
'#'
,
'icon'
=>
'icon-table2'
],
[
'name'
=>
'E'
,
'icon'
=>
'icon-list'
,
'submenu'
=>
[
[
'name'
=>
'E1'
,
'link'
=>
'#'
,
'icon'
=>
'icon-list'
],
[
'name'
=>
'E2'
,
'link'
=>
'#'
,
'icon'
=>
'icon-list'
],
]
]
]
]
])
@
stop
@
section
(
'Limitless::Content'
)
@
section
(
'Limitless::Content'
)
@
Limitless
::
ElementCardStart
([
'title'
=>
"Documentation"
,
'icon'
=>
'icon-file-text3'
,
'collapsable'
=>
true
,
'removeable'
=>
false
,
'extra'
=>
[
'style'
=>
'position:relative;'
,
'id'
=>
'elemento1'
,
'class'
=>
'card'
]
])
@
Limitless
::
ElementCardStart
([
'title'
=>
"Documentation"
,
'icon'
=>
'icon-file-text3'
,
'collapsable'
=>
true
,
'removeable'
=>
false
,
'extra'
=>
[
'style'
=>
'position:relative;'
,
'id'
=>
'elemento1'
,
'class'
=>
'card'
]
])
...
...
src/Views/Limitless/Navigation/Documentation/Index.blade.php
0 → 100644
View file @
268a238c
{{
--
Layout
Reference
--
}}
@
extends
(
'Limitless::Help.Layout.Master'
)
@
section
(
'Limitless::Content'
)
@
php
$example
=
base64_decode
(
""
);
@
endphp
@
Limitless
::
ElementCardStart
([
'title'
=>
"Documentation"
,
'icon'
=>
'icon-file-text3'
,
'collapsable'
=>
true
,
'removeable'
=>
false
,
'extra'
=>
[
'style'
=>
'position:relative;'
,
'id'
=>
'elemento1'
,
'class'
=>
'card'
]
])
Details
here
.
@
Limitless
::
ElementCardStop
@
Limitless
::
ElementCardStart
([
'title'
=>
"Navigation Sample Output"
,
'icon'
=>
'icon-file-empty'
]
)
Navigation
sample
output
here
@
Limitless
::
ElementCardStop
@
Limitless
::
ElementCardStart
([
'title'
=>
"Navigation Syntax"
,
'icon'
=>
'icon-file-empty'
]
)
@
Limitless
::
Codemirror
([
'language'
=>
'javascript'
,
'theme'
=>
'zenburn'
,
'value'
=>
$example
])
@
Limitless
::
ElementCardStop
@
stop
src/Views/Limitless/Table/Documentation/Index.blade.php
0 → 100644
View file @
268a238c
{{
--
Layout
Reference
--
}}
@
extends
(
'Limitless::Help.Layout.Master'
)
@
section
(
'Limitless::Content'
)
@
php
$example
=
base64_decode
(
""
);
@
endphp
@
Limitless
::
ElementCardStart
([
'title'
=>
"Documentation"
,
'icon'
=>
'icon-file-text3'
,
'collapsable'
=>
true
,
'removeable'
=>
false
,
'extra'
=>
[
'style'
=>
'position:relative;'
,
'id'
=>
'elemento1'
,
'class'
=>
'card'
]
])
Details
here
.
@
Limitless
::
ElementCardStop
@
Limitless
::
ElementCardStart
([
'title'
=>
"Table Sample Output"
,
'icon'
=>
'icon-file-empty'
]
)
Table
sample
output
here
@
Limitless
::
ElementCardStop
@
Limitless
::
ElementCardStart
([
'title'
=>
"Table 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