yumoqing 2b921a209d sync: local modifications to integrated_crm_app
- 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
2026-04-28 18:54:07 +08:00

22 lines
510 B
JavaScript

var bricks = window.bricks || {};
bricks.Iframe = class extends bricks.Layout {
constructor(opts){
opts.height = opts.height || '100%';
super(opts);
this.dom_element.src = opts.url;
}
create(){
this.dom_element = document.createElement('iframe');
}
}
bricks.NewWindow = class extends bricks.JsWidget {
constructor(opts){
super(opts);
window.open(opts.url, opts.name || '_blank');
}
}
bricks.Factory.register('NewWindow', bricks.NewWindow);
bricks.Factory.register('Iframe', bricks.Iframe);