[#427] Fixed columns, buttons and general styles.
This commit is contained in:
@@ -103,7 +103,7 @@ my.MultiView = Backbone.View.extend({
|
||||
<div class="navigation"> \
|
||||
<div class="btn-group" data-toggle="buttons-radio"> \
|
||||
{{#views}} \
|
||||
<a href="#{{id}}" data-view="{{id}}" class="btn">{{label}}</a> \
|
||||
<button href="#{{id}}" data-view="{{id}}" class="btn btn-default">{{label}}</button> \
|
||||
{{/views}} \
|
||||
</div> \
|
||||
</div> \
|
||||
@@ -113,7 +113,7 @@ my.MultiView = Backbone.View.extend({
|
||||
<div class="menu-right"> \
|
||||
<div class="btn-group" data-toggle="buttons-checkbox"> \
|
||||
{{#sidebarViews}} \
|
||||
<a href="#" data-action="{{id}}" class="btn">{{label}}</a> \
|
||||
<button href="#" data-action="{{id}}" class="btn btn-default">{{label}}</button> \
|
||||
{{/sidebarViews}} \
|
||||
</div> \
|
||||
</div> \
|
||||
@@ -124,8 +124,8 @@ my.MultiView = Backbone.View.extend({
|
||||
</div> \
|
||||
',
|
||||
events: {
|
||||
'click .menu-right a': '_onMenuClick',
|
||||
'click .navigation a': '_onSwitchView'
|
||||
'click .menu-right button': '_onMenuClick',
|
||||
'click .navigation button': '_onSwitchView'
|
||||
},
|
||||
|
||||
initialize: function(options) {
|
||||
|
||||
@@ -47,7 +47,7 @@ my.SlickGrid = Backbone.View.extend({
|
||||
|
||||
// Template for row delete menu , change it if you don't love
|
||||
this.templates = {
|
||||
"deleterow" : '<a href="#" class="recline-row-delete btn" title="Delete row">X</a>'
|
||||
"deleterow" : '<button href="#" class="recline-row-delete btn btn-default" title="Delete row">X</button>'
|
||||
};
|
||||
|
||||
_.bindAll(this, 'render', 'onRecordChanged');
|
||||
@@ -437,7 +437,7 @@ my.SlickGrid = Backbone.View.extend({
|
||||
my.GridControl= Backbone.View.extend({
|
||||
className: "recline-row-add",
|
||||
// Template for row edit menu , change it if you don't love
|
||||
template: '<h1><a href="#" class="recline-row-add btn">Add row</a></h1>',
|
||||
template: '<h1><button href="#" class="recline-row-add btn btn-default">Add row</button></h1>',
|
||||
|
||||
initialize: function(options){
|
||||
var self = this;
|
||||
|
||||
@@ -10,7 +10,7 @@ my.Pager = Backbone.View.extend({
|
||||
className: 'recline-pager',
|
||||
template: ' \
|
||||
<div class="pagination"> \
|
||||
<ul> \
|
||||
<ul class="pagination"> \
|
||||
<li class="prev action-pagination-update"><a href="">«</a></li> \
|
||||
<li class="active"><label for="from">From</label><a><input name="from" type="text" value="{{from}}" /> – <label for="to">To</label><input name="to" type="text" value="{{to}}" /> </a></li> \
|
||||
<li class="next action-pagination-update"><a href="">»</a></li> \
|
||||
|
||||
@@ -14,7 +14,7 @@ my.QueryEditor = Backbone.View.extend({
|
||||
<span class="add-on"><i class="icon-search"></i></span> \
|
||||
<label>Search</label><input type="text" name="q" value="{{q}}" class="span2" placeholder="Search data ..." class="search-query" /> \
|
||||
</div> \
|
||||
<button type="submit" class="btn">Go »</button> \
|
||||
<button type="submit" class="btn btn-default">Go »</button> \
|
||||
</form> \
|
||||
',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user