hw tab in web ui

This commit is contained in:
Devaev Maxim
2020-07-09 11:06:03 +03:00
parent 5f1733d002
commit dc5b8c2522
5 changed files with 79 additions and 27 deletions

View File

@@ -46,6 +46,10 @@ export var tools = new function() {
/************************************************************************/
this.upperFirst = function(text) {
return text[0].toUpperCase() + text.slice(1);
};
this.makeId = function() {
let chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
let id = "";