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
1d955b56
Commit
1d955b56
authored
Jul 01, 2022
by
Kevin Yumang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SERV-2286 - navigation URL routes adjustment
parent
c4cf3a7e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
51 deletions
+12
-51
Config.php
src/Views/Limitless/Help/Config.php
+2
-41
Master.blade.php
src/Views/Limitless/Help/Layout/Master.blade.php
+10
-10
No files found.
src/Views/Limitless/Help/Config.php
View file @
1d955b56
...
...
@@ -40,48 +40,9 @@
{
if
(
isset
(
$_GET
[
'page'
]))
{
$page
=
strtolower
(
$_GET
[
'page'
]);
$path
=
''
;
$page
=
'Limitless::'
.
$_GET
[
'page'
]
.
'.Documentation.Index'
;
switch
(
$page
)
{
case
"home"
:
case
"/"
:
$path
=
'Limitless::Help.Pages.Home'
;
break
;
case
"example"
:
$path
=
'Limitless::Element.Example.Documentation.Index'
;
break
;
case
"alert"
:
$path
=
'Limitless::Element.Alert.Documentation.Index'
;
break
;
case
"card"
:
$path
=
'Limitless::Card.Documentation.Index'
;
break
;
case
"codemirror"
:
$path
=
'Limitless::Codemirror.Documentation.Index'
;
break
;
case
"divider"
:
$path
=
'Limitless::Element.Divider.Documentation.Index'
;
break
;
case
"loremipsum"
:
$path
=
'Limitless::Element.LoremIpsum.Documentation.Index'
;
break
;
case
"navigation"
:
$path
=
'Limitless::Navigation.Documentation.Index'
;
break
;
case
"modal"
:
$path
=
'Limitless::Modal.Documentation.Index'
;
break
;
case
"randomselect"
:
$path
=
'Limitless::Element.RandomSelect.Documentation.Index'
;
break
;
case
"table"
:
$path
=
'Limitless::Table.Documentation.Index'
;
break
;
default
:
}
return
View
(
$path
);
return
View
(
$page
);
}
return
View
(
'Limitless::Help.Pages.Home'
);
...
...
src/Views/Limitless/Help/Layout/Master.blade.php
View file @
1d955b56
...
...
@@ -26,16 +26,16 @@
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'/'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-home2'
,
'title'
=>
'Home'
])
@
Limitless
::
NavigationMenuStart
([
'title'
=>
'Elements'
,
'icon'
=>
'icon-grid5'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=
e
xample'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-exclamation'
,
'title'
=>
'Example'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=
a
lert'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-bubble-notification'
,
'title'
=>
'Alert'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=
c
ard'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-newspaper'
,
'title'
=>
'Card'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=
c
odemirror'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-circle-code'
,
'title'
=>
'Code Mirror'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=
d
ivider'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-minus2'
,
'title'
=>
'Divider'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=
loremi
psum'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-bubble-lines3'
,
'title'
=>
'Lorem Ipsum'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=
n
avigation'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-menu8'
,
'title'
=>
'Navigation'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=
m
odal'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-stack'
,
'title'
=>
'Modal'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=
randoms
elect'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-shuffle'
,
'title'
=>
'Random Select'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=
t
able'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-table2'
,
'title'
=>
'Table'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=
Element.E
xample'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-exclamation'
,
'title'
=>
'Example'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=
Element.A
lert'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-bubble-notification'
,
'title'
=>
'Alert'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=
C
ard'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-newspaper'
,
'title'
=>
'Card'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=
C
odemirror'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-circle-code'
,
'title'
=>
'Code Mirror'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=
Element.D
ivider'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-minus2'
,
'title'
=>
'Divider'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=
Element.LoremI
psum'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-bubble-lines3'
,
'title'
=>
'Lorem Ipsum'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=
N
avigation'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-menu8'
,
'title'
=>
'Navigation'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=
M
odal'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-stack'
,
'title'
=>
'Modal'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=
Element.RandomS
elect'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-shuffle'
,
'title'
=>
'Random Select'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=
T
able'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-table2'
,
'title'
=>
'Table'
])
@
Limitless
::
NavigationMenuStop
@
Limitless
::
NavigationMenuStart
([
'title'
=>
'Icons'
,
'icon'
=>
'far fa-images'
])
...
...
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