This repository was archived by the owner on May 31, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
templates/Syntro/SilverStripeElementalBootstrapListgroupSection/Elements Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 11<div class=" row justify-content-center text-center" >
22 <% if ShowTitle || Content %>
3- <div class=" col-12 col-md-10 col-lg-8 mb-4" >
3+ <div class=" {$ElementName}__contentholder col-12 col-md-10 col-lg-8 mb-4" >
44 <% if ShowTitle %>
5- <h2 class=" mb-4" >$Title</h2>
5+ <h2 class=" {$ElementName}__title mb-4" >$Title</h2>
66 <% end_if %>
77 <% if $Content %>
8- <p>$Content</p>
8+ <p class= " {$ElementName}__content " >$Content</p>
99 <% end_if %>
1010 </div>
1111 <% end_if %>
1212 <div class=" w-100" ></div>
1313
14- <div class=" col-12" >
15- <ul class=" list-group shadow" >
14+ <div class=" {$ElementName}__list-groupholder col-12" >
15+ <ul class=" {$ElementName}__list-group list-group shadow" >
1616 <% loop ListgroupItems %>
17- <li class=" list-group-item text-left text-dark" >
18- <div class=" row align-items-center" >
17+ <li class=" {$ElementName}__list-group-item list-group-item text-left text-dark" >
18+ <div class=" {$ElementName}__list-group-inner row align-items-center" >
1919 <% if Image %>
20- <div class=" col-12 col-md-4 col-lg-3 mb-3 mb-md-0" >
20+ <div class=" {$ElementName}__list-group-image col-12 col-md-4 col-lg-3 mb-3 mb-md-0" >
2121 <img src=" $Image.Fit(600,600).URL" alt=" $Title" class=" img-fluid rounded" >
2222 </div>
2323 <% end_if %>
24- <div class=" col" >
24+ <div class=" {$ElementName}__list-group-content col" >
2525 <% if ShowTitle %>
26- <h3>$Title</h3>
26+ <h3 class= " {$ElementName}__list-group-title " >$Title</h3>
2727 <% end_if %>
2828 $Content
2929 <% if CTALink %>
3030 <% with CTALink %>
31- <a {$IDAttr} class=" mx-1 text-$Up.LinkColor" href=" {$LinkURL}" {$TargetAttr}>
31+ <a {$IDAttr} class=" {$ElementName}__list-group-link mx-1 text-$Up.LinkColor" href=" {$LinkURL}" {$TargetAttr}>
3232 {$Title}
3333 </a>
3434 <% end_with %>
You can’t perform that action at this time.
0 commit comments