1<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
2<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
3   xmlns:g="urn:import:com.google.gwt.user.client.ui"
4   xmlns:rs="urn:import:org.rstudio.core.client.widget"
5   >
6   <ui:style>
7   .headerLabel
8   {
9      font-weight: bold;
10   }
11
12   .spaced
13   {
14      padding-bottom: 1em;
15   }
16   </ui:style>
17   <g:HTMLPanel>
18     <g:HTMLPanel ui:field="waitingPanel_">
19        <g:Label styleName="{style.headerLabel}" text="Waiting for Authentication">
20        </g:Label>
21         <g:HTML>
22            <p>
23               A window will open momentarily to confirm your account. If it doesn't,
24               click here to open it:
25            </p>
26         </g:HTML>
27         <g:Anchor ui:field="claimLink_" target="_blank"></g:Anchor>
28      </g:HTMLPanel>
29     <g:HTMLPanel ui:field="successPanel_" visible="false">
30        <g:Label styleName="{style.headerLabel}" text="Account Verified">
31        </g:Label>
32         <g:HTML>
33            <p>
34               You've successfully authorized this computer. Click "Connect
35               Account" to add this account to RStudio.
36            </p>
37         </g:HTML>
38      </g:HTMLPanel>
39     <g:HTMLPanel ui:field="errorPanel_" visible="false">
40        <g:Label styleName="{style.headerLabel} {style.spaced}"
41                 ui:field="errorHeader_"></g:Label>
42        <g:Label styleName="{style.spaced}"
43                 ui:field="errorMessage_"></g:Label>
44        <rs:ThemedButton ui:field="tryAgainButton_"
45                         text="Try Again"></rs:ThemedButton>
46      </g:HTMLPanel>
47   </g:HTMLPanel>
48</ui:UiBinder>
49