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
8b6de324
Commit
8b6de324
authored
Jun 29, 2022
by
Kevin Yumang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SERV-2286 - loremipsum element modifications
parent
44fa9c11
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
20 deletions
+19
-20
Config.php
src/Views/Limitless/Element/Config.php
+1
-4
Index.blade.php
...imitless/Element/LoremIpsum/Documentation/Index.blade.php
+6
-4
Index.blade.php
src/Views/Limitless/Modal/Documentation/Index.blade.php
+12
-12
No files found.
src/Views/Limitless/Element/Config.php
View file @
8b6de324
...
...
@@ -108,10 +108,7 @@
public
function
loremIpsum
(
$parameters
)
{
return
View
(
'Limitless::Element.LoremIpsum.LoremIpsum'
)
->
withLength
(
isset
(
$parameters
[
'length'
])
?
(
ctype_digit
((
string
)
$parameters
[
'length'
])
?
$parameters
[
'length'
]
:
0
)
:
0
);
->
withLength
(
$parameters
==
[]
?
20
:
$parameters
);
}
/*
...
...
src/Views/Limitless/Element/LoremIpsum/Documentation/Index.blade.php
View file @
8b6de324
...
...
@@ -28,7 +28,7 @@
@Limitless::TableAutofillBody([
[
['value' => 'length'],
['value' => '<i>Integer|Numeric String</i> [Default = <code>0</code>]', 'secure' => false],
['value' => '<i>Integer|Numeric String</i> [Default = <code>
2
0</code>]', 'secure' => false],
['value' => 'The length of random words to generate.']
]
])
...
...
@@ -40,13 +40,15 @@
{{-- Sample Output --}}
@Limitless::ElementCardStart(['title' => "
Sample
Output
", 'icon' => 'icon-display4' ] )
@Limitless::LoremIpsum(
['length' => 10]
)
@Limitless::LoremIpsum(
100
)
@Limitless::Divider
@Limitless::LoremIpsum(['length' => '20'])
@Limitless::LoremIpsum('50')
@Limitless::Divider
@Limitless::LoremIpsum
@Limitless::ElementCardStop
@php
$example
= base64_decode("
QExpbWl0bGVzczo6TG9yZW1JcHN1bS
hbJ2xlbmd0aCcgPT4gMTBdKQpATGltaXRsZXNzOjpEaXZpZGVyCkBMaW1pdGxlc3M6OkxvcmVtSXBzdW0oWydsZW5ndGgnID0
+
ICcyMCddKQ
=
=
");
$example
= base64_decode("
QExpbWl0bGVzczo6TG9yZW1JcHN1bS
gxMDApCkBMaW1pdGxlc3M6OkRpdmlkZXIKQExpbWl0bGVzczo6TG9yZW1JcHN1bSgnNTAnKQpATGltaXRsZXNzOjpEaXZpZGVyCkBMaW1pdGxlc3M6OkxvcmVtSXBzdW0
=
");
@endphp
{{-- Sample Code --}}
...
...
src/Views/Limitless/Modal/Documentation/Index.blade.php
View file @
8b6de324
This diff is collapsed.
Click to expand it.
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