[view/grid,css][xs]: add zebra striped for grid and fix width of search box.
This commit is contained in:
@@ -40,6 +40,7 @@
|
|||||||
float: left;
|
float: left;
|
||||||
margin-top: 1px;
|
margin-top: 1px;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
|
width: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header .recline-query-editor .pagination input {
|
.header .recline-query-editor .pagination input {
|
||||||
|
|||||||
@@ -812,7 +812,7 @@ my.DataGrid = Backbone.View.extend({
|
|||||||
template: ' \
|
template: ' \
|
||||||
<div class="data-table-menu-overlay" style="display: none; z-index: 101; "> </div> \
|
<div class="data-table-menu-overlay" style="display: none; z-index: 101; "> </div> \
|
||||||
<ul class="data-table-menu"></ul> \
|
<ul class="data-table-menu"></ul> \
|
||||||
<table class="data-table" cellspacing="0"> \
|
<table class="data-table table-striped" cellspacing="0"> \
|
||||||
<thead> \
|
<thead> \
|
||||||
<tr> \
|
<tr> \
|
||||||
{{#notEmpty}} \
|
{{#notEmpty}} \
|
||||||
@@ -1173,9 +1173,9 @@ my.QueryEditor = Backbone.View.extend({
|
|||||||
<input type="text" name="q" value="{{q}}" class="text-query" /> \
|
<input type="text" name="q" value="{{q}}" class="text-query" /> \
|
||||||
<div class="pagination"> \
|
<div class="pagination"> \
|
||||||
<ul> \
|
<ul> \
|
||||||
<li class="prev action-pagination-update"><a>« back</a></li> \
|
<li class="prev action-pagination-update"><a>«</a></li> \
|
||||||
<li class="active"><a><input name="from" type="text" value="{{from}}" /> – <input name="to" type="text" value="{{to}}" /> </a></li> \
|
<li class="active"><a><input name="from" type="text" value="{{from}}" /> – <input name="to" type="text" value="{{to}}" /> </a></li> \
|
||||||
<li class="next action-pagination-update"><a>next »</a></li> \
|
<li class="next action-pagination-update"><a>»</a></li> \
|
||||||
</ul> \
|
</ul> \
|
||||||
</div> \
|
</div> \
|
||||||
<button type="submit" class="btn" style="">Update »</button> \
|
<button type="submit" class="btn" style="">Update »</button> \
|
||||||
@@ -1294,7 +1294,7 @@ my.notify = function(message, options) {
|
|||||||
<div class="alert alert-{{category}} fade in" data-alert="alert"><a class="close" data-dismiss="alert" href="#">×</a> \
|
<div class="alert alert-{{category}} fade in" data-alert="alert"><a class="close" data-dismiss="alert" href="#">×</a> \
|
||||||
{{msg}} \
|
{{msg}} \
|
||||||
{{#loader}} \
|
{{#loader}} \
|
||||||
<img src="images/small-spinner.gif" class="notification-loader"> \
|
<span class="notification-loader"> </span> \
|
||||||
{{/loader}} \
|
{{/loader}} \
|
||||||
</div>';
|
</div>';
|
||||||
var _templated = $.mustache(_template, tmplData);
|
var _templated = $.mustache(_template, tmplData);
|
||||||
|
|||||||
@@ -160,7 +160,7 @@ my.DataGrid = Backbone.View.extend({
|
|||||||
template: ' \
|
template: ' \
|
||||||
<div class="data-table-menu-overlay" style="display: none; z-index: 101; "> </div> \
|
<div class="data-table-menu-overlay" style="display: none; z-index: 101; "> </div> \
|
||||||
<ul class="data-table-menu"></ul> \
|
<ul class="data-table-menu"></ul> \
|
||||||
<table class="data-table" cellspacing="0"> \
|
<table class="data-table table-striped" cellspacing="0"> \
|
||||||
<thead> \
|
<thead> \
|
||||||
<tr> \
|
<tr> \
|
||||||
{{#notEmpty}} \
|
{{#notEmpty}} \
|
||||||
|
|||||||
Reference in New Issue
Block a user