-
Couldn't load subscription status.
- Fork 8
BRND template #193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
agnetemoos
wants to merge
32
commits into
develop
Choose a base branch
from
feature/brnd
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
BRND template #193
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
cbad395
Initial commit
agnetemoos 407ec59
Brnd template added
agnetemoos 40c188b
Remove configuration options
agnetemoos 81624a5
Debugging
agnetemoos 076b7e5
Debugging
agnetemoos 4643a48
Remove sportcenterid from template config
agnetemoos 06ee006
Remove sportcenterid from template config
agnetemoos ed3f713
New build
agnetemoos 165ab7f
Bookings in feedData
agnetemoos 276c026
Styling and formatting
agnetemoos 85b43ac
Brnd build
agnetemoos 49a4a4e
Font color white
agnetemoos 00d7c6e
Brnd build
agnetemoos 2f0608b
Header background style
agnetemoos 919c8db
Brnd build
agnetemoos 7b64aee
Background color
agnetemoos ceb5afe
Brnd build
agnetemoos 72dbf1e
Background color
agnetemoos 3654a4d
Brnd build
agnetemoos 67abf22
Background
agnetemoos f66c1e0
Brnd build
agnetemoos 51db3be
Brnd build
agnetemoos d0ae8df
Colors
agnetemoos e85903d
Colors
agnetemoos d454a06
Styling
agnetemoos be858d7
Brnd build
agnetemoos 58f3d80
Font size
agnetemoos 79f038e
Brnd build
agnetemoos afb376d
Remove theme styling
agnetemoos 72dfb86
Fix ESLint errors
agnetemoos e3bc54a
Add BRND bookings template to changelog
agnetemoos ff29b59
Brnd build files
agnetemoos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,104 @@ | ||
| [ | ||
| { | ||
| "key": "brnd-form-1", | ||
| "input": "header", | ||
| "text": "Skabelon: BRND", | ||
| "name": "header1", | ||
| "formGroupClasses": "h4 mb-3" | ||
| }, | ||
| { | ||
| "key": "brnd-form-2", | ||
| "input": "header-h3", | ||
| "text": "Opsæt feed", | ||
| "name": "header2", | ||
| "formGroupClasses": "h5 mb-3" | ||
| }, | ||
| { | ||
| "key": "brnd-form-3", | ||
| "input": "feed", | ||
| "text": "Opsæt feed", | ||
| "name": "feed", | ||
| "supportedFeedOutputType": "brnd-booking", | ||
| "formGroupClasses": "mb-3" | ||
| }, | ||
| { | ||
| "key": "brnd-form-4", | ||
| "input": "header-h3", | ||
| "text": "Konfigurér slide", | ||
| "name": "header2", | ||
| "formGroupClasses": "h5 mb-3" | ||
| }, | ||
| { | ||
| "key": "calendar-form-layout", | ||
| "input": "select", | ||
| "name": "layout", | ||
| "label": "Vælg layout", | ||
| "required": true, | ||
| "formGroupClasses": "col-md-6 mb-3", | ||
| "options": [ | ||
| { | ||
| "key": "layout1", | ||
| "title": "Sportcenter Dagsprogram", | ||
| "value": "sportcenter-today" | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "key": "brnd-form-form-14", | ||
| "input": "select", | ||
| "required": true, | ||
| "label": "Tekststørrelse", | ||
| "formGroupClasses": "col-md-6 mb-3", | ||
| "options": [ | ||
| { | ||
| "key": "fontsize1", | ||
| "title": "xs", | ||
| "value": "font-size-xs" | ||
| }, | ||
| { | ||
| "key": "fontsize2", | ||
| "title": "s", | ||
| "value": "font-size-s" | ||
| }, | ||
| { | ||
| "key": "fontsize3", | ||
| "title": "m", | ||
| "value": "font-size-m" | ||
| }, | ||
| { | ||
| "key": "fontsize4", | ||
| "title": "l", | ||
| "value": "font-size-lg" | ||
| }, | ||
| { | ||
| "key": "fontsize5", | ||
| "title": "xl", | ||
| "value": "font-size-xl" | ||
| } | ||
| ], | ||
| "name": "fontSize" | ||
| }, | ||
| { | ||
| "key": "brnd-form-title", | ||
| "input": "input", | ||
| "name": "title", | ||
| "type": "text", | ||
| "label": "Overskrift", | ||
| "helpText": "Her kan du skrive overskrift.", | ||
| "formGroupClasses": "col-md-6" | ||
| }, | ||
| { | ||
| "key": "brnd-form-image", | ||
| "multipleImages": false, | ||
| "input": "image", | ||
| "name": "image", | ||
| "label": "Baggrundsbillede" | ||
| }, | ||
| { | ||
| "key": "form-media-contain", | ||
| "input": "checkbox", | ||
| "name": "mediaContain", | ||
| "label": "Deaktivér billedbeskæring", | ||
| "helpText": "Billedet vil blive vist ubeskåret med tomme områder omkring" | ||
| } | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| { | ||
| "title": "BRND sportcenter dagsprogram", | ||
| "icon": "", | ||
| "id": "01FRJPF4XATRN8PBZ35XN84PS6", | ||
| "description": "Viser alle dagens bookinger i et ænlæg.", | ||
| "resources": { | ||
| "component": "https://raw.githubusercontent.com/os2display/display-templates/refs/heads/feature/brnd/build/brnd.js?ts=1759827805963", | ||
| "admin": "https://raw.githubusercontent.com/os2display/display-templates/refs/heads/feature/brnd/build/brnd-admin.json?ts=1759827805963", | ||
| "schema": "https://raw.githubusercontent.com/os2display/display-templates/refs/heads/feature/brnd/build/brnd-schema.json?ts=1759827805963", | ||
| "assets": [], | ||
| "options": {}, | ||
| "content": {} | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| { | ||
| "title": "BRND sportcenter dagsprogram", | ||
| "icon": "", | ||
| "id": "01FRJPF4XATRN8PBZ35XN84PS6", | ||
| "description": "Viser alle dagens bookinger i et ænlæg.", | ||
| "resources": { | ||
| "component": "https://raw.githubusercontent.com/os2display/display-templates/refs/heads/feature/brnd/build/brnd.js?ts=1759827805963", | ||
| "admin": "https://raw.githubusercontent.com/os2display/display-templates/refs/heads/feature/brnd/build/brnd-admin.json?ts=1759827805963", | ||
| "schema": "https://raw.githubusercontent.com/os2display/display-templates/refs/heads/feature/brnd/build/brnd-schema.json?ts=1759827805963", | ||
| "assets": [], | ||
| "options": {}, | ||
| "content": {} | ||
| } | ||
| } |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,104 @@ | ||
| [ | ||
| { | ||
| "key": "brnd-form-1", | ||
| "input": "header", | ||
| "text": "Skabelon: BRND", | ||
| "name": "header1", | ||
| "formGroupClasses": "h4 mb-3" | ||
| }, | ||
| { | ||
| "key": "brnd-form-2", | ||
| "input": "header-h3", | ||
| "text": "Opsæt feed", | ||
| "name": "header2", | ||
| "formGroupClasses": "h5 mb-3" | ||
| }, | ||
| { | ||
| "key": "brnd-form-3", | ||
| "input": "feed", | ||
| "text": "Opsæt feed", | ||
| "name": "feed", | ||
| "supportedFeedOutputType": "brnd-booking", | ||
| "formGroupClasses": "mb-3" | ||
| }, | ||
| { | ||
| "key": "brnd-form-4", | ||
| "input": "header-h3", | ||
| "text": "Konfigurér slide", | ||
| "name": "header2", | ||
| "formGroupClasses": "h5 mb-3" | ||
| }, | ||
| { | ||
| "key": "calendar-form-layout", | ||
| "input": "select", | ||
| "name": "layout", | ||
| "label": "Vælg layout", | ||
| "required": true, | ||
| "formGroupClasses": "col-md-6 mb-3", | ||
| "options": [ | ||
| { | ||
| "key": "layout1", | ||
| "title": "Sportcenter Dagsprogram", | ||
| "value": "sportcenter-today" | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "key": "brnd-form-form-14", | ||
| "input": "select", | ||
| "required": true, | ||
| "label": "Tekststørrelse", | ||
| "formGroupClasses": "col-md-6 mb-3", | ||
| "options": [ | ||
| { | ||
| "key": "fontsize1", | ||
| "title": "xs", | ||
| "value": "font-size-xs" | ||
| }, | ||
| { | ||
| "key": "fontsize2", | ||
| "title": "s", | ||
| "value": "font-size-s" | ||
| }, | ||
| { | ||
| "key": "fontsize3", | ||
| "title": "m", | ||
| "value": "font-size-m" | ||
| }, | ||
| { | ||
| "key": "fontsize4", | ||
| "title": "l", | ||
| "value": "font-size-lg" | ||
| }, | ||
| { | ||
| "key": "fontsize5", | ||
| "title": "xl", | ||
| "value": "font-size-xl" | ||
| } | ||
| ], | ||
| "name": "fontSize" | ||
| }, | ||
| { | ||
| "key": "brnd-form-title", | ||
| "input": "input", | ||
| "name": "title", | ||
| "type": "text", | ||
| "label": "Overskrift", | ||
| "helpText": "Her kan du skrive overskrift.", | ||
| "formGroupClasses": "col-md-6" | ||
| }, | ||
| { | ||
| "key": "brnd-form-image", | ||
| "multipleImages": false, | ||
| "input": "image", | ||
| "name": "image", | ||
| "label": "Baggrundsbillede" | ||
| }, | ||
| { | ||
| "key": "form-media-contain", | ||
| "input": "checkbox", | ||
| "name": "mediaContain", | ||
| "label": "Deaktivér billedbeskæring", | ||
| "helpText": "Billedet vil blive vist ubeskåret med tomme områder omkring" | ||
| } | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| { | ||
| "title": "BRND sportcenter dagsprogram", | ||
| "icon": "", | ||
| "id": "01FRJPF4XATRN8PBZ35XN84PS6", | ||
| "description": "Viser alle dagens bookinger i et ænlæg.", | ||
| "resources": { | ||
| "component": "https://display-templates.local.itkdev.dk/build/brnd.js", | ||
| "admin": "https://display-templates.local.itkdev.dk/build/brnd-admin.json", | ||
| "schema": "https://display-templates.local.itkdev.dk/build/brnd-schema.json", | ||
| "assets": [], | ||
| "options": {}, | ||
| "content": {} | ||
| } | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Important! The id of a new template should be a new ULID. This is the same as calendar template:
https://github.com/os2display/display-templates/blob/develop/src/calendar/calendar-config.json#L4
You can generate a new ULID with the following command (in API):
https://github.com/os2display/display-api-service/blob/develop/src/Command/GenerateUlid.php#L15