CC-3360 : timeline css

This commit is contained in:
Naomi Aro 2012-03-23 01:46:45 +01:00
parent f1d76443ab
commit 8af4f052e0
7 changed files with 41 additions and 20 deletions

View file

@ -44,7 +44,7 @@ var AIRTIME = (function(AIRTIME) {
libraryInit = function() {
var oTable,
libContentDiv = $("#library_content"),
tableHeight = libContentDiv.height() - 140,
tableHeight = libContentDiv.height() - 130,
libLength,
libType,
libFilter;
@ -250,7 +250,7 @@ var AIRTIME = (function(AIRTIME) {
},
// R = ColReorder, C = ColVis, T = TableTools
"sDom": 'Rl<"#library_display_type">fr<"H"T<"library_toolbar"C>><"dataTables_scrolling"t><"F"ip>',
"sDom": 'Rl<"#library_display_type">f<"dt-process-rel"r><"H"T<"library_toolbar"C>><"dataTables_scrolling"t><"F"ip>',
"oTableTools": {
"sRowSelect": "multi",

View file

@ -140,10 +140,10 @@ function buildScheduleDialog (json) {
//set max heights of datatables.
dialog.find(".lib-content .dataTables_scrolling")
.css("max-height", height - 110 - 155);
.css("max-height", height - 90 - 155);
dialog.find(".sb-content .dataTables_scrolling")
.css("max-height", height - 110 - 60);
.css("max-height", height - 90 - 60);
dialog.dialog('open');
}

View file

@ -474,7 +474,7 @@ var AIRTIME = (function(AIRTIME){
},
// R = ColReorderResize, C = ColVis, T = TableTools
"sDom": 'Rr<"sb-padded"<"H"CT>><"dataTables_scrolling sb-padded"t>',
"sDom": 'R<"dt-process-rel"r><"sb-padded"<"H"CT>><"dataTables_scrolling sb-padded"t>',
"sAjaxDataProp": "schedule",
"sAjaxSource": "/showbuilder/builder-feed"
@ -593,8 +593,9 @@ var AIRTIME = (function(AIRTIME){
};
return {
placeholder: "placeholder show-builder-placeholder ui-state-highlight",
placeholder: "sb-placeholder ui-state-highlight",
forcePlaceholderSize: true,
distance: 10,
helper: function(event, item) {
var oTT = TableTools.fnGetInstance('show_builder_table'),
selected = oTT.fnGetSelectedData(),

View file

@ -4,7 +4,7 @@ $(document).ready(function(){
$lib = $("#library_content"),
$libWrapper,
$builder = $("#show_builder"),
widgetHeight = viewport.height - 185,
widgetHeight = viewport.height - 180,
screenWidth = Math.floor(viewport.width - 120),
oBaseDatePickerSettings,
oBaseTimePickerSettings,
@ -62,7 +62,7 @@ $(document).ready(function(){
$libWrapper = $lib.find("#library_display_wrapper");
$libWrapper.prepend($libClose);
$builder.find('.dataTables_scrolling').css("max-height", widgetHeight - 110);
$builder.find('.dataTables_scrolling').css("max-height", widgetHeight - 95);
$builder.on("click", "#sb_submit", function(ev){
var fn,