mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-05 03:43:52 +00:00
Hide title and subtitles
This commit is contained in:
1 parent
abd53b79ed
commit
c71e242357
6 files changed
+28
-21
No files matched your search
+1
-1
@@ -1,4 +1,3 @@
|
||||
@external slick-dots, slick-active;
|
||||
|
||||
.swipercontainer {
|
||||
margin: 0 auto;
|
||||
@@ -208,4 +207,5 @@
|
||||
background: #333;
|
||||
}
|
||||
|
||||
@external slick-dots, slick-active;
|
||||
|
||||
+16
-17
@@ -1,23 +1,22 @@
|
||||
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
|
||||
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
|
||||
xmlns:g="urn:import:com.google.gwt.user.client.ui"
|
||||
xmlns:s="urn:import:com.sap.sailing.gwt.home.client.shared"
|
||||
xmlns:sse="urn:import:com.sap.sse.gwt.client.controls"
|
||||
|
||||
>
|
||||
<ui:with field="i18n" type="com.sap.sailing.gwt.common.client.i18n.TextMessages" />
|
||||
<ui:with field="res" type="com.sap.sailing.gwt.home.mobile.resources.SharedResources" />
|
||||
<ui:with field="media_res" type="com.sap.sailing.gwt.home.client.shared.mainmedia.MainMediaResources" />
|
||||
<ui:with field="local_res" type="com.sap.sailing.gwt.home.mobile.partials.stage.StageResources" />
|
||||
xmlns:g="urn:import:com.google.gwt.user.client.ui" xmlns:s="urn:import:com.sap.sailing.gwt.home.client.shared"
|
||||
xmlns:sse="urn:import:com.sap.sse.gwt.client.controls">
|
||||
<ui:with field="i18n"
|
||||
type="com.sap.sailing.gwt.common.client.i18n.TextMessages" />
|
||||
<ui:with field="res"
|
||||
type="com.sap.sailing.gwt.home.mobile.resources.SharedResources" />
|
||||
<ui:with field="local_res"
|
||||
type="com.sap.sailing.gwt.home.mobile.partials.stage.StageResources" />
|
||||
<g:HTMLPanel>
|
||||
<!-- The main stage -->
|
||||
<div class="{local_res.css.stage}">
|
||||
<div class="{local_res.css.stage_teasers} {local_res.css.swipercontainer}">
|
||||
<sse:carousel.WidgetCarousel ui:field="widgetCarousel" />
|
||||
</div>
|
||||
<div class="{local_res.css.stage_progress}">
|
||||
<div class="{local_res.css.stage_progress_bar}"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="{local_res.css.stage}">
|
||||
<div class="{local_res.css.stage_teasers} {local_res.css.swipercontainer}">
|
||||
<sse:carousel.WidgetCarousel ui:field="widgetCarousel" />
|
||||
</div>
|
||||
<div class="{local_res.css.stage_progress}">
|
||||
<div class="{local_res.css.stage_progress_bar}"></div>
|
||||
</div>
|
||||
</div>
|
||||
</g:HTMLPanel>
|
||||
</ui:UiBinder>
|
||||
+1
-1
@@ -8,7 +8,7 @@ import com.google.gwt.resources.client.ImageResource;
|
||||
public interface StageResources extends ClientBundle {
|
||||
public static final StageResources INSTANCE = GWT.create(StageResources.class);
|
||||
|
||||
@Source("com/sap/sailing/gwt/home/mobile/partials/stage/Stage.gss")
|
||||
@Source("Stage.gss")
|
||||
LocalCss css();
|
||||
|
||||
public interface LocalCss extends CssResource {
|
||||
|
||||
+2
-2
@@ -9,10 +9,10 @@
|
||||
<div class="{local_res.css.stageteaser_background}">
|
||||
<div ui:field="teaserImage" class="{local_res.css.stageteaser_background_image}" />
|
||||
</div>
|
||||
<div class="{local_res.css.stageteaser_content}">
|
||||
<div class="{local_res.css.stageteaser_content}" style="display:none;">
|
||||
<header class="{local_res.css.stageteaser_content_header}">
|
||||
<p class="{local_res.css.stageteaser_content_header_subtitle}">
|
||||
<span ui:field="subtitle" />
|
||||
<span ui:field="subtitle"/>
|
||||
</p>
|
||||
<h2 class="{local_res.css.stageteaser_content_header_title}">
|
||||
<span ui:field="title" />
|
||||
|
||||
+6
@@ -40,6 +40,7 @@ public class DispatchRPCImpl extends ProxiedRemoteServiceServlet implements Disp
|
||||
A action = request.getAction();
|
||||
long start = System.currentTimeMillis();
|
||||
try {
|
||||
|
||||
R executionResult = action.execute(
|
||||
new DispatchContextImpl(request.getCurrentClientTime(),
|
||||
racingEventServiceTracker.getService(), eventNewsServiceTracker.getService(), request
|
||||
@@ -66,4 +67,9 @@ public class DispatchRPCImpl extends ProxiedRemoteServiceServlet implements Disp
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void doUnexpectedFailure(Throwable e) {
|
||||
logger.log(Level.WARNING, "GWT RPC Exception: " + e.getMessage(), e);
|
||||
super.doUnexpectedFailure(e);
|
||||
}
|
||||
}
|
||||
+2
@@ -17,6 +17,7 @@ import com.sap.sailing.gwt.ui.shared.dispatch.ListResult;
|
||||
public class GetRecentEventsAction implements Action<ListResult<EventQuickfinderDTO>> {
|
||||
|
||||
private int limit;
|
||||
private String kabum;
|
||||
|
||||
protected GetRecentEventsAction() {
|
||||
}
|
||||
@@ -27,6 +28,7 @@ public class GetRecentEventsAction implements Action<ListResult<EventQuickfinder
|
||||
|
||||
@GwtIncompatible
|
||||
public ListResult<EventQuickfinderDTO> execute(final DispatchContext context) throws MalformedURLException {
|
||||
|
||||
final SortedSet<EventQuickfinderDTO> events = new TreeSet<>();
|
||||
HomeServiceUtil.forAllPublicEvents(context.getRacingEventService(), context.getRequest(), new EventVisitor() {
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user