transfer
This commit is contained in:
parent
f3ca2f4d8e
commit
d46739142e
1 changed files with 25 additions and 0 deletions
|
@ -0,0 +1,25 @@
|
|||
class App.MaintananceWidget extends App.Controller
|
||||
constructor: ->
|
||||
super
|
||||
|
||||
# bind on event to show message
|
||||
App.Event.bind 'session:maintanance', (data) =>
|
||||
console.log('hannes was here')
|
||||
|
||||
|
||||
class Message extends App.ControllerModal
|
||||
constructor: ->
|
||||
super
|
||||
@render()
|
||||
|
||||
render: ->
|
||||
@html App.view('modal')(
|
||||
title: 'Maintanance Message',
|
||||
message: @message
|
||||
detail: @detail
|
||||
close: @close
|
||||
)
|
||||
@modalShow(
|
||||
backdrop: false,
|
||||
keyboard: false,
|
||||
)
|
Loading…
Reference in a new issue