Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Fix test, layout of buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Eng committed Dec 3, 2013
1 parent 1d32416 commit 6315ae4
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 15 deletions.
Expand Up @@ -74,7 +74,7 @@ public void onClick(ClickEvent event) {
listener.showNotificationDetail(notificationEvent);
}
};
message.setText(DateUtil.formatLongDateTime(notificationEvent.getDate())
message.setText(DateUtil.formatShortDate(notificationEvent.getDate())
+ " " + notificationEvent.getMessage());
message.addClickHandler(showDetailsHandler);

Expand Down
Expand Up @@ -53,9 +53,9 @@
<g:InlineLabel ui:field="message"
styleName="{style.inline} {style.message} l--pad-right-half pointer" />
<g:HTMLPanel ui:field="link"
styleName="{style.inline} l--push-right-half" />
styleName="{style.inline}" />
<g:Anchor ui:field="details"
styleName="{style.inline} l--push-right-half" />
styleName="{style.inline} l--push-h-half" />
<g:Anchor ui:field="closeMessage"
styleName="{style.inline} i i--remove i--large l--float-right" />
</g:HTMLPanel>
Expand Down
Expand Up @@ -19,12 +19,19 @@
bottom: 0;
width: 100%;
}

.chat_input {
display: inline-block !important;
width: 78% !important;
}

</ui:style>

<g:SplitLayoutPanel ui:field="mainPanel" styleName="l--push-all-quarter">
<g:north size="200">
<g:ScrollPanel>
<f:UnorderedListWidget ui:field='userListPanel' styleName="list--no-bullets"/>
<f:UnorderedListWidget ui:field='userListPanel'
styleName="list--no-bullets" />
</g:ScrollPanel>
</g:north>
<g:center>
Expand All @@ -34,14 +41,8 @@
styleName="list--no-bullets" />
</li>
<li class="{style.bottomPanel}">
<ul class="list--horizontal">
<li style="width: 16em;">
<g:TextBox ui:field="chatInput" />
</li>
<li class="l--float-right">
<g:Button ui:field="sendButton" />
</li>
</ul>
<g:TextBox ui:field="chatInput" styleName="{style.chat_input}" />
<g:Button ui:field="sendButton" />
</li>
</g:HTMLPanel>
</g:center>
Expand Down
Expand Up @@ -71,13 +71,10 @@ public void onBind() {
presenter.onBind();

verify(transFilterPresenter).bind();
verify(transFilterDisplay).asWidget();

verify(transUnitsTablePresenter).bind();
verify(transUnitsTableDisplay).asWidget();

verify(transUnitNavigationPresenter).bind();
verify(transUnitNavigationDisplay).asWidget();

verify(eventBus).addHandler(PageChangeEvent.TYPE, presenter);
verify(eventBus).addHandler(PageChangeEvent.TYPE, presenter);
Expand Down

0 comments on commit 6315ae4

Please sign in to comment.