fixed css
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<article eiccard media class="mainDashboard">
|
||||
<header>
|
||||
<h1>Simulation Main dashboard</h1>
|
||||
</header>
|
||||
<section>
|
||||
hello world
|
||||
</section>
|
||||
</article>
|
||||
@@ -0,0 +1,28 @@
|
||||
class MainDashboardView extends EICDomContent {
|
||||
|
||||
constructor() {
|
||||
super()
|
||||
Object.assign(this, app.helpers.activeAttributes)
|
||||
//this.tileMarkup = app.Assets.Store.html['/app/assets/html/mailing/tile.html']
|
||||
}
|
||||
|
||||
DOMContentLoaded(options) {
|
||||
for(let model in options.models) this[model] = options.models[model]
|
||||
const components = ui.eicfy(this.el)
|
||||
this.setupTriggers(components)
|
||||
this.setupRefs(components)
|
||||
|
||||
}
|
||||
|
||||
DOMContentFocused(options) {
|
||||
// Avoid 2nd refesh on DomContentLoaded
|
||||
if(this.wasBlured){
|
||||
//this.refreshSearch()
|
||||
}
|
||||
this.wasBlured = false
|
||||
}
|
||||
|
||||
DOMContentBlured(options) { this.wasBlured = true }
|
||||
}
|
||||
|
||||
app.registerClass('MainDashboardView', MainDashboardView)
|
||||
Reference in New Issue
Block a user