Disable pastel colors and raw data
This commit is contained in:
parent
05f7349ed7
commit
dd9691524f
2 changed files with 7 additions and 8 deletions
|
@ -44,7 +44,7 @@
|
|||
|
||||
<div class="row">
|
||||
{% for entry in feedentries %}
|
||||
<div class="col-md-4 col-sm-6 col-xs-12">
|
||||
<div class="col-md-4 col-sm-6 col-xs-12 news-entry">
|
||||
{% if entry.visual %}
|
||||
<div class="panel panel-default">
|
||||
<img src="{{ entry.visual }}">
|
||||
|
@ -61,7 +61,6 @@
|
|||
<a href="{{ entry.link }}" target="_blank" class="fill"></a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- {{ entry.raw }} -->
|
||||
{% empty %}
|
||||
<!-- No news today -->
|
||||
{% endfor %}
|
||||
|
|
|
@ -18,11 +18,11 @@ $(document).ready(function() {
|
|||
nextArrow: '<span class="arrow right glyphicon glyphicon-chevron-right" aria-hidden="true">Next</span>',
|
||||
});
|
||||
|
||||
// Formatting of live news
|
||||
$('.feedpage-body .panel').each(function() {
|
||||
var hue = Math.floor(Math.random() * 360);
|
||||
var pastel = 'hsl(' + hue + ', 100%, 87.5%)';
|
||||
$(this).css('border-top', '3px solid ' + pastel);
|
||||
});
|
||||
// Pastel colors on live news
|
||||
// $('.feedpage-body .panel').each(function() {
|
||||
// var hue = Math.floor(Math.random() * 360);
|
||||
// var pastel = 'hsl(' + hue + ', 100%, 87.5%)';
|
||||
// $(this).css('border-top', '3px solid ' + pastel);
|
||||
// });
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue