CC-84: Smart Playlists

- added scrolling on qtip
This commit is contained in:
denise 2012-08-01 14:43:52 -04:00
parent 0f681d7c25
commit 7d788c51b2
4 changed files with 16 additions and 7 deletions

View file

@ -55,10 +55,14 @@
<table class='library-get-file-md'> <table class='library-get-file-md'>
<?php foreach($this->contents as $row) : ?> <?php foreach($this->contents as $row) : ?>
<?php <?php
$maxStrLen = 35; $titleMaxStrLen = 35;
if (strlen($row["track_title"]) > $maxStrLen) { if (strlen($row["track_title"]) > $titleMaxStrLen) {
$row["track_title"] = substr($row["track_title"], 0, 34)."..."; $row["track_title"] = substr($row["track_title"], 0, 34)."...";
} }
$artistMaxStrLen = 22;
if (strlen($row["creator"]) > $artistMaxStrLen) {
$row["creator"] = substr($row["creator"], 0, 21)."...";
}
?> ?>
<?php if ($row["type"] == 2) { <?php if ($row["type"] == 2) {
$bl = new Application_Model_Block($row["item_id"]); $bl = new Application_Model_Block($row["item_id"]);

File diff suppressed because one or more lines are too long

View file

@ -418,6 +418,10 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus, .input_t
} }
/***** LIBRARY QTIP METADATA SPECIFIC STYLES BEGIN *****/ /***** LIBRARY QTIP METADATA SPECIFIC STYLES BEGIN *****/
.ui-tooltip-dark.file-md-long{
max-width: 415px !important;
}
.library-get-file-md tr td{ .library-get-file-md tr td{
font-size:10px; font-size:10px;
padding: 0px; padding: 0px;
@ -426,6 +430,7 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus, .input_t
table.library-get-file-md{ table.library-get-file-md{
margin-left:15px; margin-left:15px;
margin-right:15px;
width:350px; width:350px;
} }
@ -447,11 +452,11 @@ table.library-get-file-md.table-small{
} }
.file-md-qtip-row-width-artist{ .file-md-qtip-row-width-artist{
width:100px; width:110px;
} }
.file-md-qtip-row-width-small{ .file-md-qtip-row-width-small{
width:50x; width:40x;
text-align:right; text-align:right;
} }

View file

@ -484,7 +484,7 @@ var AIRTIME = (function(AIRTIME) {
effect: false // Disable positioning animation effect: false // Disable positioning animation
}, },
style: { style: {
classes: "ui-tooltip-dark" classes: "ui-tooltip-dark file-md-long"
}, },
show: 'mousedown', show: 'mousedown',
events: { events: {
@ -495,7 +495,7 @@ var AIRTIME = (function(AIRTIME) {
} }
} }
}, },
hide: 'mouseout' hide: {event:'mouseout', delay: 50, fixed:true}
}); });
}, },
//remove any selected nodes before the draw. //remove any selected nodes before the draw.