Subversion Repositories SmartDukaan

Rev

Rev 2209 | Details | Compare with Previous | 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
 
4397 rajveer 21
  .alertsDiv {
22
    text-align: left;
23
    margin-left: 400px;
24
    background-color: red;
25
    font-size: 20px;
26
    width: 100px;
27
  }
28
 
306 ashish 29
  .linksDiv {
30
    text-align: right;
31
  }
32
 
33
 
34
 
35
  @if user.agent ie6 {
36
    @url logoIe6 logoIe6Data;
37
    .logo {
38
      background-image: logoIe6;
39
      width: 140px;
40
      height: 75px;
41
      position: absolute;
42
    }
43
  } @else {
44
    @sprite .logo {
45
      gwt-image: 'logo';
46
      position: absolute;
47
    }
48
  }
49
  </ui:style>
50
 
51
  <g:HTMLPanel>
52
    <div class='{style.logo}'/>
53
 
4397 rajveer 54
	<div class='{style.alertsDiv}'>
55
	    <g:Anchor href='javascript:;' ui:field='alertsCountLink'>Alerts</g:Anchor>
56
	</div>
57
 
306 ashish 58
    <div class="{style.statusDiv}">
59
      <div>
60
      	<b><g:HTML ui:field='greetingLabel'>Aloha!</g:HTML></b>
61
      </div>
62
 
63
      <div class='{style.linksDiv}'>
64
        <g:Anchor href='javascript:;' ui:field='signOutLink'>Sign Out</g:Anchor>
65
        &nbsp;
66
        <g:Anchor href='javascript:;' ui:field='aboutLink'>About</g:Anchor>
67
      </div>
68
    </div>
69
  </g:HTMLPanel>
70
</ui:UiBinder>