Build Pigway Frame Flow with bilingual UI, complete KoKonna driver and safe automation
This commit is contained in:
@@ -0,0 +1,88 @@
|
||||
{
|
||||
"id": "calendar",
|
||||
"name": "Calendar / 日历",
|
||||
"width": 1200,
|
||||
"height": 1600,
|
||||
"fields": [
|
||||
"date",
|
||||
"events",
|
||||
"photo_id",
|
||||
"title",
|
||||
"weather",
|
||||
"weekday"
|
||||
],
|
||||
"defaults": {
|
||||
"title": "日历 / Calendar",
|
||||
"events": [
|
||||
"暂无日程 / No events"
|
||||
]
|
||||
},
|
||||
"blocks": [
|
||||
{
|
||||
"field": "title",
|
||||
"box": [
|
||||
72,
|
||||
60,
|
||||
1056,
|
||||
150
|
||||
],
|
||||
"size": 72,
|
||||
"kind": "text"
|
||||
},
|
||||
{
|
||||
"field": "",
|
||||
"box": [
|
||||
72,
|
||||
235,
|
||||
1056,
|
||||
7
|
||||
],
|
||||
"size": 42,
|
||||
"kind": "rule"
|
||||
},
|
||||
{
|
||||
"field": "updated",
|
||||
"box": [
|
||||
72,
|
||||
1500,
|
||||
1056,
|
||||
70
|
||||
],
|
||||
"size": 32,
|
||||
"kind": "text"
|
||||
},
|
||||
{
|
||||
"field": "date",
|
||||
"box": [
|
||||
72,
|
||||
300,
|
||||
1056,
|
||||
100
|
||||
],
|
||||
"size": 66,
|
||||
"kind": "text"
|
||||
},
|
||||
{
|
||||
"field": "weekday",
|
||||
"box": [
|
||||
72,
|
||||
430,
|
||||
1056,
|
||||
100
|
||||
],
|
||||
"size": 42,
|
||||
"kind": "text"
|
||||
},
|
||||
{
|
||||
"field": "events",
|
||||
"box": [
|
||||
72,
|
||||
600,
|
||||
1056,
|
||||
800
|
||||
],
|
||||
"size": 54,
|
||||
"kind": "text"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"id": "daily-dashboard",
|
||||
"name": "Daily Dashboard / 家庭早报",
|
||||
"width": 1200,
|
||||
"height": 1600,
|
||||
"fields": [
|
||||
"date",
|
||||
"events",
|
||||
"photo_id",
|
||||
"quote",
|
||||
"title",
|
||||
"weather",
|
||||
"weekday"
|
||||
],
|
||||
"defaults": {
|
||||
"title": "Good Morning / 早上好",
|
||||
"events": [
|
||||
"一起吃早餐 / Breakfast together",
|
||||
"给植物浇水 / Water the plants"
|
||||
],
|
||||
"quote": "把平凡的日子过成喜欢的样子。"
|
||||
},
|
||||
"blocks": [
|
||||
{
|
||||
"field": "title",
|
||||
"box": [
|
||||
72,
|
||||
60,
|
||||
1056,
|
||||
150
|
||||
],
|
||||
"size": 72,
|
||||
"kind": "text"
|
||||
},
|
||||
{
|
||||
"field": "",
|
||||
"box": [
|
||||
72,
|
||||
235,
|
||||
1056,
|
||||
7
|
||||
],
|
||||
"size": 42,
|
||||
"kind": "rule"
|
||||
},
|
||||
{
|
||||
"field": "updated",
|
||||
"box": [
|
||||
72,
|
||||
1500,
|
||||
1056,
|
||||
70
|
||||
],
|
||||
"size": 32,
|
||||
"kind": "text"
|
||||
},
|
||||
{
|
||||
"field": "date",
|
||||
"box": [
|
||||
72,
|
||||
275,
|
||||
1056,
|
||||
80
|
||||
],
|
||||
"size": 56,
|
||||
"kind": "text"
|
||||
},
|
||||
{
|
||||
"field": "weekday",
|
||||
"box": [
|
||||
72,
|
||||
365,
|
||||
1056,
|
||||
65
|
||||
],
|
||||
"size": 42,
|
||||
"kind": "text"
|
||||
},
|
||||
{
|
||||
"field": "weather",
|
||||
"box": [
|
||||
72,
|
||||
465,
|
||||
1056,
|
||||
180
|
||||
],
|
||||
"size": 42,
|
||||
"kind": "text"
|
||||
},
|
||||
{
|
||||
"field": "events",
|
||||
"box": [
|
||||
72,
|
||||
690,
|
||||
1056,
|
||||
260
|
||||
],
|
||||
"size": 46,
|
||||
"kind": "text"
|
||||
},
|
||||
{
|
||||
"field": "quote",
|
||||
"box": [
|
||||
72,
|
||||
1020,
|
||||
1056,
|
||||
150
|
||||
],
|
||||
"size": 46,
|
||||
"kind": "text"
|
||||
},
|
||||
{
|
||||
"field": "photo_id",
|
||||
"box": [
|
||||
72,
|
||||
1210,
|
||||
1056,
|
||||
235
|
||||
],
|
||||
"size": 42,
|
||||
"kind": "photo"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"id": "photo-text",
|
||||
"name": "Photo + Text / 照片与文字",
|
||||
"width": 1200,
|
||||
"height": 1600,
|
||||
"fields": [
|
||||
"date",
|
||||
"events",
|
||||
"message",
|
||||
"photo_id",
|
||||
"title",
|
||||
"weather",
|
||||
"weekday"
|
||||
],
|
||||
"defaults": {
|
||||
"title": "我们的时光 / Our moments",
|
||||
"message": "记录值得记住的日常。"
|
||||
},
|
||||
"blocks": [
|
||||
{
|
||||
"field": "title",
|
||||
"box": [
|
||||
72,
|
||||
60,
|
||||
1056,
|
||||
150
|
||||
],
|
||||
"size": 72,
|
||||
"kind": "text"
|
||||
},
|
||||
{
|
||||
"field": "",
|
||||
"box": [
|
||||
72,
|
||||
235,
|
||||
1056,
|
||||
7
|
||||
],
|
||||
"size": 42,
|
||||
"kind": "rule"
|
||||
},
|
||||
{
|
||||
"field": "updated",
|
||||
"box": [
|
||||
72,
|
||||
1500,
|
||||
1056,
|
||||
70
|
||||
],
|
||||
"size": 32,
|
||||
"kind": "text"
|
||||
},
|
||||
{
|
||||
"field": "photo_id",
|
||||
"box": [
|
||||
72,
|
||||
295,
|
||||
1056,
|
||||
920
|
||||
],
|
||||
"size": 42,
|
||||
"kind": "photo"
|
||||
},
|
||||
{
|
||||
"field": "message",
|
||||
"box": [
|
||||
72,
|
||||
1280,
|
||||
1056,
|
||||
170
|
||||
],
|
||||
"size": 48,
|
||||
"kind": "text"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
{
|
||||
"id": "quote",
|
||||
"name": "Quote / 一句话",
|
||||
"width": 1200,
|
||||
"height": 1600,
|
||||
"fields": [
|
||||
"author",
|
||||
"date",
|
||||
"events",
|
||||
"photo_id",
|
||||
"quote",
|
||||
"title",
|
||||
"weather",
|
||||
"weekday"
|
||||
],
|
||||
"defaults": {
|
||||
"title": "今日一句 / A thought",
|
||||
"quote": "慢下来,生活自有答案。",
|
||||
"author": "Frame Flow"
|
||||
},
|
||||
"blocks": [
|
||||
{
|
||||
"field": "title",
|
||||
"box": [
|
||||
72,
|
||||
60,
|
||||
1056,
|
||||
150
|
||||
],
|
||||
"size": 72,
|
||||
"kind": "text"
|
||||
},
|
||||
{
|
||||
"field": "",
|
||||
"box": [
|
||||
72,
|
||||
235,
|
||||
1056,
|
||||
7
|
||||
],
|
||||
"size": 42,
|
||||
"kind": "rule"
|
||||
},
|
||||
{
|
||||
"field": "updated",
|
||||
"box": [
|
||||
72,
|
||||
1500,
|
||||
1056,
|
||||
70
|
||||
],
|
||||
"size": 32,
|
||||
"kind": "text"
|
||||
},
|
||||
{
|
||||
"field": "quote",
|
||||
"box": [
|
||||
72,
|
||||
460,
|
||||
1056,
|
||||
620
|
||||
],
|
||||
"size": 72,
|
||||
"kind": "text"
|
||||
},
|
||||
{
|
||||
"field": "author",
|
||||
"box": [
|
||||
72,
|
||||
1200,
|
||||
1056,
|
||||
100
|
||||
],
|
||||
"size": 42,
|
||||
"kind": "text"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"id": "system-alert",
|
||||
"name": "System Alert / 系统告警",
|
||||
"width": 1200,
|
||||
"height": 1600,
|
||||
"fields": [
|
||||
"date",
|
||||
"events",
|
||||
"message",
|
||||
"photo_id",
|
||||
"title",
|
||||
"weather",
|
||||
"weekday"
|
||||
],
|
||||
"defaults": {
|
||||
"title": "SYSTEM ALERT / 系统告警",
|
||||
"message": "需要检查设备状态 / Please check the device"
|
||||
},
|
||||
"blocks": [
|
||||
{
|
||||
"field": "title",
|
||||
"box": [
|
||||
72,
|
||||
60,
|
||||
1056,
|
||||
150
|
||||
],
|
||||
"size": 72,
|
||||
"kind": "text"
|
||||
},
|
||||
{
|
||||
"field": "",
|
||||
"box": [
|
||||
72,
|
||||
235,
|
||||
1056,
|
||||
7
|
||||
],
|
||||
"size": 42,
|
||||
"kind": "rule"
|
||||
},
|
||||
{
|
||||
"field": "updated",
|
||||
"box": [
|
||||
72,
|
||||
1500,
|
||||
1056,
|
||||
70
|
||||
],
|
||||
"size": 32,
|
||||
"kind": "text"
|
||||
},
|
||||
{
|
||||
"field": "message",
|
||||
"box": [
|
||||
72,
|
||||
430,
|
||||
1056,
|
||||
650
|
||||
],
|
||||
"size": 72,
|
||||
"kind": "text"
|
||||
},
|
||||
{
|
||||
"field": "details",
|
||||
"box": [
|
||||
72,
|
||||
1150,
|
||||
1056,
|
||||
260
|
||||
],
|
||||
"size": 42,
|
||||
"kind": "text"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
{
|
||||
"id": "weather",
|
||||
"name": "Weather / 天气",
|
||||
"width": 1200,
|
||||
"height": 1600,
|
||||
"fields": [
|
||||
"date",
|
||||
"events",
|
||||
"photo_id",
|
||||
"title",
|
||||
"weather",
|
||||
"weekday"
|
||||
],
|
||||
"defaults": {
|
||||
"title": "天气 / Weather"
|
||||
},
|
||||
"blocks": [
|
||||
{
|
||||
"field": "title",
|
||||
"box": [
|
||||
72,
|
||||
60,
|
||||
1056,
|
||||
150
|
||||
],
|
||||
"size": 72,
|
||||
"kind": "text"
|
||||
},
|
||||
{
|
||||
"field": "",
|
||||
"box": [
|
||||
72,
|
||||
235,
|
||||
1056,
|
||||
7
|
||||
],
|
||||
"size": 42,
|
||||
"kind": "rule"
|
||||
},
|
||||
{
|
||||
"field": "updated",
|
||||
"box": [
|
||||
72,
|
||||
1500,
|
||||
1056,
|
||||
70
|
||||
],
|
||||
"size": 32,
|
||||
"kind": "text"
|
||||
},
|
||||
{
|
||||
"field": "date",
|
||||
"box": [
|
||||
72,
|
||||
285,
|
||||
1056,
|
||||
90
|
||||
],
|
||||
"size": 56,
|
||||
"kind": "text"
|
||||
},
|
||||
{
|
||||
"field": "weather",
|
||||
"box": [
|
||||
72,
|
||||
440,
|
||||
1056,
|
||||
450
|
||||
],
|
||||
"size": 62,
|
||||
"kind": "text"
|
||||
},
|
||||
{
|
||||
"field": "forecast",
|
||||
"box": [
|
||||
72,
|
||||
990,
|
||||
1056,
|
||||
400
|
||||
],
|
||||
"size": 44,
|
||||
"kind": "text"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user