init: Initial commit

This commit is contained in:
Björn Benouarets
2026-01-08 10:10:12 +01:00
parent 7055272793
commit a1eca7baef
17 changed files with 392 additions and 111 deletions

25
templates/card.json Normal file
View File

@@ -0,0 +1,25 @@
{
"type": "AdaptiveCard",
"$schema": "https://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.5",
"body": [
{
"type": "Badge",
"text": "{card_type}",
"size": "Large",
"style": "Accent"
},
{
"type": "TextBlock",
"wrap": true,
"style": "heading",
"size": "ExtraLarge",
"text": "{card_title}"
},
{
"type": "TextBlock",
"text": "{card_content}",
"wrap": true
}
]
}

View File

@@ -3,23 +3,27 @@
"body": [
{
"type": "TextBlock",
"text": "Webhooks",
"text": "Webhooks Overview",
"size": "Large",
"weight": "Bolder",
"color": "Accent"
},
{
"type": "TextBlock",
"text": "Es sind {webhook_count} Webhooks registriert",
"text": "Currently {webhook_count} webhooks are registered.",
"size": "Small",
"color": "Good",
"isSubtle": true,
"wrap": true
},
{
"type": "TextBlock",
"text": "",
"separator": true
"type": "FactSet",
"facts": [
{
"title": "Webhook Count",
"value": "{webhook_count}"
}
]
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",

View File

@@ -3,23 +3,26 @@
"body": [
{
"type": "TextBlock",
"text": "Webhooks",
"text": "Webhooks Overview",
"size": "Large",
"weight": "Bolder",
"color": "Accent"
},
{
"type": "TextBlock",
"text": "Es sind keine Webhooks registriert",
"text": "Currently no webhooks for this channel are registered.",
"size": "Small",
"color": "Good",
"isSubtle": true,
"wrap": true
"isSubtle": true
},
{
"type": "TextBlock",
"text": "",
"separator": true
"type": "FactSet",
"facts": [
{
"title": "Webhook Count",
"value": "0"
}
]
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",