CC-3174 : showbuilder

created controller Usersettings, noticed hosts couldn't
save datatables setting through pref controller.

starting to use new cursor arrows.
This commit is contained in:
Naomi Aro 2012-02-23 12:13:00 +01:00
parent aabcaafff0
commit b357b80054
7 changed files with 78 additions and 53 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,019 B

View file

@ -4,9 +4,23 @@
width:100px;
}
#show_builder span.ui-icon-triangle-1-e {
float: left;
position: relative;
left: -20px;
top: 15px;
table tr.selected-row td, table tr.selected-row th,
table.datatable tr.selected-row td, table.datatable tr.selected-row th {
border-bottom: 2px solid #db0000 !important;
}
.innerWrapper {
position:relative;
width:100%;
}
.marker {
position:absolute;
bottom:-10px;
left:-14px;
width:9px;
height:9px;
background:url(images/tl-arrow.png) no-repeat 0 0;
display:block;
}
tr.selected-row .marker {
background-position: 0 -15px;
}

View file

@ -256,7 +256,7 @@ $(document).ready(function() {
"fnStateSave": function (oSettings, oData) {
$.ajax({
url: "/preference/set-library-datatable",
url: "/usersettings/set-library-datatable",
type: "POST",
data: {settings : oData, format: "json"},
dataType: "json",
@ -270,7 +270,7 @@ $(document).ready(function() {
var o;
$.ajax({
url: "/preference/get-library-datatable",
url: "/usersettings/get-library-datatable",
type: "GET",
data: {format: "json"},
dataType: "json",

View file

@ -205,7 +205,7 @@ $(document).ready(function() {
if (aData.header === true) {
cl = 'sb-header';
sSeparatorHTML = '<span>'+aData.title+'</span><span>'+aData.starts+'</span><span>'+aData.ends+'</span><span class="ui-icon ui-icon-triangle-1-e"></span>';
sSeparatorHTML = '<span>'+aData.title+'</span><span>'+aData.starts+'</span><span>'+aData.ends+'</span>';
fnPrepareSeparatorRow(sSeparatorHTML, cl, 0);
}
else if (aData.footer === true) {
@ -226,11 +226,11 @@ $(document).ready(function() {
fnPrepareSeparatorRow(sSeparatorHTML, cl, 1);
}
else {
//$(nRow).attr("id", "sched_"+aData.id);
node = nRow.children[0];
if (aData.checkbox === true) {
node.innerHTML = '<input type="checkbox" name="'+aData.id+'"></input><span class="ui-icon ui-icon-triangle-1-e"></span>';
var height = $(node).height();
node.innerHTML = '<div class="innerWrapper" height="'+height+'"><input type="checkbox" name="'+aData.id+'"></input><div class="marker"></div></div>';
}
else {
node.innerHTML = '';
@ -292,7 +292,7 @@ $(document).ready(function() {
"fnStateSave": function (oSettings, oData) {
$.ajax({
url: "/preference/set-timeline-datatable",
url: "/usersettings/set-timeline-datatable",
type: "POST",
data: {settings : oData, format: "json"},
dataType: "json",
@ -306,7 +306,7 @@ $(document).ready(function() {
var o;
$.ajax({
url: "/preference/get-timeline-datatable",
url: "/usersettings/get-timeline-datatable",
type: "GET",
data: {format: "json"},
dataType: "json",