Merge pull request #26 from Priyank57/master

right_col height set to screen height
pull/42/head
Aigars Silkalns 2016-02-26 16:50:16 +02:00
commit a9ecf4e24d
3 changed files with 48 additions and 35 deletions

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
<group/>
</open-files>
</project-private>

View File

@ -11,7 +11,6 @@ body.nav-sm .container.body .right_col {
margin-left: 70px;
z-index: 2;
}
.right_col{min-height: 1000px;}
body.nav-sm .navbar.nav_title {
width: 70px;
}

View File

@ -60,15 +60,21 @@ $(function () {
});
/** ****** /left menu *********************** **/
/** ****** right_col height flexible *********************** **/
$(".right_col").css("min-height", $(window).height());
$(window).resize(function () {
$(".right_col").css("min-height", $(window).height());
});
/** ****** /right_col height flexible *********************** **/
/** ****** tooltip *********************** **/
$(function () {
$('[data-toggle="tooltip"]').tooltip()
})
/** ****** /tooltip *********************** **/
/** ****** progressbar *********************** **/
$('[data-toggle="tooltip"]').tooltip()
})
/** ****** /tooltip *********************** **/
/** ****** progressbar *********************** **/
if ($(".progress .progress-bar")[0]) {
$('.progress .progress-bar').progressbar(); // bootstrap 3
}
@ -125,12 +131,13 @@ var __slice = [].slice;
Starrr.prototype.defaults = {
rating: void 0,
numStars: 5,
change: function (e, value) {}
change: function (e, value) {
}
};
function Starrr($el, options) {
var i, _, _ref,
_this = this;
_this = this;
this.options = $.extend({}, this.defaults, options);
this.$el = $el;
@ -266,30 +273,30 @@ $('.bulk_action input#check-all').on('ifUnchecked', function () {
});
function countChecked() {
if (check_state == 'check_all') {
$(".bulk_action input[name='table_records']").iCheck('check');
}
if (check_state == 'uncheck_all') {
$(".bulk_action input[name='table_records']").iCheck('uncheck');
}
var n = $(".bulk_action input[name='table_records']:checked").length;
if (n > 0) {
$('.column-title').hide();
$('.bulk-actions').show();
$('.action-cnt').html(n + ' Records Selected');
} else {
$('.column-title').show();
$('.bulk-actions').hide();
}
if (check_state == 'check_all') {
$(".bulk_action input[name='table_records']").iCheck('check');
}
/** ****** /table *********************** **/
/** ****** *********************** **/
/** ****** *********************** **/
/** ****** *********************** **/
/** ****** *********************** **/
/** ****** *********************** **/
/** ****** *********************** **/
/** ****** Accordion *********************** **/
if (check_state == 'uncheck_all') {
$(".bulk_action input[name='table_records']").iCheck('uncheck');
}
var n = $(".bulk_action input[name='table_records']:checked").length;
if (n > 0) {
$('.column-title').hide();
$('.bulk-actions').show();
$('.action-cnt').html(n + ' Records Selected');
} else {
$('.column-title').show();
$('.bulk-actions').hide();
}
}
/** ****** /table *********************** **/
/** ****** *********************** **/
/** ****** *********************** **/
/** ****** *********************** **/
/** ****** *********************** **/
/** ****** *********************** **/
/** ****** *********************** **/
/** ****** Accordion *********************** **/
$(function () {
$(".expand").on("click", function () {
@ -307,11 +314,11 @@ $(function () {
/** ****** Accordion *********************** **/
/** ****** scrollview *********************** **/
$(document).ready(function () {
$(".scroll-view").niceScroll({
touchbehavior: true,
cursorcolor: "rgba(42, 63, 84, 0.35)"
});
$(".scroll-view").niceScroll({
touchbehavior: true,
cursorcolor: "rgba(42, 63, 84, 0.35)"
});
});
/** ****** /scrollview *********************** **/