* added news preview function (news, ticker, article)

* update TODO
This commit is contained in:
slawkens1
2018-01-03 23:49:46 +01:00
parent 4a948b8ba2
commit 854560b2f5
7 changed files with 200 additions and 25 deletions

View File

@@ -7,7 +7,9 @@
<div class="Border_2">
<div class="Border_3">
<div class="BoxContent" style="background-image: url({{ template_path }}/images/content/scroll.gif);">
{% if i is not defined %}
{% set i = 0 %}
{% endif %}
{% for ticker in tickers %}
<div id="TickerEntry-{{ i }}" class="Row" onclick='TickerAction("TickerEntry-{{ i }}")'>
<div class="{% if (i / 2) matches '/^\\d+$/' %}Odd{% else %}Even{% endif %}">