36
36
variable N
37
37
variable M
38
38
variable NBlocks
39
- variable IsHome
40
39
variable CDN
41
40
42
- get IsHome from storage as `.ishome`
43
41
get CDN from storage as `.cdn`
44
42
45
43
put -1 into SelectedBlock
@@ -72,7 +70,7 @@ Restart:
72
70
create Link in Cell
73
71
create AddBlock in Link
74
72
set the style of AddBlock to `width:1em;margin-top:0.1em`
75
- set attribute `src` of AddBlock to `/resources/icon/plus.png`
73
+ set attribute `src` of AddBlock to CDN cat `/resources/icon/plus.png`
76
74
on click AddBlock
77
75
begin
78
76
set Defaults to object
@@ -117,7 +115,7 @@ Restart:
117
115
index ShowBlock to N
118
116
create ShowBlock in Link
119
117
set the style of ShowBlock to `width:1em;margin:0.1em 0.2em 0 0`
120
- set attribute `src` of ShowBlock to `/resources/icon/binoculars.png`
118
+ set attribute `src` of ShowBlock to CDN cat `/resources/icon/binoculars.png`
121
119
create EditButton in Cell
122
120
set the style of EditButton to `flex:1`
123
121
put element N of Blocks into Block
@@ -133,12 +131,12 @@ Restart:
133
131
create Link in Cell
134
132
create Up in Link
135
133
set the style of Up to `width:1em;margin:0.2em 0 0 0.2em`
136
- set attribute `src` of Up to `/resources/icon/up.png`
134
+ set attribute `src` of Up to CDN cat `/resources/icon/up.png`
137
135
end
138
136
create Link in Cell
139
137
create DeleteBlock in Link
140
138
set the style of DeleteBlock to `width:1em;margin:0.2em 0 0 0.2em`
141
- set attribute `src` of DeleteBlock to `/resources/icon/stop.png`
139
+ set attribute `src` of DeleteBlock to CDN cat `/resources/icon/stop.png`
142
140
create Editor in Row
143
141
set the style of Editor to `margin:0.5em;border:1px solid black;padding:0.2em;display:none`
144
142
add 1 to N
0 commit comments