| <!-- 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. --> |
| |
| <ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' |
| xmlns:g='urn:import:com.google.gwt.user.client.ui'> |
| <ui:image field="originLogo" src="res/hupa-logo-original-transparent.png" /> |
| <ui:style> |
| .messageContent { |
| display: block; |
| background-color: white; |
| height: 100%; |
| padding: 10px; |
| overflow: auto; |
| } |
| |
| .attachBox { |
| float: right; |
| width: 230px; |
| margin: 8px; |
| min-height: 200px; |
| background: #f0f0f0; |
| padding: 8px; |
| } |
| .composebodycontainer { |
| position: absolute; |
| top: 0; |
| left: 0; |
| right: 260px; |
| bottom: 0; |
| } |
| |
| @external .emptyMsg; |
| @sprite .emptyMsg { |
| gwt-image: 'originLogo'; |
| background-position: center center; |
| background-size: 20%; |
| width: auto; |
| } |
| |
| </ui:style> |
| <g:DockLayoutPanel unit="PX" ui:field="thisPanel"> |
| <g:center> |
| <g:SimpleLayoutPanel ui:field="centerPanel"> |
| <g:FlowPanel ui:field="tmpWrapper"> |
| <g:HTML ui:field="messageContent" addStyleNames="{style.messageContent}" /> |
| <g:DockLayoutPanel ui:field="messageUpdateContent"> |
| <g:north size="23"> |
| <g:SimplePanel ui:field="updateToolBar" /> |
| </g:north> |
| <g:center> |
| <g:SimplePanel ui:field="updateEditor" addStyleNames="{style.composebodycontainer}" /> |
| </g:center> |
| </g:DockLayoutPanel> |
| </g:FlowPanel> |
| </g:SimpleLayoutPanel> |
| </g:center> |
| <g:east size="215"> |
| <g:FlowPanel ui:field="attachments" addStyleNames="{style.attachBox}"> |
| </g:FlowPanel> |
| </g:east> |
| </g:DockLayoutPanel> |
| </ui:UiBinder> |