changed style of the database error popup
This commit is contained in:
parent
c171fc7d33
commit
7afdbd30f6
@ -84,3 +84,19 @@ div[data-component="ia.input.fileupload"] .ia_button--primary {
|
|||||||
.psc-rotate {
|
.psc-rotate {
|
||||||
animation: rotation 2s infinite linear;
|
animation: rotation 2s infinite linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#popup-errorPopup .ia_popup__header {
|
||||||
|
color: red;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#popup-errorPopup .ia_popup__header:before {
|
||||||
|
color: red;
|
||||||
|
content: "⛔ ";
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 16px;
|
||||||
|
padding-right: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -6,9 +6,9 @@
|
|||||||
"$": [
|
"$": [
|
||||||
"ts",
|
"ts",
|
||||||
192,
|
192,
|
||||||
1747672706122
|
1747730947188
|
||||||
],
|
],
|
||||||
"$ts": 1747672706122
|
"$ts": 1747730947187
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -506,13 +506,13 @@
|
|||||||
},
|
},
|
||||||
"onChange": {
|
"onChange": {
|
||||||
"enabled": null,
|
"enabled": null,
|
||||||
"script": " db_tag_path \u003d \"[System]Gateway/Database/MariaDB/Available\"\n\t\n if not (system.tag.readBlocking([db_tag_path])[0].value):\n \tsystem.perspective.openPopup(\"errorPopup\",\u0027PopUp-Views/ErrorPopup\u0027)\n\t"
|
"script": " db_tag_path \u003d \"[System]Gateway/Database/MariaDB/Available\"\n\t\n if not (system.tag.readBlocking([db_tag_path])[0].value):\n \tsystem.perspective.openPopup(\"errorPopup\",\u0027PopUp-Views/DatabaseError\u0027, title\u003d\"Database Error\")\n\t"
|
||||||
},
|
},
|
||||||
"persistent": true
|
"persistent": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"props": {
|
"props": {
|
||||||
"color": "#47FF47",
|
"color": "#FF0000",
|
||||||
"path": "material/table_chart"
|
"path": "material/table_chart"
|
||||||
},
|
},
|
||||||
"type": "ia.display.icon"
|
"type": "ia.display.icon"
|
||||||
|
|||||||
@ -10,8 +10,8 @@
|
|||||||
"attributes": {
|
"attributes": {
|
||||||
"lastModification": {
|
"lastModification": {
|
||||||
"actor": "admin",
|
"actor": "admin",
|
||||||
"timestamp": "2025-05-19T16:51:36Z"
|
"timestamp": "2025-05-20T09:49:07Z"
|
||||||
},
|
},
|
||||||
"lastModificationSignature": "c96d5c63ec36ffa6e324173215ee03ed2ae751c82423c5716df1bba9e089940d"
|
"lastModificationSignature": "cb7026f671f17bc4ef7ebb50ab9735c971cb50752a412e2a4e14d784891500f5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 9.2 KiB |
@ -3,45 +3,12 @@
|
|||||||
"params": {},
|
"params": {},
|
||||||
"props": {
|
"props": {
|
||||||
"defaultSize": {
|
"defaultSize": {
|
||||||
"height": 208,
|
"height": 165,
|
||||||
"width": 450
|
"width": 400
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"children": [
|
"children": [
|
||||||
{
|
|
||||||
"meta": {
|
|
||||||
"name": "Label"
|
|
||||||
},
|
|
||||||
"position": {
|
|
||||||
"height": 40,
|
|
||||||
"width": 360,
|
|
||||||
"x": 90
|
|
||||||
},
|
|
||||||
"props": {
|
|
||||||
"text": "Database Error",
|
|
||||||
"textStyle": {
|
|
||||||
"color": "#FF0000",
|
|
||||||
"fontFamily": "Arial",
|
|
||||||
"fontSize": "22px"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"type": "ia.display.label"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"meta": {
|
|
||||||
"name": "Icon"
|
|
||||||
},
|
|
||||||
"position": {
|
|
||||||
"height": 40,
|
|
||||||
"width": 90
|
|
||||||
},
|
|
||||||
"props": {
|
|
||||||
"color": "#FF1D00",
|
|
||||||
"path": "material/error"
|
|
||||||
},
|
|
||||||
"type": "ia.display.icon"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
@ -73,9 +40,7 @@
|
|||||||
"name": "FlexContainer"
|
"name": "FlexContainer"
|
||||||
},
|
},
|
||||||
"position": {
|
"position": {
|
||||||
"height": 99,
|
"grow": 1
|
||||||
"width": 450,
|
|
||||||
"y": 48
|
|
||||||
},
|
},
|
||||||
"props": {
|
"props": {
|
||||||
"alignItems": "flex-start",
|
"alignItems": "flex-start",
|
||||||
@ -103,14 +68,11 @@
|
|||||||
"meta": {
|
"meta": {
|
||||||
"name": "Button"
|
"name": "Button"
|
||||||
},
|
},
|
||||||
"position": {
|
|
||||||
"height": 34,
|
|
||||||
"width": 206,
|
|
||||||
"x": 106,
|
|
||||||
"y": 158
|
|
||||||
},
|
|
||||||
"props": {
|
"props": {
|
||||||
"primary": false,
|
"primary": false,
|
||||||
|
"style": {
|
||||||
|
"marginTop": 3
|
||||||
|
},
|
||||||
"text": "Dismiss"
|
"text": "Dismiss"
|
||||||
},
|
},
|
||||||
"type": "ia.input.button"
|
"type": "ia.input.button"
|
||||||
@ -119,6 +81,11 @@
|
|||||||
"meta": {
|
"meta": {
|
||||||
"name": "root"
|
"name": "root"
|
||||||
},
|
},
|
||||||
"type": "ia.container.coord"
|
"props": {
|
||||||
|
"alignContent": "flex-start",
|
||||||
|
"direction": "column",
|
||||||
|
"justify": "space-around"
|
||||||
|
},
|
||||||
|
"type": "ia.container.flex"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user