UI, multi-history: swap 'done' and 'create' buttons for better rtl intuition

This commit is contained in:
Carl Eberhard
2015-03-04 09:23:19 -05:00
parent d390ef2955
commit d0b9664160
3 changed files with 5 additions and 5 deletions
@@ -1043,7 +1043,7 @@ var MultiPanelColumns = Backbone.View.extend( baseMVC.LoggableMixin ).extend({
mainTemplate : _.template([
'<div class="header flex-column-container">',
'<div class="control-column control-column-left flex-column">',
'<button class="create-new btn btn-default" tabindex="4">', _l( 'Create new' ), '</button> ',
'<button class="done btn btn-default" tabindex="1">', _l( 'Done' ), '</button>',
'<div id="search-histories" class="search-control"></div>',
'<div id="search-datasets" class="search-control"></div>',
'<a class="open-more-options btn btn-default" tabindex="3">',
@@ -1055,7 +1055,7 @@ var MultiPanelColumns = Backbone.View.extend( baseMVC.LoggableMixin ).extend({
'<div class="header-info">', '</div>',
'</div>',
'<div class="control-column control-column-right flex-column">',
'<button class="done btn btn-default" tabindex="1">', _l( 'Done' ), '</button>',
'<button class="create-new btn btn-default" tabindex="4">', _l( 'Create new' ), '</button> ',
'</div>',
'</div>',
// middle - where the columns go
+2 -2
View File
@@ -1043,7 +1043,7 @@ var MultiPanelColumns = Backbone.View.extend( baseMVC.LoggableMixin ).extend({
mainTemplate : _.template([
'<div class="header flex-column-container">',
'<div class="control-column control-column-left flex-column">',
'<button class="create-new btn btn-default" tabindex="4">', _l( 'Create new' ), '</button> ',
'<button class="done btn btn-default" tabindex="1">', _l( 'Done' ), '</button>',
'<div id="search-histories" class="search-control"></div>',
'<div id="search-datasets" class="search-control"></div>',
'<a class="open-more-options btn btn-default" tabindex="3">',
@@ -1055,7 +1055,7 @@ var MultiPanelColumns = Backbone.View.extend( baseMVC.LoggableMixin ).extend({
'<div class="header-info">', '</div>',
'</div>',
'<div class="control-column control-column-right flex-column">',
'<button class="done btn btn-default" tabindex="1">', _l( 'Done' ), '</button>',
'<button class="create-new btn btn-default" tabindex="4">', _l( 'Create new' ), '</button> ',
'</div>',
'</div>',
// middle - where the columns go
File diff suppressed because one or more lines are too long