- Updated app/integrated_crm_app.py, build.sh, conf/config.json - Added config.ini, schema.sql, send_email.py, test_db_conn.py - Added full wwwroot/ with bricks framework, all module frontends, login/main UI
50 lines
546 B
JavaScript
50 lines
546 B
JavaScript
/*
|
|
uitype:
|
|
str
|
|
password
|
|
int
|
|
float
|
|
tel
|
|
email
|
|
file
|
|
'check
|
|
checkbox
|
|
date
|
|
text
|
|
code
|
|
video
|
|
audio
|
|
|
|
*/
|
|
|
|
var ViewStr = function(desc){
|
|
var w = Text({
|
|
'text':desc.value,
|
|
'halign':'left'
|
|
})
|
|
if (desc.row_data)
|
|
w.desc_object = desc;
|
|
return w;
|
|
}
|
|
|
|
uitypesdef.setViewKlass('str', ViewStr);
|
|
|
|
var ViewPassword = function(desc){
|
|
var w = Text({
|
|
'text':"****",
|
|
'halign':'left'
|
|
})
|
|
if (desc.row_data)
|
|
w.data = desc.row_data;
|
|
return w;
|
|
}
|
|
class ViewType extends JsWidget {
|
|
constructor(opts){
|
|
super(opts)
|
|
}
|
|
}
|
|
|
|
class ViewStr extends ViewType {
|
|
|
|
}
|