Improved drox widget.
This commit is contained in:
parent
0463f6941e
commit
85e253b45d
2 changed files with 20 additions and 2 deletions
|
@ -200,9 +200,16 @@ class DestroyConfirm extends App.ControllerModal
|
||||||
@item.destroy()
|
@item.destroy()
|
||||||
|
|
||||||
class App.ControllerDrox extends App.Controller
|
class App.ControllerDrox extends App.Controller
|
||||||
constructor: ->
|
constructor: (params) ->
|
||||||
super
|
super
|
||||||
|
|
||||||
|
if params.data && params.data.text
|
||||||
|
@inline(params.data)
|
||||||
|
|
||||||
|
inline: (data) ->
|
||||||
|
@html App.view('generic/drox')(data)
|
||||||
|
@el.find('.drox-body').text(data.text)
|
||||||
|
|
||||||
template: (data) ->
|
template: (data) ->
|
||||||
drox = $( App.view('generic/drox')(data) )
|
drox = $( App.view('generic/drox')(data) )
|
||||||
content = App.view(data.file)(data.params)
|
content = App.view(data.file)(data.params)
|
||||||
|
|
|
@ -191,12 +191,15 @@ table th, table td {
|
||||||
width: 280px;
|
width: 280px;
|
||||||
}
|
}
|
||||||
.content-two .main {
|
.content-two .main {
|
||||||
width: 800px;
|
width: 900px;
|
||||||
margin-left: 284px;
|
margin-left: 284px;
|
||||||
}
|
}
|
||||||
.content-two .meta {
|
.content-two .meta {
|
||||||
|
/*
|
||||||
width: 140px;
|
width: 140px;
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
|
*/
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -853,6 +856,14 @@ footer {
|
||||||
margin-top: -18px;
|
margin-top: -18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nav.nav-pills li .glyphicon {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.nav.nav-pills li:hover .glyphicon, .nav li:focus .glyphicon {
|
||||||
|
display: inline-block;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
.customer-info {
|
.customer-info {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding-top: 7px;
|
padding-top: 7px;
|
||||||
|
|
Loading…
Reference in a new issue