Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions samples/Templates/Scenarios/Agenda.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"items": [
{
"type": "Image",
"url": "https://messagecardplayground.azurewebsites.net/assets/LocationBlue_B.png",
"url": "https://adaptivecards.io/content/LocationBlue_B.png",
"altText": "Location B"
}
],
Expand Down Expand Up @@ -107,7 +107,7 @@
"items": [
{
"type": "Image",
"url": "https://messagecardplayground.azurewebsites.net/assets/LocationRed_C.png",
"url": "https://adaptivecards.io/content/LocationRed_C.png",
"altText": "Location C"
}
],
Expand Down Expand Up @@ -152,7 +152,7 @@
{
"type": "Image",
"horizontalAlignment": "left",
"url": "https://messagecardplayground.azurewebsites.net/assets/Conflict.png",
"url": "https://adaptivecards.io/content/Conflict.png",
"altText": "Calendar conflict"
}
],
Expand Down Expand Up @@ -185,7 +185,7 @@
{
"type": "Column",
"backgroundImage": {
"url": "https://messagecardplayground.azurewebsites.net/assets/SmallVerticalLineGray.png",
"url": "https://adaptivecards.io/content/SmallVerticalLineGray.png",
"fillMode": "repeatVertically",
"horizontalAlignment": "center"
},
Expand Down Expand Up @@ -217,7 +217,7 @@
"items": [
{
"type": "Image",
"url": "https://messagecardplayground.azurewebsites.net/assets/location_gray.png",
"url": "https://adaptivecards.io/content/location_gray.png",
"altText": "Location"
}
],
Expand All @@ -243,19 +243,19 @@
"images": [
{
"type": "Image",
"url": "https://messagecardplayground.azurewebsites.net/assets/person_w1.png",
"url": "https://adaptivecards.io/content/person_w1.png",
"size": "small",
"altText": "Person with bangs"
},
{
"type": "Image",
"url": "https://messagecardplayground.azurewebsites.net/assets/person_m1.png",
"url": "https://adaptivecards.io/content/person_m1.png",
"size": "small",
"altText": "Person with glasses and short hair"
},
{
"type": "Image",
"url": "https://messagecardplayground.azurewebsites.net/assets/person_w2.png",
"url": "https://adaptivecards.io/content/person_w2.png",
"size": "small",
"altText": "Person smiling"
}
Expand All @@ -270,7 +270,7 @@
"items": [
{
"type": "Image",
"url": "https://messagecardplayground.azurewebsites.net/assets/power_point.png",
"url": "https://adaptivecards.io/content/power_point.png",
"altText": "Powerpoint presentation"
}
],
Expand Down Expand Up @@ -305,15 +305,15 @@
{
"type": "Column",
"backgroundImage": {
"url": "https://messagecardplayground.azurewebsites.net/assets/SmallVerticalLineGray.png",
"url": "https://adaptivecards.io/content/SmallVerticalLineGray.png",
"fillMode": "repeatVertically",
"horizontalAlignment": "center"
},
"items": [
{
"type": "Image",
"horizontalAlignment": "center",
"url": "https://messagecardplayground.azurewebsites.net/assets/Gray_Dot.png",
"url": "https://adaptivecards.io/content/Gray_Dot.png",
"altText": "Gray dot"
}
],
Expand All @@ -331,7 +331,7 @@
"items": [
{
"type": "Image",
"url": "https://messagecardplayground.azurewebsites.net/assets/car.png",
"url": "https://adaptivecards.io/content/car.png",
"altText": "Travel by car"
}
],
Expand Down Expand Up @@ -382,15 +382,15 @@
{
"type": "Column",
"backgroundImage": {
"url": "https://messagecardplayground.azurewebsites.net/assets/SmallVerticalLineGray.png",
"url": "https://adaptivecards.io/content/SmallVerticalLineGray.png",
"fillMode": "repeatVertically",
"horizontalAlignment": "center"
},
"items": [
{
"type": "Image",
"horizontalAlignment": "center",
"url": "https://messagecardplayground.azurewebsites.net/assets/CircleBlue_flight.png",
"url": "https://adaptivecards.io/content/CircleBlue_flight.png",
"altText": "Location B: Flight"
}
],
Expand All @@ -414,7 +414,7 @@
"items": [
{
"type": "Image",
"url": "https://messagecardplayground.azurewebsites.net/assets/location_gray.png",
"url": "https://adaptivecards.io/content/location_gray.png",
"altText": "Location"
}
],
Expand All @@ -435,7 +435,7 @@
},
{
"type": "Image",
"url": "https://messagecardplayground.azurewebsites.net/assets/SeaTacMap.png",
"url": "https://adaptivecards.io/content/SeaTacMap.png",
"size": "stretch",
"altText": "Map of the Seattle-Tacoma airport"
}
Expand Down
12 changes: 6 additions & 6 deletions samples/Templates/Scenarios/CarouselTemplatedPages.data.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"items": [
{
"type": "Image",
"url": "https://messagecardplayground.azurewebsites.net/assets/Mostly%20Cloudy-Square.png",
"url": "https://adaptivecards.io/content/Mostly%20Cloudy-Square.png",
"size": "stretch",
"altText": "Mostly cloudy weather"
}
Expand Down Expand Up @@ -69,7 +69,7 @@
{
"type": "Image",
"size": "auto",
"url": "https://messagecardplayground.azurewebsites.net/assets/Drizzle-Square.png",
"url": "https://adaptivecards.io/content/Drizzle-Square.png",
"altText": "Drizzly weather"
},
{
Expand Down Expand Up @@ -106,7 +106,7 @@
{
"type": "Image",
"size": "auto",
"url": "https://messagecardplayground.azurewebsites.net/assets/Mostly%20Cloudy-Square.png",
"url": "https://adaptivecards.io/content/Mostly%20Cloudy-Square.png",
"altText": "Mostly cloudy weather"
},
{
Expand Down Expand Up @@ -142,7 +142,7 @@
{
"type": "Image",
"size": "auto",
"url": "https://messagecardplayground.azurewebsites.net/assets/Mostly%20Cloudy-Square.png",
"url": "https://adaptivecards.io/content/Mostly%20Cloudy-Square.png",
"altText": "Mostly cloudy weather"
},
{
Expand Down Expand Up @@ -178,7 +178,7 @@
{
"type": "Image",
"size": "auto",
"url": "https://messagecardplayground.azurewebsites.net/assets/Mostly%20Cloudy-Square.png",
"url": "https://adaptivecards.io/content/Mostly%20Cloudy-Square.png",
"altText": "Mostly cloudy weather"
},
{
Expand Down Expand Up @@ -400,7 +400,7 @@
"items": [
{
"type": "Image",
"url": "https://messagecardplayground.azurewebsites.net/assets/Mostly%20Cloudy-Square.png",
"url": "https://adaptivecards.io/content/Mostly%20Cloudy-Square.png",
"size": "small",
"altText": "Mostly cloudy weather"
}
Expand Down
6 changes: 3 additions & 3 deletions samples/Templates/Scenarios/FlightDetails.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
"items": [
{
"type": "Container",
"backgroundImage": "https://messagecardplayground.azurewebsites.net/assets/TxP_Background.png",
"backgroundImage": "https://adaptivecards.io/content/TxP_Background.png",
"items": [
{
"type": "Image",
"horizontalAlignment": "center",
"url": "https://messagecardplayground.azurewebsites.net/assets/TxP_Flight.png",
"url": "https://adaptivecards.io/content/TxP_Flight.png",
"altText": "Departing airplane"
}
],
Expand Down Expand Up @@ -95,7 +95,7 @@
"items": [
{
"type": "Image",
"url": "https://messagecardplayground.azurewebsites.net/assets/smallairplane.png",
"url": "https://adaptivecards.io/content/smallairplane.png",
"height": "16px",
"altText": "Flight to"
}
Expand Down
2 changes: 1 addition & 1 deletion samples/Templates/Scenarios/WeatherCompact.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"items": [
{
"type": "Image",
"url": "https://messagecardplayground.azurewebsites.net/assets/Mostly%20Cloudy-Square.png",
"url": "https://adaptivecards.io/content/Mostly%20Cloudy-Square.png",
"size": "small",
"altText": "Mostly cloudy weather"
}
Expand Down
10 changes: 5 additions & 5 deletions samples/Templates/Scenarios/WeatherLarge.data.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"snow": 0,
"uv": 1.74992,
"weather": {
"icon": "https://messagecardplayground.azurewebsites.net/assets/Mostly%20Cloudy-Square.png",
"icon": "https://adaptivecards.io/content/Mostly%20Cloudy-Square.png",
"code": 803,
"description": "Broken clouds"
},
Expand Down Expand Up @@ -69,7 +69,7 @@
"snow": 0,
"uv": 2.93193,
"weather": {
"icon": "https://messagecardplayground.azurewebsites.net/assets/Drizzle-Square.png",
"icon": "https://adaptivecards.io/content/Drizzle-Square.png",
"code": 803,
"description": "Broken clouds"
},
Expand Down Expand Up @@ -112,7 +112,7 @@
"snow": 0,
"uv": 1.10983,
"weather": {
"icon": "https://messagecardplayground.azurewebsites.net/assets/Mostly%20Cloudy-Square.png",
"icon": "https://adaptivecards.io/content/Mostly%20Cloudy-Square.png",
"code": 804,
"description": "Overcast clouds"
},
Expand Down Expand Up @@ -155,7 +155,7 @@
"snow": 0,
"uv": 0.989995,
"weather": {
"icon": "https://messagecardplayground.azurewebsites.net/assets/Mostly%20Cloudy-Square.png",
"icon": "https://adaptivecards.io/content/Mostly%20Cloudy-Square.png",
"code": 804,
"description": "Overcast clouds"
},
Expand Down Expand Up @@ -198,7 +198,7 @@
"snow": 0,
"uv": 1.06772,
"weather": {
"icon": "https://messagecardplayground.azurewebsites.net/assets/Mostly%20Cloudy-Square.png",
"icon": "https://adaptivecards.io/content/Mostly%20Cloudy-Square.png",
"code": 804,
"description": "Overcast clouds"
},
Expand Down
4 changes: 2 additions & 2 deletions samples/Templates/Scenarios/WeatherLarge.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "AdaptiveCard",
"version": "1.5",
"speak": "<s>Weather forecast for ${formatEpoch(data[0].sunrise_ts, 'dddd')} is high of ${formatNumber(data[0].app_max_temp / 5 * 9 + 32, 0)} and low of ${formatNumber(data[0].app_min_temp / 5 * 9 + 32, 0)} degrees with a ${formatNumber(data[0].precip * 100, 0)}% chance of rain</s><s>Winds will be ${formatNumber(data[0].wind_gust_spd, 0)} mph from the ${data[0].wind_cdir}</s>",
"backgroundImage": "https://messagecardplayground.azurewebsites.net/assets/Mostly%20Cloudy-Background.jpg",
"backgroundImage": "https://adaptivecards.io/content/Mostly%20Cloudy-Background.jpg",
"body": [
{
"type": "ColumnSet",
Expand All @@ -14,7 +14,7 @@
"items": [
{
"type": "Image",
"url": "https://messagecardplayground.azurewebsites.net/assets/Mostly%20Cloudy-Square.png",
"url": "https://adaptivecards.io/content/Mostly%20Cloudy-Square.png",
"size": "stretch",
"altText": "Mostly cloudy weather"
}
Expand Down
Loading