summaryrefslogtreecommitdiffstats
path: root/templates/part.content.explore.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/part.content.explore.php')
-rw-r--r--templates/part.content.explore.php23
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