Merge "SideBySide2: Add preferences button in header"
This commit is contained in:
@@ -18,9 +18,12 @@ limitations under the License.
|
||||
xmlns:ui='urn:ui:com.google.gwt.uibinder'
|
||||
xmlns:g='urn:import:com.google.gwt.user.client.ui'
|
||||
xmlns:x='urn:import:com.google.gerrit.client.ui'>
|
||||
<ui:with field='res' type='com.google.gerrit.client.diff.Resources'/>
|
||||
<ui:style>
|
||||
.header {
|
||||
position: relative;
|
||||
height: 16px;
|
||||
line-height: 16px;
|
||||
max-width: 1484px;
|
||||
}
|
||||
.reviewed input {
|
||||
@@ -35,6 +38,7 @@ limitations under the License.
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 15px;
|
||||
height: 16px;
|
||||
font-family: Arial Unicode MS, sans-serif;
|
||||
}
|
||||
.nodiff {
|
||||
@@ -56,12 +60,18 @@ limitations under the License.
|
||||
</span>
|
||||
|
||||
<div class='{style.navigation}'>
|
||||
<x:InlineHyperlink ui:field='prev'>⇦</x:InlineHyperlink>
|
||||
<x:InlineHyperlink ui:field='up' title='Up to change (Shortcut: u)'>
|
||||
<x:InlineHyperlink ui:field='prev' styleName='{res.style.go_prev}'/>
|
||||
<x:InlineHyperlink ui:field='up'
|
||||
styleName='{res.style.go_up}'
|
||||
title='Up to change (Shortcut: u)'>
|
||||
<ui:attribute name='title'/>
|
||||
⇧
|
||||
</x:InlineHyperlink>
|
||||
<x:InlineHyperlink ui:field='next'>⇨</x:InlineHyperlink>
|
||||
<x:InlineHyperlink ui:field='next' styleName='{res.style.go_next}'/>
|
||||
<g:Image ui:field='preferences'
|
||||
resource='{res.gear}'
|
||||
title='Diff preferences (Shortcut: ,)'>
|
||||
<ui:attribute name='title'/>
|
||||
</g:Image>
|
||||
</div>
|
||||
</g:HTMLPanel>
|
||||
</ui:UiBinder>
|
||||
</ui:UiBinder>
|
||||
|
||||
Reference in New Issue
Block a user