remove sizing of history content div in JS. CSS to fix width and containing box problems.
This commit is contained in:
parent
5c0ba2e79b
commit
f7531d5da2
|
@ -90,20 +90,6 @@
|
||||||
background-position: 4px 5px;
|
background-position: 4px 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Bootstrap calendar
|
|
||||||
|
|
||||||
.bootstrap-datetimepicker-widget ul {
|
|
||||||
padding-left: 0px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.bootstrap-datetimepicker-widget td, .bootstrap-datetimepicker-widget th {
|
|
||||||
-webkit-border-radius: 2px !important;
|
|
||||||
-moz-border-radius: 2px !important;
|
|
||||||
border-radius: 2px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* Edit History Record */
|
/* Edit History Record */
|
||||||
|
|
||||||
.ui-dialog form.ui-widget-content dd {
|
.ui-dialog form.ui-widget-content dd {
|
||||||
|
|
|
@ -1,5 +1,12 @@
|
||||||
@CHARSET "UTF-8";
|
@CHARSET "UTF-8";
|
||||||
|
|
||||||
|
#history_content {
|
||||||
|
width: 100%;
|
||||||
|
margin: 0px;
|
||||||
|
height: auto;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
.dataTables_filter input {
|
.dataTables_filter input {
|
||||||
width: 30%;
|
width: 30%;
|
||||||
}
|
}
|
||||||
|
@ -26,4 +33,4 @@ div.his-timerange div {
|
||||||
|
|
||||||
table.dataTable tbody tr {
|
table.dataTable tbody tr {
|
||||||
cursor: auto;
|
cursor: auto;
|
||||||
}
|
}
|
||||||
|
|
|
@ -254,10 +254,7 @@ var AIRTIME = (function(AIRTIME) {
|
||||||
|
|
||||||
mod.onReady = function() {
|
mod.onReady = function() {
|
||||||
|
|
||||||
var viewport = AIRTIME.utilities.findViewportDimensions(),
|
var oBaseDatePickerSettings,
|
||||||
widgetHeight = viewport.height - 185,
|
|
||||||
screenWidth = Math.floor(viewport.width - 110),
|
|
||||||
oBaseDatePickerSettings,
|
|
||||||
oBaseTimePickerSettings,
|
oBaseTimePickerSettings,
|
||||||
oTableAgg,
|
oTableAgg,
|
||||||
oTableItem,
|
oTableItem,
|
||||||
|
@ -308,10 +305,6 @@ var AIRTIME = (function(AIRTIME) {
|
||||||
$(this).removeClass("ui-state-hover");
|
$(this).removeClass("ui-state-hover");
|
||||||
});
|
});
|
||||||
|
|
||||||
$historyContentDiv
|
|
||||||
.height(widgetHeight)
|
|
||||||
.width(screenWidth);
|
|
||||||
|
|
||||||
oBaseDatePickerSettings = {
|
oBaseDatePickerSettings = {
|
||||||
dateFormat: 'yy-mm-dd',
|
dateFormat: 'yy-mm-dd',
|
||||||
//i18n_months, i18n_days_short are in common.js
|
//i18n_months, i18n_days_short are in common.js
|
||||||
|
|
Loading…
Reference in New Issue