diff options
Diffstat (limited to 'python/bb_dashboard/www/templates/www/news.html')
-rw-r--r-- | python/bb_dashboard/www/templates/www/news.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/python/bb_dashboard/www/templates/www/news.html b/python/bb_dashboard/www/templates/www/news.html new file mode 100644 index 0000000..b722f51 --- /dev/null +++ b/python/bb_dashboard/www/templates/www/news.html @@ -0,0 +1,20 @@ +<section id="news"> +{% for post in posts %} +<article class="newsitem"> +<h2 class="stick-top newsitem-bullet"> + <span class="fa fa-fw fa-chevron-circle-right" title="News item"> </span> + </h2> + <h2 class="stick-top newsitem-headline"> + <a href="{{ post.url }}">{{ post.title }}</a> <small>{{ post.created_at }}</small> + </h2> + <div class="newsitem-content"> + <p>{{ post.text|safe|escape }}</p> + </div> +</article> +{% endfor %} +</section> + +<div class="news-more"> + <a href="/news" class="btn btn-xs">All news items <span class="fa fa-fw fa-chevron-right"></span></a> +<hr> +</div> |