mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-09 04:22:30 +01:00
QualityCell uses badges
This commit is contained in:
parent
0548f49c44
commit
e706e148fd
@ -6,7 +6,7 @@ define(
|
||||
return TemplatedCell.extend({
|
||||
|
||||
className: 'quality-cell',
|
||||
template : 'Cells/QualityTemplate'
|
||||
template : 'Cells/QualityCellTemplate'
|
||||
|
||||
});
|
||||
});
|
||||
|
5
UI/Cells/QualityCellTemplate.html
Normal file
5
UI/Cells/QualityCellTemplate.html
Normal file
@ -0,0 +1,5 @@
|
||||
{{#if proper}}
|
||||
<span class="badge badge-info" title="PROPER">{{quality.name}}</span>
|
||||
{{else}}
|
||||
<span class="badge badge-inverse">{{quality.name}}</span>
|
||||
{{/if}}
|
@ -1,5 +0,0 @@
|
||||
{{quality.name}}
|
||||
|
||||
{{#if proper}}
|
||||
[PROPER]
|
||||
{{/if}}
|
@ -17,10 +17,6 @@
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.quality-cell {
|
||||
width : 130px;
|
||||
}
|
||||
|
||||
.history-event-type-cell {
|
||||
width : 10px;
|
||||
}
|
||||
@ -44,8 +40,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
td.episode-status-cell {
|
||||
td.episode-status-cell, td.quality-cell {
|
||||
text-align: center;
|
||||
width: 80px;
|
||||
|
||||
.badge {
|
||||
font-size: 9px;
|
||||
|
Loading…
Reference in New Issue
Block a user