Updating channel list to use icons instead of a simple bulleted list. Also added toggles in preparation for #42 and #47. Closes #51.

This commit is contained in:
Jason Williams
2020-10-31 17:07:23 -06:00
3 changed files with 306 additions and 266 deletions

View File

@@ -16,9 +16,12 @@ includeEmpty = 0
<?php
function onStart()
{
if (empty($this->param('channel'))) $this['channelfilter'] = 'all';
else $this['channelfilter'] = explode(',', $this->param('channel'));
$this->addJs('https://cdnjs.cloudflare.com/ajax/libs/jqcloud/1.0.3/jqcloud.min.js');
$this->addJs('assets/javascript/feedlayout.js');
//$this->addCss('https://cdnjs.cloudflare.com/ajax/libs/jqcloud/1.0.3/jqcloud.min.css');
//$this->addCss('https://cdnjs.cloudflare.com/ajax/libs/jqcloud/1.0.3/jqcloud.min.css');
}
?>
==
@@ -31,7 +34,7 @@ function onStart()
</div>
<div class="col-lg-3">
<h2>Channels</h2>
{% component 'ChannelList' %}
{% partial 'feed/channels' %}
<h2>Tags</h2>
<div id="tagcloud"><img src="{{ 'assets/images/loading.svg' | theme }}"></div>