| <!-- --> | |
| <!-- Copyright 2009 Google Inc. --> | |
| <!-- Licensed under the Apache License, Version 2.0 (the "License"); you --> | |
| <!-- may not use this file except in compliance with the License. You may --> | |
| <!-- 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. 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='unsupportedIcon' src='unsupported.gif' /> | |
| <ui:style> | |
| .downloadBox { | |
| margin-top: 8px; | |
| padding: 6px; | |
| font-size: 100%; | |
| font-weight: bold; | |
| background-color: rgb(120, 158, 250); | |
| border: 2px solid #5e7aab; | |
| \-moz-border-radius: 5px; | |
| \-moz-box-shadow: rgba(0, 0, 0, 0.199219) 3px 3px 3px; | |
| \-webkit-border-radius: 5px; | |
| \-webkit-box-shadow: rgba(0, 0, 0, 0.199219) 3px 3px 3px; | |
| } | |
| @sprite .downloadIcon { | |
| gwt-image: 'unsupportedIcon'; | |
| display: block; | |
| } | |
| .downloadLink { | |
| white-space: nowrap; | |
| display: block; | |
| color: white; | |
| margin-left: 8px; | |
| margin-right: 8px; | |
| text-align: left; | |
| font-size: 11px; | |
| } | |
| </ui:style> | |
| <g:HTMLPanel> | |
| <table class="{style.downloadBox}" width="100%"> | |
| <tr> | |
| <td> | |
| <a ui:field="downloadLink" style="text-decoration: none" class="{style.downloadLink}"/> | |
| </td> | |
| <td width="1%"> | |
| <a ui:field="downloadLinkIcon" class="{style.downloadIcon}" /> | |
| </td> | |
| </tr> | |
| </table> | |
| </g:HTMLPanel> | |
| </ui:UiBinder> |