mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-06 12:23:55 +00:00
Removed unused partial
This commit is contained in:
1 parent
d182dc450f
commit
867c12a855
5 files changed
-217
No files matched your search
-79
@@ -1,79 +0,0 @@
|
||||
/**
|
||||
* The header of a regatta of an event
|
||||
*/
|
||||
.regattaheader {
|
||||
font-size: 1rem;
|
||||
margin-top: 2em;
|
||||
padding: 0.666666666666667em;
|
||||
overflow: hidden;
|
||||
border-radius: 0.333333333333333em;
|
||||
border: 1px solid #dedede;
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
.regattaheaderlink {
|
||||
display: block;
|
||||
margin-top: 0;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
color: #0a0a0a;
|
||||
}
|
||||
.regattaheader_logo {
|
||||
float: left;
|
||||
width: 4em;
|
||||
height: 3.333333333333333em;
|
||||
margin-right: 0.666666666666667em;
|
||||
text-align: center;
|
||||
line-height: 3.333333333333333em;
|
||||
border-right: 1px solid #ccc;
|
||||
padding-right: 0.666666666666667em;
|
||||
}
|
||||
.regattaheader_logo img {
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.regattaheader_content {
|
||||
float: left;
|
||||
width: 80%;
|
||||
overflow: hidden;
|
||||
}
|
||||
.regattaheader_content_title {
|
||||
font-size: 1.466666666666667em;
|
||||
font-weight: 700;
|
||||
height: 1.363636363636364em;
|
||||
line-height: 1.363636363636364em;
|
||||
}
|
||||
.regattaheader_content_details {
|
||||
height: 1.333333333333333em;
|
||||
}
|
||||
.regattaheader_content_details_item {
|
||||
float: left;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: #666;
|
||||
padding: 0 0.666666666666667em;
|
||||
border-right: 1px solid #ccc;
|
||||
}
|
||||
.regattaheader_content_details_item:first-of-type {
|
||||
padding-left: 0;
|
||||
}
|
||||
.regattaheader_content_details_item:last-of-type {
|
||||
border: none;
|
||||
padding-right: 0;
|
||||
}
|
||||
.regattaheader_arrow {
|
||||
float: right;
|
||||
width: 5%;
|
||||
line-height: 3.333333333333333em;
|
||||
text-align: right;
|
||||
}
|
||||
.regattaheader_arrow:before {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
margin-left: 0.333333333333333em;
|
||||
width: 0.8em;
|
||||
height: 1.333333333333333em;
|
||||
background-image: url("../images/home/breadcrumb-arrow.png");
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
-26
@@ -1,26 +0,0 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.partials.regattaHeader;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.uibinder.client.UiBinder;
|
||||
import com.google.gwt.uibinder.client.UiField;
|
||||
import com.google.gwt.user.client.ui.Composite;
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
import com.sap.sailing.gwt.ui.client.StringMessages;
|
||||
import com.sap.sailing.gwt.ui.shared.eventview.RegattaReferenceDTO;
|
||||
|
||||
public class RegattaHeader extends Composite {
|
||||
private static EventHeaderUiBinder uiBinder = GWT.create(EventHeaderUiBinder.class);
|
||||
|
||||
interface EventHeaderUiBinder extends UiBinder<Widget, RegattaHeader> {
|
||||
}
|
||||
|
||||
@UiField StringMessages i18n;
|
||||
|
||||
|
||||
public RegattaHeader(RegattaReferenceDTO regattaRefDTO) {
|
||||
|
||||
RegattaHeaderResources.INSTANCE.css().ensureInjected();
|
||||
initWidget(uiBinder.createAndBindUi(this));
|
||||
}
|
||||
|
||||
}
|
||||
-30
@@ -1,30 +0,0 @@
|
||||
<!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.place.event.partials"
|
||||
>
|
||||
|
||||
<ui:with field="i18n" type="com.sap.sailing.gwt.ui.client.StringMessages" />
|
||||
<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.regattaHeader.RegattaHeaderResources" />
|
||||
<g:HTMLPanel>
|
||||
<!-- The regatta header contains basic regatta information-->
|
||||
<div>
|
||||
<div class="{res.mediaCss.grid}">
|
||||
<div class="{res.mediaCss.small12} {res.mediaCss.columns}">
|
||||
<!-- IF isLink -->
|
||||
<a href="<!-- linkToRegattaEvenPage -->" class="{local_res.css.regattaheader} {local_res.css.regattaheaderlink}">
|
||||
<s:regattaHeader.RegattaHeaderBody ui:field='regatta'></s:regattaHeader.RegattaHeaderBody>
|
||||
</a>
|
||||
<!-- IFEND isLink -->
|
||||
<!-- IF isLink == false -->
|
||||
<div class="{local_res.css.regattaheader}">
|
||||
<div class="{local_res.css.regattaheader_arrow}"></div>
|
||||
</div>
|
||||
<!-- IFEND isLink == false -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</g:HTMLPanel>
|
||||
</ui:UiBinder>
|
||||
-59
@@ -1,59 +0,0 @@
|
||||
<!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.place.event.ui"
|
||||
>
|
||||
|
||||
<ui:with field="i18n" type="com.sap.sailing.gwt.ui.client.StringMessages" />
|
||||
<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.ui.regattaHeader.RegattaHeaderResources" />
|
||||
|
||||
<g:HTMLPanel>
|
||||
<div class="{local_res.css.regattaheader_logo}">
|
||||
<img src="<!-- regatta.image -->" />
|
||||
</div>
|
||||
<div class="{local_res.css.regattaheader_content}">
|
||||
<div class="{local_res.css.regattaheader_content_title}">
|
||||
<!-- regatta.name -->
|
||||
<!-- IF regatta.isLive -->
|
||||
<div data-labeltype="live" class="{res.mainCss.label}">
|
||||
<ui:text from='{i18n.playModeLive}' />
|
||||
</div>
|
||||
<!-- IFEND regatta.isLive -->
|
||||
<!-- IF regatta.isFinished -->
|
||||
<div data-labeltype="finished" class="{res.mainCss.label}">
|
||||
<ui:text from='{i18n.raceIsFinished}' />
|
||||
</div>
|
||||
<!-- IFEND regatta.isFinished -->
|
||||
<!-- IF regatta.isProgress -->
|
||||
<div data-labeltype="progress" class="{res.mainCss.label}">
|
||||
<ui:text from='{i18n.isProgress}' />
|
||||
</div>
|
||||
<!-- IFEND regatta.isProgress -->
|
||||
<!-- IF regatta.isUpcoming -->
|
||||
<div data-labeltype="upcoming" class="{res.mainCss.label}">
|
||||
<ui:text from='{i18n.isUpcoming}' />
|
||||
</div>
|
||||
<!-- IFEND regatta.isUpcoming -->
|
||||
</div>
|
||||
<div class="{local_res.css.regattaheader_content_details}">
|
||||
<div class="{local_res.css.regattaheader_content_details_item}">
|
||||
<!-- regatta.competitorsCount -->
|
||||
<ui:text from='{i18n.competitors}' />
|
||||
</div>
|
||||
<div class="{local_res.css.regattaheader_content_details_item}">
|
||||
<!-- regatta.racesCount -->
|
||||
<ui:text from='{i18n.regattaHeaderRacesCount}' />
|
||||
</div>
|
||||
<div class="{local_res.css.regattaheader_content_details_item}">
|
||||
<!-- regatta.trackedCount -->
|
||||
<ui:text from='{i18n.tracked}' />
|
||||
</div>
|
||||
<div class="{local_res.css.regattaheader_content_details_item}">
|
||||
<!-- regatta.category -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</g:HTMLPanel>
|
||||
</ui:UiBinder>
|
||||
-23
@@ -1,23 +0,0 @@
|
||||
package com.sap.sailing.gwt.home.client.place.event.partials.regattaHeader;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.resources.client.ClientBundle;
|
||||
import com.google.gwt.resources.client.CssResource;
|
||||
|
||||
public interface RegattaHeaderResources extends ClientBundle {
|
||||
public static final RegattaHeaderResources INSTANCE = GWT.create(RegattaHeaderResources.class);
|
||||
|
||||
@Source("RegattaHeader.css")
|
||||
LocalCss css();
|
||||
|
||||
public interface LocalCss extends CssResource {
|
||||
String regattaheader();
|
||||
String regattaheaderlink();
|
||||
String regattaheader_logo();
|
||||
String regattaheader_content();
|
||||
String regattaheader_content_title();
|
||||
String regattaheader_content_details();
|
||||
String regattaheader_content_details_item();
|
||||
String regattaheader_arrow();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user