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">
|
<div class="row">
|
||||||
{% for entry in feedentries %}
|
{% 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 %}
|
{% if entry.visual %}
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<img src="{{ entry.visual }}">
|
<img src="{{ entry.visual }}">
|
||||||
|
@ -61,7 +61,6 @@
|
||||||
<a href="{{ entry.link }}" target="_blank" class="fill"></a>
|
<a href="{{ entry.link }}" target="_blank" class="fill"></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- {{ entry.raw }} -->
|
|
||||||
{% empty %}
|
{% empty %}
|
||||||
<!-- No news today -->
|
<!-- No news today -->
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
@ -18,11 +18,11 @@ $(document).ready(function() {
|
||||||
nextArrow: '<span class="arrow right glyphicon glyphicon-chevron-right" aria-hidden="true">Next</span>',
|
nextArrow: '<span class="arrow right glyphicon glyphicon-chevron-right" aria-hidden="true">Next</span>',
|
||||||
});
|
});
|
||||||
|
|
||||||
// Formatting of live news
|
// Pastel colors on live news
|
||||||
$('.feedpage-body .panel').each(function() {
|
// $('.feedpage-body .panel').each(function() {
|
||||||
var hue = Math.floor(Math.random() * 360);
|
// var hue = Math.floor(Math.random() * 360);
|
||||||
var pastel = 'hsl(' + hue + ', 100%, 87.5%)';
|
// var pastel = 'hsl(' + hue + ', 100%, 87.5%)';
|
||||||
$(this).css('border-top', '3px solid ' + pastel);
|
// $(this).css('border-top', '3px solid ' + pastel);
|
||||||
});
|
// });
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue