Skip to content

Commit 0f3bd25

Browse files
committed
edit style of tool icon
1 parent 06b64e6 commit 0f3bd25

10 files changed

Lines changed: 2032 additions & 349 deletions

File tree

code.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,15 +242,15 @@ Code.checkDeviceOnline = function (device) {
242242
device: v,
243243
multi: true
244244
});
245-
device.icon.setAttribute('class', 'check icon21 board-error');
245+
device.icon.setAttribute('class', 'check board-error icon-power');
246246

247247
device.board.on(device.boardEvent.READY, function () {
248248
console.log(v + ' : ok');
249-
device.icon.setAttribute('class', 'check icon21 board-online');
249+
device.icon.setAttribute('class', 'check board-online icon-power');
250250
});
251251

252252
device.board.on(device.boardEvent.ERROR, function () {
253-
device.icon.setAttribute('class', 'check icon21 board-error');
253+
device.icon.setAttribute('class', 'check board-error icon-power');
254254
});
255255
}
256256

@@ -259,7 +259,7 @@ Code.checkDeviceOnline = function (device) {
259259
if (this.value.length > 3) {
260260
device.check(this.value.toString());
261261
} else {
262-
device.icon.setAttribute('class', 'check icon21');
262+
device.icon.setAttribute('class', 'check icon-power');
263263
}
264264
};
265265

css/fonts/icomoon.eot

93.2 KB
Binary file not shown.

css/fonts/icomoon.ttf

93.1 KB
Binary file not shown.

css/fonts/icomoon.woff

93.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)