forked from 0x2620/pandora
some formatting for HSL values
This commit is contained in:
parent
cca9c84d89
commit
434d3e3738
2 changed files with 8 additions and 8 deletions
|
@ -303,14 +303,14 @@
|
||||||
"title": "Saturation",
|
"title": "Saturation",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
"columnWidth": 90,
|
"columnWidth": 90,
|
||||||
"format": {"type": "color", "args": ["greyscale"]}
|
"format": {"type": "color", "args": ["saturation"]}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "lightness",
|
"id": "lightness",
|
||||||
"title": "Lightness",
|
"title": "Lightness",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
"columnWidth": 90,
|
"columnWidth": 90,
|
||||||
"format": {"type": "color", "args": ["greyscale"]}
|
"format": {"type": "color", "args": ["lightness"]}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "volume",
|
"id": "volume",
|
||||||
|
|
|
@ -16,7 +16,7 @@ pandora.ui.list = function() { // fixme: remove view argument
|
||||||
Ox.print('$$$$', keys)
|
Ox.print('$$$$', keys)
|
||||||
*/
|
*/
|
||||||
that = Ox.TextList({
|
that = Ox.TextList({
|
||||||
columns: Ox.merge([{
|
columns: /*Ox.merge([{
|
||||||
align: 'center',
|
align: 'center',
|
||||||
defaultWidth: 16,
|
defaultWidth: 16,
|
||||||
format: function(value, data) {
|
format: function(value, data) {
|
||||||
|
@ -58,8 +58,8 @@ pandora.ui.list = function() { // fixme: remove view argument
|
||||||
operator: '+',
|
operator: '+',
|
||||||
position: 0,
|
position: 0,
|
||||||
removable: true,
|
removable: true,
|
||||||
//title: 'Poster',
|
title: 'Poster',
|
||||||
///*
|
*//*
|
||||||
title: $('<img>').attr({
|
title: $('<img>').attr({
|
||||||
src: Ox.UI.getImageURL(
|
src: Ox.UI.getImageURL(
|
||||||
pandora.user.ui.icons == 'posters'
|
pandora.user.ui.icons == 'posters'
|
||||||
|
@ -71,10 +71,10 @@ pandora.ui.list = function() { // fixme: remove view argument
|
||||||
height: '12px',
|
height: '12px',
|
||||||
padding: '2px',
|
padding: '2px',
|
||||||
}),
|
}),
|
||||||
//*/
|
*//*
|
||||||
visible: true,
|
visible: true,
|
||||||
width: 16
|
width: 16
|
||||||
}], Ox.map(pandora.site.sortKeys, function(key) {
|
}], */Ox.map(pandora.site.sortKeys, function(key) {
|
||||||
var position = pandora.user.ui.lists[pandora.user.ui.list].columns.indexOf(key.id);
|
var position = pandora.user.ui.lists[pandora.user.ui.list].columns.indexOf(key.id);
|
||||||
return {
|
return {
|
||||||
align: ['string', 'text'].indexOf(
|
align: ['string', 'text'].indexOf(
|
||||||
|
@ -92,7 +92,7 @@ pandora.ui.list = function() { // fixme: remove view argument
|
||||||
visible: position > -1,
|
visible: position > -1,
|
||||||
width: pandora.user.ui.lists[pandora.user.ui.list].columnWidth[key.id] || key.columnWidth
|
width: pandora.user.ui.lists[pandora.user.ui.list].columnWidth[key.id] || key.columnWidth
|
||||||
};
|
};
|
||||||
})),
|
})/*)*/,
|
||||||
columnsMovable: true,
|
columnsMovable: true,
|
||||||
columnsRemovable: true,
|
columnsRemovable: true,
|
||||||
columnsResizable: true,
|
columnsResizable: true,
|
||||||
|
|
Loading…
Reference in a new issue