Skip to content

Commit

Permalink
Fix for Dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
craigdietrich committed Oct 8, 2019
1 parent 85d59bc commit 8bb3398
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,11 @@
$tr.append('<td class="editable boolean" property="is_live" style="text-align:center;width:65px;">'+((is_live)?'1':'0')+'</td>');
if (-1==options.hide_columns.indexOf('category')) $tr.append('<td class="editable enum {\'review\',\'commentary\',\'term\'}" property="category">'+category+'</td>');
var thumb_str = '<td property="thumbnail">';
if (nodes[j].thumbnail && nodes[j].thumbnail.length) thumb_str += '<a target="_blank" href="'+nodes[j].current.sourceFile+'"><img src="'+nodes[j].thumbnail+'" /></a>';
if (nodes[j].thumbnail && nodes[j].thumbnail.length) {
var thumb = nodes[j].thumbnail;
if (-1 == thumb.indexOf('//')) thumb = book_uri + thumb;
thumb_str += '<a target="_blank" href="'+nodes[j].current.sourceFile+'"><img src="'+thumb+'" /></a>';
}
thumb_str += '</td>';
if (-1==options.hide_columns.indexOf('thumbnail')) $tr.append(thumb_str);
$tr.append('<td class="editable has_link uri_link" property="slug" style="max-width:200px;overflow:hidden;"><a href="'+options.book_uri+nodes[j].slug+'">'+nodes[j].slug+(('index'==nodes[j].slug)?'<span class="home_page"> (home page)</span>':'')+'</a></td>');
Expand Down
6 changes: 5 additions & 1 deletion system/application/views/modules/dashboard/tabs.css
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ td.styling_last {text-align:right; padding-right:0px;}
}

.tabs table td {
padding:10px 10px 10px 10px;
padding:10px 10px 10px 10px !important;
vertical-align: top !important;
}
.trim_padding td {
Expand All @@ -93,6 +93,10 @@ td.styling_last {text-align:right; padding-right:0px;}
padding-right:0px !important;
}

table.tablesorter {
font-size: 1.1em !important;
font-family: 'Lato', Arial, sans-serif !important;
}
.ui-widget {
font-family: 'Lucida Grande','Lucida Sans Unicode',sans-serif !important;
font-size: 1em;
Expand Down

0 comments on commit 8bb3398

Please sign in to comment.