init: Initial commit
This commit is contained in:
56
templates/webhook-card.json
Normal file
56
templates/webhook-card.json
Normal file
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"type": "AdaptiveCard",
|
||||
"body": [
|
||||
{
|
||||
"type": "ColumnSet",
|
||||
"columns": [
|
||||
{
|
||||
"type": "Column",
|
||||
"items": [
|
||||
{
|
||||
"type": "Image",
|
||||
"style": "Person",
|
||||
"url": "{creator_profile_image}",
|
||||
"altText": "{creator_name}",
|
||||
"size": "Small"
|
||||
}
|
||||
],
|
||||
"width": "auto"
|
||||
},
|
||||
{
|
||||
"type": "Column",
|
||||
"items": [
|
||||
{
|
||||
"type": "TextBlock",
|
||||
"weight": "Bolder",
|
||||
"text": "{creator_name}",
|
||||
"wrap": true
|
||||
},
|
||||
{
|
||||
"type": "TextBlock",
|
||||
"spacing": "None",
|
||||
"text": "Created {created_at}",
|
||||
"isSubtle": true,
|
||||
"wrap": true
|
||||
}
|
||||
],
|
||||
"width": "stretch"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "TextBlock",
|
||||
"text": "{description}",
|
||||
"wrap": true
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
{
|
||||
"type": "Action.OpenUrl",
|
||||
"title": "View Webhook",
|
||||
"url": "{view_url}"
|
||||
}
|
||||
],
|
||||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
|
||||
"version": "1.5"
|
||||
}
|
||||
27
templates/webhook-overview-card.json
Normal file
27
templates/webhook-overview-card.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"type": "AdaptiveCard",
|
||||
"body": [
|
||||
{
|
||||
"type": "TextBlock",
|
||||
"text": "Webhooks",
|
||||
"size": "Large",
|
||||
"weight": "Bolder",
|
||||
"color": "Accent"
|
||||
},
|
||||
{
|
||||
"type": "TextBlock",
|
||||
"text": "Es sind {webhook_count} Webhooks registriert",
|
||||
"size": "Small",
|
||||
"color": "Good",
|
||||
"isSubtle": true,
|
||||
"wrap": true
|
||||
},
|
||||
{
|
||||
"type": "TextBlock",
|
||||
"text": "",
|
||||
"separator": true
|
||||
}
|
||||
],
|
||||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
|
||||
"version": "1.4"
|
||||
}
|
||||
27
templates/webhook-overview-no-webhooks-card.json
Normal file
27
templates/webhook-overview-no-webhooks-card.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"type": "AdaptiveCard",
|
||||
"body": [
|
||||
{
|
||||
"type": "TextBlock",
|
||||
"text": "Webhooks",
|
||||
"size": "Large",
|
||||
"weight": "Bolder",
|
||||
"color": "Accent"
|
||||
},
|
||||
{
|
||||
"type": "TextBlock",
|
||||
"text": "Es sind keine Webhooks registriert",
|
||||
"size": "Small",
|
||||
"color": "Good",
|
||||
"isSubtle": true,
|
||||
"wrap": true
|
||||
},
|
||||
{
|
||||
"type": "TextBlock",
|
||||
"text": "",
|
||||
"separator": true
|
||||
}
|
||||
],
|
||||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
|
||||
"version": "1.4"
|
||||
}
|
||||
Reference in New Issue
Block a user