Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
306 ashish 1
<!DOCTYPE ui:UiBinder 
2
  SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent"
3
>
4
<ui:UiBinder
5
  xmlns:ui='urn:ui:com.google.gwt.uibinder'
6
  xmlns:g='urn:import:com.google.gwt.user.client.ui'
7
  xmlns:mail='urn:import:in.shop2020.hotspot.dashbaord.client.inbox'>
8
 
9
  <ui:image field='logo' src='shop2020.jpg'/>
10
 
11
  <!-- IE6 cannot handle transparent png, which is what ImageResource creates -->
12
  <ui:data field='logoIe6Data' src='shop2020.jpg' />
13
 
14
  <ui:style>
15
 
16
  .statusDiv {
17
    text-align: right;
18
    margin: 1em;
19
  }
20
 
21
  .linksDiv {
22
    text-align: right;
23
  }
24
 
25
 
26
 
27
  @if user.agent ie6 {
28
    @url logoIe6 logoIe6Data;
29
    .logo {
30
      background-image: logoIe6;
31
      width: 140px;
32
      height: 75px;
33
      position: absolute;
34
    }
35
  } @else {
36
    @sprite .logo {
37
      gwt-image: 'logo';
38
      position: absolute;
39
    }
40
  }
41
  </ui:style>
42
 
43
  <g:HTMLPanel>
44
    <div class='{style.logo}'/>
45
 
46
    <div class="{style.statusDiv}">
47
      <div>
48
      	<b><g:HTML ui:field='greetingLabel'>Aloha!</g:HTML></b>
49
      </div>
50
 
51
      <div class='{style.linksDiv}'>
52
        <g:Anchor href='javascript:;' ui:field='signOutLink'>Sign Out</g:Anchor>
53
        &nbsp;
54
        <g:Anchor href='javascript:;' ui:field='aboutLink'>About</g:Anchor>
55
      </div>
56
    </div>
57
  </g:HTMLPanel>
58
</ui:UiBinder>