| <?xml version='1.0'?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| |
| --> |
| |
| <!-- Template for SearchWidget. Author: hearnden@google.com (David Hearnden) --> |
| <!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"> |
| <ui:with |
| field="css" type="org.waveprotocol.box.webclient.search.SearchWidget.Css" /> |
| <ui:with |
| field="msg" type="org.waveprotocol.box.webclient.search.i18n.SearchWidgetMessages" /> |
| <g:HTMLPanel styleName='{css.self}'> |
| <div class='{css.search}'> |
| <div class='{css.searchButtonsPanel}'> |
| <g:Button ui:field='searchButtonShared' title='Show shared waves' |
| styleName='{css.searchButton}'><ui:text from="{msg.shared}"/></g:Button> |
| <g:Button ui:field='searchButtonAll' title='Show all waves' |
| styleName='{css.searchButton}'><ui:text from="{msg.all}"/></g:Button> |
| <g:Button ui:field='searchButtonInbox' title='Show waves in my inbox' |
| styleName='{css.searchButton}'><ui:text from="{msg.inbox}"/></g:Button> |
| </div> |
| <div class='{css.searchboxContainer}'> |
| <g:TextBox ui:field='query' styleName='{css.query}'/> |
| </div> |
| </div> |
| </g:HTMLPanel> |
| </ui:UiBinder> |