Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Template
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Modulus
Services
Template
Commits
c9ffddc9
Commit
c9ffddc9
authored
May 05, 2020
by
Sylvain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mise à jour des templates
parent
3f13fbf2
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
165 additions
and
236 deletions
+165
-236
README.md
README.md
+2
-2
src/Compose/Template1Bt4.php
src/Compose/Template1Bt4.php
+3
-2
src/Compose/Template3Bt4.php
src/Compose/Template3Bt4.php
+1
-1
src/Compose/Template4Bt4.php
src/Compose/Template4Bt4.php
+159
-231
No files found.
README.md
View file @
c9ffddc9
# Modulus Service
Field
# Modulus Service
Template
A helper to generate HTML
form field
s in Bootstrap very easily
A helper to generate HTML
back-office list
s in Bootstrap very easily
## Required
-
Composer
...
...
src/Compose/Template1Bt4.php
View file @
c9ffddc9
...
...
@@ -2,8 +2,9 @@
namespace
Goldenscarab\Modulus\Service\Template\Compose
;
use
Illuminate\Support\
Facades\Request
;
use
Illuminate\Support\
Str
;
use
\Illuminate\Support\HtmlString
;
use
Illuminate\Support\Facades\Request
;
class
Template1Bt4
...
...
@@ -64,7 +65,7 @@ class Template1Bt4
$render
=
vsprintf
(
$template
,
[
empty
(
$this
->
table_id
)
?
'table-'
.
str_
slug
(
$this
->
route_prefix
)
:
$this
->
table_id
,
empty
(
$this
->
table_id
)
?
'table-'
.
Str
::
slug
(
$this
->
route_prefix
)
:
$this
->
table_id
,
trim
(
'table table-sm table-hover table-striped '
.
$this
->
table_class
),
$this
->
renderIndent
(
$this
->
renderListHead
(),
3
),
$this
->
renderIndent
(
$this
->
renderListBody
(),
2
),
...
...
src/Compose/Template3Bt4.php
View file @
c9ffddc9
...
...
@@ -54,7 +54,7 @@ class Template3Bt4
$render
=
vsprintf
(
$template
,
[
empty
(
$this
->
table_id
)
?
'table-'
.
str_
slug
(
$this
->
route_prefix
)
:
$this
->
table_id
,
empty
(
$this
->
table_id
)
?
'table-'
.
Str
::
slug
(
$this
->
route_prefix
)
:
$this
->
table_id
,
trim
(
'table table-sm table-hover table-striped '
.
$this
->
table_class
),
$this
->
renderIndent
(
$this
->
renderListHead
(),
3
),
$this
->
renderIndent
(
$this
->
renderListBody
(),
2
),
...
...
src/Compose/Template4Bt4.php
View file @
c9ffddc9
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