diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-19 15:54:32 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-19 15:54:32 +0100 |
commit | 676b8dd18742875ae07827792ed88d2b5bb3afb7 (patch) | |
tree | cd4368012b40ff6fa28cefb85e7ab49c729041ca /templates/part.content.explore.php | |
parent | 62b6bd485009b5dbb85b50e634ea94aa177d8d42 (diff) |
first stab at recommended sites
Diffstat (limited to 'templates/part.content.explore.php')
-rw-r--r-- | templates/part.content.explore.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/part.content.explore.php b/templates/part.content.explore.php new file mode 100644 index 000000000..e098bd9c4 --- /dev/null +++ b/templates/part.content.explore.php @@ -0,0 +1,23 @@ +<?php print_unescaped($this->inc('part.content.cronwarning')) ?> + +<div id="explore"> + <div ng-repeat="(category, data) in Explore.sites" class="explore-section"> + <h2>{{ category }}</h2> + + <ul> + <li ng-repeat="entry in data | orderBy:votes:true"> + <h3 ng-style="{ backgroundImage: 'url(' + entry.favicon + ')'}"> + {{ entry.title }} + </h3> + <div> + {{ entry.description }} + + <img ng-src="{{ entry.image }}" ng-if="entry.image"> + </div> + <div class="explore-subscribe"> + <button><?php p($l->t('Subscribe')) ?></button> + </div> + </li> + </ul> + </div> +</div>
\ No newline at end of file |