-
Notifications
You must be signed in to change notification settings - Fork 320
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(fix) Update card.json with UX (#355)
* Update card.json
- Loading branch information
TP Honey
authored
Jan 19, 2022
1 parent
dc9bf3b
commit 96ee8a4
Showing
1 changed file
with
116 additions
and
107 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
@@ -1,118 +1,127 @@ | ||
{ | ||
"type": "AdaptiveCard", | ||
"body": [ | ||
{ | ||
"type": "ColumnSet", | ||
"columns": [ | ||
"type": "AdaptiveCard", | ||
"body": [ | ||
{ | ||
"type": "Column", | ||
"items": [ | ||
{ | ||
"type": "Image", | ||
"url": "https://d36jcksde1wxzq.cloudfront.net/be7833db9bddb4494d2a7c3dd659199a.png", | ||
"size": "Medium" | ||
} | ||
], | ||
"width": "auto" | ||
"type": "ColumnSet", | ||
"columns": [ | ||
{ | ||
"type": "Column", | ||
"items": [ | ||
{ | ||
"type": "Image", | ||
"url": "https://d36jcksde1wxzq.cloudfront.net/be7833db9bddb4494d2a7c3dd659199a.png", | ||
"size": "small" | ||
} | ||
], | ||
"width": "auto" | ||
}, | ||
{ | ||
"type": "Column", | ||
"items": [ | ||
{ | ||
"type": "TextBlock", | ||
"text": "Plugin: Drone Docker", | ||
"wrap": true, | ||
"size": "Small", | ||
"weight": "Bolder", | ||
"isSubtle": false, | ||
"spacing": "Small" | ||
}, | ||
{ | ||
"type": "TextBlock", | ||
"text": "DIGEST: ${RepoDigests[0]}", | ||
"wrap": true, | ||
"size": "Small", | ||
"weight": "Lighter", | ||
"isSubtle": true, | ||
"spacing": "Small" | ||
} | ||
], | ||
"width": "stretch" | ||
} | ||
], | ||
"style": "default" | ||
}, | ||
{ | ||
"type": "Column", | ||
"items": [ | ||
{ | ||
"type": "TextBlock", | ||
"text": "${RepoTags[0]}", | ||
"size": "Medium" | ||
}, | ||
{ | ||
"type": "TextBlock", | ||
"text": "DIGEST: ${RepoDigests[0]}", | ||
"wrap": true, | ||
"size": "Small", | ||
"weight": "Lighter", | ||
"isSubtle": true, | ||
"spacing": "Small" | ||
}, | ||
{ | ||
"type": "ColumnSet", | ||
"columns": [ | ||
"type": "ColumnSet", | ||
"columns": [ | ||
{ | ||
"type": "Column", | ||
"items": [ | ||
{ | ||
"type": "TextBlock", | ||
"weight": "Lighter", | ||
"text": "OS/ARCH", | ||
"wrap": true, | ||
"size": "Small", | ||
"isSubtle": true, | ||
"spacing": "Medium" | ||
}, | ||
{ | ||
"type": "TextBlock", | ||
"text": "${OS}/${Architecture}", | ||
"wrap": true, | ||
"size": "Small", | ||
"spacing": "Small" | ||
} | ||
], | ||
"separator": true, | ||
"width": "auto" | ||
"type": "Column", | ||
"items": [ | ||
{ | ||
"type": "TextBlock", | ||
"weight": "Lighter", | ||
"text": "OS/ARCH", | ||
"wrap": true, | ||
"size": "Small", | ||
"isSubtle": true, | ||
"spacing": "Medium" | ||
}, | ||
{ | ||
"type": "TextBlock", | ||
"text": "${OS}/${Architecture}", | ||
"wrap": true, | ||
"size": "Small", | ||
"spacing": "Small", | ||
"weight": "Bolder" | ||
} | ||
], | ||
"separator": true, | ||
"width": "auto" | ||
}, | ||
{ | ||
"type": "Column", | ||
"items": [ | ||
{ | ||
"type": "TextBlock", | ||
"weight": "Lighter", | ||
"text": "SIZE", | ||
"wrap": true, | ||
"size": "Small", | ||
"isSubtle": true | ||
}, | ||
{ | ||
"type": "TextBlock", | ||
"spacing": "Small", | ||
"text": "${SizeString}", | ||
"wrap": true, | ||
"size": "Small" | ||
} | ||
], | ||
"width": "auto", | ||
"separator": true, | ||
"spacing": "Medium" | ||
"type": "Column", | ||
"items": [ | ||
{ | ||
"type": "TextBlock", | ||
"weight": "Lighter", | ||
"text": "SIZE", | ||
"wrap": true, | ||
"size": "Small", | ||
"isSubtle": true | ||
}, | ||
{ | ||
"type": "TextBlock", | ||
"spacing": "Small", | ||
"text": "${SizeString}", | ||
"wrap": true, | ||
"size": "Small", | ||
"weight": "Bolder" | ||
} | ||
], | ||
"width": "auto", | ||
"separator": true, | ||
"spacing": "Medium" | ||
}, | ||
{ | ||
"type": "Column", | ||
"items": [ | ||
{ | ||
"type": "TextBlock", | ||
"weight": "Lighter", | ||
"text": "LAST PUSHED", | ||
"wrap": true, | ||
"size": "Small", | ||
"isSubtle": true | ||
}, | ||
{ | ||
"type": "TextBlock", | ||
"spacing": "Small", | ||
"text": "{{DATE(${Time})}} - {{TIME(${Time})}}", | ||
"wrap": true, | ||
"size": "Small" | ||
} | ||
], | ||
"width": "auto", | ||
"separator": true, | ||
"spacing": "Medium" | ||
"type": "Column", | ||
"items": [ | ||
{ | ||
"type": "TextBlock", | ||
"weight": "Lighter", | ||
"text": "LAST PUSHED", | ||
"wrap": true, | ||
"size": "Small", | ||
"isSubtle": true | ||
}, | ||
{ | ||
"type": "TextBlock", | ||
"spacing": "Small", | ||
"text": "{{DATE(${Time})}} - {{TIME(${Time})}}", | ||
"wrap": true, | ||
"size": "Small", | ||
"weight": "Bolder" | ||
} | ||
], | ||
"width": "auto", | ||
"separator": true, | ||
"spacing": "Medium" | ||
} | ||
], | ||
"style": "default" | ||
} | ||
], | ||
"width": "stretch" | ||
], | ||
"style": "default", | ||
"separator": true | ||
} | ||
] | ||
} | ||
], | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | ||
"version": "1.0" | ||
} | ||
], | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | ||
"version": "1.5" | ||
} |