Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
df_tabs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TYPO3
df_tabs
Commits
112bf05a
Commit
112bf05a
authored
1 year ago
by
Eniko Tot
Browse files
Options
Downloads
Patches
Plain Diff
[FEATURE] Add Bootstrap5 Backend Tabs html
parent
5ba54f14
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!16
Bootstrap 5 Support
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Resources/Private/Templates/Bootstrap5/Backend/Tabs.html
+138
-0
138 additions, 0 deletions
Resources/Private/Templates/Bootstrap5/Backend/Tabs.html
with
138 additions
and
0 deletions
Resources/Private/Templates/Bootstrap5/Backend/Tabs.html
0 → 100644
+
138
−
0
View file @
112bf05a
{namespace be=TYPO3\CMS\Backend\ViewHelpers}
{namespace core=TYPO3\CMS\Core\ViewHelpers}
<f:asset.css
identifier=
"df_tabs-pluginpreview"
href=
"EXT:df_tabs/Resources/Public/StyleSheets/Backend/pluginpreview.css"
></f:asset.css>
<h4>
<span
class=
"badge text-bg-primary"
>
<f:translate
key=
"{headerLabel}"
/>
</span>
</h4>
<br
/>
<table
class=
"table table-striped table-bordered df_tabs-backend-preview-table"
>
<f:render
partial=
"PluginDataTableHeader"
/>
<tbody>
<tr>
<th
scope=
"row"
>
<f:translate
key=
"LLL:EXT:df_tabs/Resources/Private/Language/locallang.xlf:flexform.sheets.general.mode"
/>
</th>
<td>
<f:if
condition=
"{data.tabs.0}"
>
<f:then>
<f:comment>
<!--Combined mode is forced.-->
</f:comment>
<f:translate
key=
"LLL:EXT:df_tabs/Resources/Private/Language/locallang.xlf:flexform.sheets.general.mode.combined"
/>
</f:then>
<f:else>
<f:translate
key=
"LLL:EXT:df_tabs/Resources/Private/Language/locallang.xlf:flexform.sheets.general.mode.{data.mode}"
/>
</f:else>
</f:if>
</td>
</tr>
<f:if
condition=
"{data.tabs.0}"
>
<tr>
<th
scope=
"row"
>
<f:translate
key=
"LLL:EXT:df_tabs/Resources/Private/Language/locallang.xlf:flexform.sheets.general.data"
/>
</th>
<td>
<f:for
each=
"{data.tabs}"
as=
"tab"
>
<f:switch
expression=
"{tab.type}"
>
<f:case
value=
"page"
>
<be:link.editRecord
uid=
"{tab.uid}"
table=
"pages"
>
<core:icon
identifier=
"apps-pagetree-page-default"
/>
{tab.title} [{tab.uid}]
</be:link.editRecord>
</f:case>
<f:case
value=
"content"
>
<be:link.editRecord
uid=
"{tab.uid}"
table=
"tt_content"
>
<core:icon
identifier=
"content-header"
/>
{tab.title} [{tab.uid}]
</be:link.editRecord>
</f:case>
<f:defaultCase>
<core:icon
identifier=
"default"
/>
{tab.title} [{tab.uid}]
</f:defaultCase>
</f:switch>
<br
/>
</f:for>
</td>
</tr>
</f:if>
<f:if
condition=
"{data.titles.0}"
>
<tr>
<th
scope=
"row"
>
<f:translate
key=
"LLL:EXT:df_tabs/Resources/Private/Language/locallang.xlf:flexform.sheets.general.titles"
/>
</th>
<td>
<f:for
each=
"{data.titles}"
as=
"title"
iteration=
"iterator"
>
<f:format.raw>
{title}
</f:format.raw>
<br
/>
</f:for>
</td>
</tr>
</f:if>
<tr>
<th
scope=
"row"
>
<f:translate
key=
"LLL:EXT:df_tabs/Resources/Private/Language/locallang.xlf:flexform.sheets.general.enableAutoPlayInterval"
/>
</th>
<td>
<f:if
condition=
"{data.enableAutoPlay}"
>
<f:then>
<core:icon
identifier=
"actions-check"
/>
</f:then>
<f:else>
<core:icon
identifier=
"actions-close"
/>
</f:else>
</f:if>
</td>
</tr>
<f:if
condition=
"{data.enableAutoPlay}"
>
<tr>
<th
scope=
"row"
>
<f:translate
key=
"LLL:EXT:df_tabs/Resources/Private/Language/locallang.xlf:flexform.sheets.general.autoPlayInterval"
/>
</th>
<td>
{data.autoPlayInterval}
</td>
</tr>
</f:if>
<tr>
<th
scope=
"row"
>
<f:translate
key=
"LLL:EXT:df_tabs/Resources/Private/Language/locallang.xlf:flexform.sheets.general.enableMouseOver"
/>
</th>
<td>
<f:if
condition=
"{data.enableMouseOver}"
>
<f:then>
<core:icon
identifier=
"actions-check"
/>
</f:then>
<f:else>
<core:icon
identifier=
"actions-close"
/>
</f:else>
</f:if>
</td>
</tr>
<tr>
<th
scope=
"row"
>
<f:translate
key=
"LLL:EXT:df_tabs/Resources/Private/Language/locallang.xlf:flexform.sheets.general.hash"
/>
</th>
<td>
{data.hashName}
</td>
</tr>
</tbody>
</table>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment