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
cdee249b
Commit
cdee249b
authored
Jun 21, 2022
by
Kevin Yumang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SERV-2286 - created table body element to be used for documentation
parent
3a4f430c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
27 deletions
+43
-27
Home.blade.php
src/Views/Limitless/Help/Pages/Home.blade.php
+14
-27
Config.php
src/Views/Limitless/Table/Config.php
+14
-0
TableAutofillBody.blade.php
src/Views/Limitless/Table/TableAutofillBody.blade.php
+15
-0
No files found.
src/Views/Limitless/Help/Pages/Home.blade.php
View file @
cdee249b
...
...
@@ -45,33 +45,20 @@
[
'name'
=>
'Three'
]
])
<
tbody
>
<
tr
>
<
td
>
1
</
td
>
<
td
>
Eugene
</
td
>
<
td
>
Kopyov
</
td
>
<
td
>@
Kopyov
</
td
>
</
tr
>
<
tr
>
<
td
>
2
</
td
>
<
td
>
Victoria
</
td
>
<
td
>
Baker
</
td
>
<
td
>@
Vicky
</
td
>
</
tr
>
<
tr
>
<
td
>
3
</
td
>
<
td
>
James
</
td
>
<
td
>
Alexander
</
td
>
<
td
>@
Alex
</
td
>
</
tr
>
<
tr
>
<
td
>
4
</
td
>
<
td
>
Franklin
</
td
>
<
td
>
Morrison
</
td
>
<
td
>@
Frank
</
td
>
</
tr
>
</
tbody
>
@
Limitless
::
TableAutofillBody
([
[
[
'value'
=>
'data 1 row 1'
],
[
'value'
=>
'data 2 row 1'
],
[
'value'
=>
'data 3 row 1'
],
[
'value'
=>
'data 4 row 1'
]
],
[
[
'value'
=>
'data 1 row 2'
],
[
'value'
=>
'data 2 row 2'
],
[
'value'
=>
'data 3 row 2'
],
[
'value'
=>
'data 4 row 2'
]
]
])
@
Limitless
::
TableStop
...
...
src/Views/Limitless/Table/Config.php
View file @
cdee249b
...
...
@@ -35,6 +35,7 @@
'Limitless::TableStart'
=>
'tableStart'
,
'Limitless::TableStop'
=>
'tableStop'
,
'Limitless::TableAutofillHeader'
=>
'tableAutofillHeader'
,
'Limitless::TableAutofillBody'
=>
'tableAutofillBody'
];
...
...
@@ -51,6 +52,19 @@
}
/*
|--------------------------------------------------------------------------------------------
| Method "tableAutofillBody"
|--------------------------------------------------------------------------------------------
*/
public
function
tableAutofillBody
(
$parameters
)
{
return
View
(
'Limitless::Table.TableAutofillBody'
)
->
withData
(
(
!
empty
(
$parameters
))
?
$parameters
:
[]
);
}
/*
|--------------------------------------------------------------------------------------------
| Method "tableStart"
...
...
src/Views/Limitless/Table/TableAutofillBody.blade.php
0 → 100644
View file @
cdee249b
@
if
(
!
empty
(
$data
)
)
<
tbody
>
@
foreach
(
$data
as
$tr
)
<
tr
>
@
foreach
(
$tr
as
$td
)
@
if
(
@
$td
[
'secure'
]
===
false
)
<
td
>
{
!!
$td
[
'value'
]
!!
}
</
td
>
@
else
<
td
>
{{
$td
[
'value'
]
}}
</
td
>
@
endif
@
endforeach
</
tr
>
@
endforeach
</
tbody
>
@
endif
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