mirror of
https://github.com/lxsang/antos-frontend.git
synced 2025-02-22 09:52:47 +01:00
support screenshot in MarketPlace
This commit is contained in:
parent
a9c3be2d75
commit
8877f46771
@ -49,6 +49,7 @@ class MarketPlace extends this.OS.GUI.BaseApplication
|
||||
($ @container).css "visibility", "visible"
|
||||
( $ @appname ).html d.name
|
||||
($ @appdesc).html d.description if d.description
|
||||
($ @appdesc).prepend ($ "<img/>").attr("src", d.screenshot) if d.screenshot
|
||||
|
||||
if @systemsetting.system.packages[d.className]
|
||||
($ @btinstall).hide()
|
||||
|
@ -37,6 +37,10 @@ afx-app-window[data-id="marketplace-win"] p[data-id='app-desc'] {
|
||||
padding:10px;
|
||||
padding-top: 0;
|
||||
}
|
||||
afx-app-window[data-id="marketplace-win"] p[data-id='app-desc'] img{
|
||||
display: block;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
afx-app-window[data-id="marketplace-win"] ul[data-id='app-detail'] {
|
||||
padding:0;
|
||||
padding-left:10px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user