Livestream dummy content and styling

This commit is contained in:
Steffen Schaefer committed 2015-05-18 18:45:09 +02:00
1 parent eaa940fd98
commit 0925b10cec
4 files changed
+6 -7

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

@@ -18,7 +18,7 @@
-moz-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
background-image: url("../images/home/play.png");
background-image: url("images/home/play.png");
}
.videoitem .videoplaceholder {
height: 100%;
@@ -14,6 +14,7 @@ public class Livestream extends Composite {
}
public Livestream() {
LivestreamResources.INSTANCE.css().ensureInjected();
initWidget(uiBinder.createAndBindUi(this));
}
@@ -4,22 +4,20 @@
<ui:with field="i18n_ubi" type="com.sap.sailing.gwt.common.client.i18n.TextMessages"/>
<ui:with field="res" type="com.sap.sailing.gwt.common.client.SharedResources" />
<ui:with field="local_res" type="com.sap.sailing.gwt.home.client.place.event.partials.livestream.LivestreamResources" />
<g:HTMLPanel>
<div class="{local_res.css.livestream} {local_res.css.videoitem}">
<g:HTMLPanel addStyleNames="{local_res.css.livestream} {local_res.css.videoitem}">
<div class="{local_res.css.livestream_play} {local_res.css.playicon}"></div>
<div data-id="TODO" class="{local_res.css.videoplaceholder}">
<div data-img="TODO" class="{local_res.css.videoplaceholder_image}"></div>
<div class="{local_res.css.videoplaceholder}">
<div class="{local_res.css.videoplaceholder_image}" style="background-image: url(http://storage.ubidev.net/sap-sailing-analytics/6120578021/desktop/latest/images/home/f1958116.livestream-thumbnail.png);" />
</div>
<div class="{local_res.css.livestream_info} {local_res.css.info}">
<div class="{local_res.css.livestream_info_text}">
<h3>
<!-- livestream.title -->
TODO Stream title
</h3>
</div>
<div data-labeltype="live" class="{res.mainCss.label}">
<ui:text from='{i18n.playModeLive}' />
</div>
</div>
</div>
</g:HTMLPanel>
</ui:UiBinder>