Skip to content

Commit b3789c1

Browse files
committed
Initial commit
0 parents  commit b3789c1

27 files changed

Lines changed: 1060 additions & 0 deletions

File tree

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto

.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
## TYPO3 v6.2
2+
# Ignore several upload and file directories.
3+
/fileadmin/user_upload/
4+
/fileadmin/_temp_/
5+
/fileadmin/_processed_/
6+
/uploads/
7+
# Ignore cache
8+
/typo3conf/temp_CACHED*
9+
/typo3conf/temp_fieldInfo.php
10+
/typo3conf/deprecation_*.log
11+
/typo3conf/ENABLE_INSTALL_TOOL
12+
/typo3conf/realurl_autoconf.php
13+
/FIRST_INSTALL
14+
# Ignore system folders, you should have them symlinked.
15+
# If not comment out the following entries.
16+
/typo3
17+
/typo3_src
18+
/typo3_src-*
19+
/Packages
20+
/.htaccess
21+
/index.php
22+
# Ignore temp directory.
23+
/typo3temp/
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
declare(strict_types=1);
3+
defined('TYPO3') or die();
4+
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
5+
6+
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItemGroup(
7+
'tt_content',
8+
'CType',
9+
'content_blocks_bootstrap',
10+
'Bootstrap Components',
11+
'before:default',
12+
);
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: sk/bootstrap-accordion
2+
title: LLL:EXT:content_blocks_bootstrap/Resources/Private/Language/locallang.xlf:bootstrap_accordion.title
3+
typeName: bootstrap_accordion
4+
description: LLL:EXT:content_blocks_bootstrap/Resources/Private/Language/locallang.xlf:bootstrap_accordion.description
5+
group: content_blocks_bootstrap
6+
fields:
7+
- identifier: header
8+
useExistingField: true
9+
- identifier: items
10+
type: Collection
11+
labelField: title
12+
maxitems: 50
13+
minitems: 1
14+
appearance:
15+
collapseAll: true
16+
levelLinksPosition: both
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
3+
<file source-language="en" datatype="plaintext" date="2025-05-30T18:20:51Z" product-name="bootstrap-accordion">
4+
<header/>
5+
<body>
6+
<trans-unit id="headerComment">
7+
<source>The default Header Comment.</source>
8+
</trans-unit>
9+
<trans-unit id="generator">
10+
<source>The "Generator" Meta Tag.</source>
11+
</trans-unit>
12+
</body>
13+
</file>
14+
</xliff>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
BE PREVIEW
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<div id="c{data.uid}" class="accordion">
2+
<f:for each="{data.items}" as="item" iteration="iterator">
3+
<div class="accordion-item">
4+
<h2 class="accordion-header" id="heading-{iterator.cycle}">
5+
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapse-{iterator.cycle}" aria-expanded="true" aria-controls="collapse-{iterator.cycle}">
6+
{item.title}
7+
</button>
8+
</h2>
9+
<div id="collapse-{iterator.cycle}" class="accordion-collapse collapse" aria-labelledby="heading-{iterator.cycle}" data-bs-parent="#c{data.uid}">
10+
<div class="accordion-body">
11+
<f:format.raw>{item.text}</f:format.raw>
12+
</div>
13+
</div>
14+
</div>
15+
</f:for>
16+
</div>
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: sk/bootstrap-alert
2+
title: LLL:EXT:content_blocks_bootstrap/Resources/Private/Language/locallang.xlf:bootstrap_alert.title
3+
typeName: bootstrap_alert
4+
description: LLL:EXT:content_blocks_bootstrap/Resources/Private/Language/locallang.xlf:bootstrap_alert.description
5+
group: content_blocks_bootstrap
6+
fields:
7+
- identifier: header
8+
useExistingField: true
9+
- identifier: bodytext
10+
useExistingField: true
11+
type: Text
12+
rows: 5
13+
max: 300
14+
- identifier: dismissible
15+
label: LLL:EXT:content_blocks_bootstrap/Resources/Private/Language/locallang.xlf:bootstrap_alert.field.dismissible.label
16+
description: LLL:EXT:content_blocks_bootstrap/Resources/Private/Language/locallang.xlf:bootstrap_alert.field.dismissible.description
17+
type: Checkbox
18+
renderType: checkboxToggle
19+
default: 0
20+
- identifier: color
21+
label: LLL:EXT:content_blocks_bootstrap/Resources/Private/Language/locallang.xlf:bootstrap_alert.field.color.label
22+
description: LLL:EXT:content_blocks_bootstrap/Resources/Private/Language/locallang.xlf:bootstrap_alert.field.color.description
23+
type: Select
24+
renderType: selectSingle
25+
items:
26+
- label: 'Primary'
27+
value: primary
28+
- label: 'Secondary'
29+
value: secondary
30+
- label: 'Success'
31+
value: success
32+
- label: 'Danger'
33+
value: danger
34+
- label: 'Warning'
35+
value: warning
36+
- label: 'Info'
37+
value: info
38+
- label: 'Light'
39+
value: light
40+
- label: 'Dark'
41+
value: dark

0 commit comments

Comments
 (0)