You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2015/06/03 18:29:45 UTC
svn commit: r1683386 - in /myfaces/tobago/branches/tobago-3.0.x:
tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/
tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/html/
tobago-theme/tobago-theme-richmond/src/main/res...
Author: lofwyr
Date: Wed Jun 3 16:29:44 2015
New Revision: 1683386
URL: http://svn.apache.org/r1683386
Log:
TOBAGO-1368: Create a new theme which uses Bootstrap
- Date/Time-Picker
Removed:
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-richmond/src/main/resources/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/date-time.png
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-richmond/src/main/resources/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/date.png
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-richmond/src/main/resources/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/time.png
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-richmond/src/main/resources/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/timeDecrement.png
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-richmond/src/main/resources/org/apache/myfaces/tobago/renderkit/html/richmond/standard/image/timeIncrement.png
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/image/date-time.png
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/image/date.png
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/image/dateDisabled.png
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/image/time.png
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/image/timeDecrement.png
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/image/timeIncrement.png
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-speyside/src/main/resources/org/apache/myfaces/tobago/renderkit/html/speyside/standard/image/date-time.png
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-speyside/src/main/resources/org/apache/myfaces/tobago/renderkit/html/speyside/standard/image/date.png
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-speyside/src/main/resources/org/apache/myfaces/tobago/renderkit/html/speyside/standard/image/dateDisabled.png
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-speyside/src/main/resources/org/apache/myfaces/tobago/renderkit/html/speyside/standard/image/time.png
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-speyside/src/main/resources/org/apache/myfaces/tobago/renderkit/html/speyside/standard/image/timeDecrement.png
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-speyside/src/main/resources/org/apache/myfaces/tobago/renderkit/html/speyside/standard/image/timeDecrementHover.png
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-speyside/src/main/resources/org/apache/myfaces/tobago/renderkit/html/speyside/standard/image/timeIncrement.png
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-speyside/src/main/resources/org/apache/myfaces/tobago/renderkit/html/speyside/standard/image/timeIncrementHover.png
Modified:
myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIDate.java
myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/html/DataAttributes.java
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/BootstrapClass.java
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/DateRenderer.java
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/InRenderer.java
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SheetRenderer.java
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-calendar.js
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/style/tobago.css
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIDate.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIDate.java?rev=1683386&r1=1683385&r2=1683386&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIDate.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIDate.java Wed Jun 3 16:29:44 2015
@@ -19,5 +19,29 @@
package org.apache.myfaces.tobago.internal.component;
+import org.apache.myfaces.tobago.internal.util.DateFormatUtils;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import javax.faces.convert.Converter;
+import javax.faces.convert.DateTimeConverter;
+
public abstract class AbstractUIDate extends AbstractUIInput {
+
+ private static final Logger LOG = LoggerFactory.getLogger(AbstractUIDate.class);
+
+ public String getPattern() {
+ String pattern = null;
+ final Converter help = getConverter();
+ if (help instanceof DateTimeConverter) {
+ final DateTimeConverter converter = (DateTimeConverter) help;
+ pattern = DateFormatUtils.findPattern(converter);
+ }
+ if (pattern == null) {
+ pattern = "yyyy-MM-dd";
+ LOG.warn("Can't find the pattern for the converter! DatePicker may not work correctly. "
+ + "Trying to use: '" + pattern + "'");
+ }
+ return pattern;
+ }
}
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/html/DataAttributes.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/html/DataAttributes.java?rev=1683386&r1=1683385&r2=1683386&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/html/DataAttributes.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/html/DataAttributes.java Wed Jun 3 16:29:44 2015
@@ -74,8 +74,6 @@ public final class DataAttributes {
public static final String DATE_TIME_I18N = "data-tobago-date-time-i18n";
- public static final String DATE_TIME_ICON = "data-tobago-date-time-icon";
-
/**
* Holds the day of a calendar control.
*/
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/BootstrapClass.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/BootstrapClass.java?rev=1683386&r1=1683385&r2=1683386&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/BootstrapClass.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/BootstrapClass.java Wed Jun 3 16:29:44 2015
@@ -34,6 +34,8 @@ public enum BootstrapClass implements Cs
ALERT_DANGER("alert-danger"),
ALERT_WARNING("alert-warning"),
ALERT_INFO("alert-info"),
+ BTN("btn"),
+ BTN_DEFAULT("btn-default"),
CHECKBOX("checkbox"),
COLLAPSE("collapse"),
COLLAPSED("collapsed"),
@@ -49,7 +51,13 @@ public enum BootstrapClass implements Cs
FORM_GROUP("form-group"),
FORM_HORIZONTAL("form-horizontal"),
GLYPHICON("glyphicon"),
+ GLYPHICON_CALENDAR("glyphicon-calendar"),
+ GLYPHICON_CHEVRON_DOWN("glyphicon-chevron-down"),
+ GLYPHICON_CHEVRON_UP("glyphicon-chevron-up"),
+ GLYPHICON_TIME("glyphicon-time"),
ICON_BAR("icon-bar"),
+ INPUT_GROUP("input-group"),
+ INPUT_GROUP_BTN("input-group-btn"),
MODAL("modal"),
MODAL_DIALOG("modal-dialog"),
MODAL_CONTENT("modal-content"),
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/DateRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/DateRenderer.java?rev=1683386&r1=1683385&r2=1683386&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/DateRenderer.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/DateRenderer.java Wed Jun 3 16:29:44 2015
@@ -20,21 +20,22 @@
package org.apache.myfaces.tobago.renderkit.html.standard.standard.tag;
import org.apache.myfaces.tobago.component.SupportsCss;
-import org.apache.myfaces.tobago.context.ResourceManagerUtils;
+import org.apache.myfaces.tobago.internal.component.AbstractUIDate;
import org.apache.myfaces.tobago.internal.component.AbstractUIInput;
import org.apache.myfaces.tobago.internal.context.DateTimeI18n;
-import org.apache.myfaces.tobago.internal.util.DateFormatUtils;
import org.apache.myfaces.tobago.renderkit.html.BootstrapClass;
import org.apache.myfaces.tobago.renderkit.html.DataAttributes;
+import org.apache.myfaces.tobago.renderkit.html.HtmlAttributes;
+import org.apache.myfaces.tobago.renderkit.html.HtmlButtonTypes;
+import org.apache.myfaces.tobago.renderkit.html.HtmlElements;
import org.apache.myfaces.tobago.renderkit.html.JsonUtils;
+import org.apache.myfaces.tobago.renderkit.html.util.HtmlRendererUtils;
import org.apache.myfaces.tobago.webapp.TobagoResponseWriter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
-import javax.faces.convert.Converter;
-import javax.faces.convert.DateTimeConverter;
import java.io.IOException;
public class DateRenderer extends InRenderer {
@@ -54,38 +55,55 @@ public class DateRenderer extends InRend
protected void writeAdditionalAttributes(
final FacesContext facesContext, final TobagoResponseWriter writer, final AbstractUIInput input)
throws IOException {
- super.writeAdditionalAttributes(facesContext, writer, input);
- String pattern = null;
- final Converter help = getConverter(facesContext, input);
- if (help instanceof DateTimeConverter) {
- final DateTimeConverter converter = (DateTimeConverter) help;
- pattern = DateFormatUtils.findPattern(converter);
- }
- if (pattern == null) {
- pattern = "yyyy-MM-dd";
- LOG.warn("Can't find the pattern for the converter! DatePicker may not work correctly. "
- + "Trying to use: '" + pattern + "'");
- }
-
- writer.writeAttribute(DataAttributes.PATTERN, pattern, true);
+ final AbstractUIDate date = (AbstractUIDate) input;
+ super.writeAdditionalAttributes(facesContext, writer, date);
+ writer.writeAttribute(DataAttributes.PATTERN, date.getPattern(), true);
final DateTimeI18n dateTimeI18n = DateTimeI18n.valueOf(facesContext.getViewRoot().getLocale());
writer.writeAttribute(DataAttributes.DATE_TIME_I18N, JsonUtils.encode(dateTimeI18n), true);
+ }
- final String imageName;
+ @Override
+ public void encodeBegin(FacesContext facesContext, UIComponent component) throws IOException {
+
+ final AbstractUIDate date = (AbstractUIDate) component;
+ final TobagoResponseWriter writer = HtmlRendererUtils.getTobagoResponseWriter(facesContext);
+ final String pattern = date.getPattern();
+
+ writer.startElement(HtmlElements.DIV, null);
+ writer.writeClassAttribute(BootstrapClass.INPUT_GROUP);
+
+ super.encodeBegin(facesContext, component);
+
+ writer.startElement(HtmlElements.SPAN, null);
+ writer.writeClassAttribute(BootstrapClass.INPUT_GROUP_BTN);
+ writer.startElement(HtmlElements.BUTTON, null);
+ writer.writeClassAttribute(BootstrapClass.BTN, BootstrapClass.BTN_DEFAULT);
+ writer.writeAttribute(HtmlAttributes.TYPE, HtmlButtonTypes.BUTTON, false);
+ writer.writeAttribute(HtmlAttributes.DISABLED, date.isDisabled() || date.isReadonly());
if (pattern.contains("m")) { // simple guessing
if (pattern.contains("d")) {
- imageName = "image/date-time";
+ writer.startElement(HtmlElements.SPAN, null);
+ writer.writeClassAttribute(BootstrapClass.GLYPHICON, BootstrapClass.GLYPHICON_CALENDAR);
+ writer.endElement(HtmlElements.SPAN);
+ writer.startElement(HtmlElements.SPAN, null);
+ writer.writeClassAttribute(BootstrapClass.GLYPHICON, BootstrapClass.GLYPHICON_TIME);
+ writer.endElement(HtmlElements.SPAN);
} else {
- imageName = "image/time";
+ writer.startElement(HtmlElements.SPAN, null);
+ writer.writeClassAttribute(BootstrapClass.GLYPHICON, BootstrapClass.GLYPHICON_TIME);
+ writer.endElement(HtmlElements.SPAN);
}
} else {
- imageName = "image/date";
- }
- final String icon = ResourceManagerUtils.getImage(facesContext, imageName);
- if (icon != null) {
- writer.writeAttribute(DataAttributes.DATE_TIME_ICON, icon, true);
+ writer.startElement(HtmlElements.SPAN, null);
+ writer.writeClassAttribute(BootstrapClass.GLYPHICON, BootstrapClass.GLYPHICON_CALENDAR);
+ writer.endElement(HtmlElements.SPAN);
}
+ writer.endElement(HtmlElements.BUTTON);
+ writer.endElement(HtmlElements.SPAN);
+
+ writer.endElement(HtmlElements.DIV);
+
}
}
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/InRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/InRenderer.java?rev=1683386&r1=1683385&r2=1683386&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/InRenderer.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/InRenderer.java Wed Jun 3 16:29:44 2015
@@ -67,7 +67,7 @@ public class InRenderer extends InputRen
}
@Override
- public void encodeEnd(final FacesContext facesContext, final UIComponent component) throws IOException {
+ public void encodeBegin(final FacesContext facesContext, final UIComponent component) throws IOException {
final AbstractUIInput input = (AbstractUIInput) component;
final String title = HtmlRendererUtils.getTitleFromTipAndMessages(facesContext, input);
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SheetRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SheetRenderer.java?rev=1683386&r1=1683385&r2=1683386&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SheetRenderer.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SheetRenderer.java Wed Jun 3 16:29:44 2015
@@ -807,7 +807,7 @@ public class SheetRenderer extends Layou
headerStyle.setHeight(headerHeight);
writer.writeStyleAttribute(headerStyle);
final AbstractUIColumn column = renderedColumnList.get(j);
- String sorterImage = null;
+ BootstrapClass sorterGlyphicon = null;
Markup markup = Markup.NULL;
String tip = (String) column.getAttributes().get(Attributes.TIP);
// sorter icons should only displayed when there is only 1 column and not input
@@ -845,11 +845,11 @@ public class SheetRenderer extends Layou
if (column.getId().equals(sheetState.getSortedColumnId())) {
final String sortTitle;
if (sheetState.isAscending()) {
- sorterImage = "glyphicon-chevron-up";
+ sorterGlyphicon = BootstrapClass.GLYPHICON_CHEVRON_UP;
sortTitle = ResourceManagerUtils.getPropertyNotNull(facesContext, "tobago", "sheetAscending");
markup = markup.add(Markup.ASCENDING);
} else {
- sorterImage = "glyphicon-chevron-down";
+ sorterGlyphicon = BootstrapClass.GLYPHICON_CHEVRON_DOWN;
sortTitle = ResourceManagerUtils.getPropertyNotNull(facesContext, "tobago", "sheetDescending");
markup = markup.add(Markup.DESCENDING);
}
@@ -894,9 +894,9 @@ public class SheetRenderer extends Layou
}
- if (sorterImage != null) {
+ if (sorterGlyphicon != null) {
writer.startElement(HtmlElements.SPAN, null);
- writer.writeClassAttribute(BootstrapClass.GLYPHICON, BootstrapClass.glyphicon(sorterImage));
+ writer.writeClassAttribute(BootstrapClass.GLYPHICON, sorterGlyphicon);
writer.endElement(HtmlElements.SPAN);
}
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-calendar.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-calendar.js?rev=1683386&r1=1683385&r2=1683386&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-calendar.js (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-calendar.js Wed Jun 3 16:29:44 2015
@@ -302,7 +302,7 @@ Tobago.DateTime.init = function (element
var analyzed = Tobago.DateTime.analyzePattern(date.data("tobago-pattern"));
var options = {
- showOn: "button",
+ showOn: "button", // fixme: use "button" end put a trigger inside it
buttonImageOnly: true,
// tbd changeMonth: true,
// tbd changeYear: true,
@@ -310,10 +310,6 @@ Tobago.DateTime.init = function (element
showOtherMonths: true,
selectOtherMonths: true
};
- var icon = date.data("tobago-date-time-icon");
- if (icon) {
- options.buttonImage = icon;
- }
if (analyzed.dateFormat) {
options.dateFormat = analyzed.dateFormat;
}
@@ -364,6 +360,11 @@ Tobago.DateTime.init = function (element
default:
console.error("invalid: not date-pattern nor time-pattern"); // @DEV_ONLY
}
+
+ // XXX workaround for Bootstrap with "old" jQuery UI input control
+ date.siblings("span.input-group-btn").children("button.btn").click(function() {
+ jQuery(this).parent().siblings(".ui-datepicker-trigger").click();
+ });
});
};
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/style/tobago.css
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/style/tobago.css?rev=1683386&r1=1683385&r2=1683386&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/style/tobago.css (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/style/tobago.css Wed Jun 3 16:29:44 2015
@@ -258,3 +258,7 @@ h1 > *:first-child, h2 > *:first-child,
margin-left: 0;
}
+/* XXX hack */
+.ui-datepicker-trigger {
+ display: none;
+}