mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-25 05:23:51 +00:00
Fix for template error
This commit is contained in:
1 parent
4ba9ed37ac
commit
6f09beb0d8
1 file changed
+3
-2
+3
-2
@@ -34,10 +34,11 @@ public class MinMaxRenderer {
|
||||
|
||||
public static class Templates {
|
||||
interface MyTemplate extends SafeHtmlTemplates {
|
||||
@Template("<div title=\"{2}\" class=\"{1}\" style='background-size:{3}'>{0}</div>")
|
||||
@Template("<div title=\"{2}\" class=\"{1}\" style='{3}'>{0}</div>")
|
||||
SafeHtml render(String value, String cssClass, String title, SafeStyles style);
|
||||
}
|
||||
protected static final MyTemplate T = GWT.create(Templates.class);
|
||||
|
||||
protected static final MyTemplate T = GWT.create(MyTemplate.class);
|
||||
|
||||
SafeHtml render(String value, String cssClass, String title, int percentage) {
|
||||
SafeStylesBuilder sb = new SafeStylesBuilder();
|
||||
|
||||
Reference in new issue
Block a user