aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-07-16 14:49:56 +0000
committerMario <mario@mariovavti.com>2022-07-16 14:49:56 +0000
commitae705dd86514ad797a312b4463186e6f29f55f79 (patch)
tree8c834aae554c6d124c3306e05f8b8521694cac3d /view
parentf0fa2ce1710563469f71c0e53d33a64ab7de35da (diff)
downloadvolse-hubzilla-ae705dd86514ad797a312b4463186e6f29f55f79.tar.gz
volse-hubzilla-ae705dd86514ad797a312b4463186e6f29f55f79.tar.bz2
volse-hubzilla-ae705dd86514ad797a312b4463186e6f29f55f79.zip
HQ dashboard - missing files
Diffstat (limited to 'view')
-rw-r--r--view/tpl/channel_activities.tpl21
-rw-r--r--view/tpl/channel_activities_photos.tpl19
2 files changed, 40 insertions, 0 deletions
diff --git a/view/tpl/channel_activities.tpl b/view/tpl/channel_activities.tpl
new file mode 100644
index 000000000..a675f71db
--- /dev/null
+++ b/view/tpl/channel_activities.tpl
@@ -0,0 +1,21 @@
+<div class="mb-1 text-uppercase">
+ <a href="{{$url}}"><i class="fa fa-fw fa-{{$icon}} generic-icons-nav"></i>{{$label}}</a>
+</div>
+<div class="row mb-3">
+ {{foreach $items as $i}}
+ <div class="col-sm-4 mb-3">
+ <div class="card">
+ <a href="{{$i.url}}" class="text-dark">
+ <div class="card-body">
+ {{if $i.title}}
+ <strong>{{$i.title}}</strong>
+ <hr>
+ {{/if}}
+ {{$i.summary}}
+ </div>
+ <div class="card-footer text-muted autotime" title="{{$i.footer}}">{{$i.footer}}</div>
+ </a>
+ </div>
+ </div>
+ {{/foreach}}
+</div>
diff --git a/view/tpl/channel_activities_photos.tpl b/view/tpl/channel_activities_photos.tpl
new file mode 100644
index 000000000..b0079f382
--- /dev/null
+++ b/view/tpl/channel_activities_photos.tpl
@@ -0,0 +1,19 @@
+<div class="mb-1 text-uppercase">
+ <a href="{{$url}}"><i class="fa fa-fw fa-{{$icon}} generic-icons-nav"></i>{{$label}}</a>
+</div>
+<div id="photo-album" class="mb-4">
+ {{foreach $items as $i}}
+ <a href="{{$i.url}}" title="{{$i.alt}}">
+ <img src="{{$i.src}}" width="{{$i.width}}" height="{{$i.height}}" alt="{{$i.alt}}">
+ <div class='jg-caption autotime' title="{{$i.edited}}"></div>
+ </a>
+ {{/foreach}}
+</div>
+<script>
+ $('#photo-album').justifiedGallery({
+ border: 0,
+ margins: 3,
+ maxRowsCount: 1,
+ waitThumbnailsLoad: false
+ });
+</script>