summaryrefslogtreecommitdiff
path: root/www/templates/news.html
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2017-09-21 12:49:18 -0400
committerPliable Pixels <pliablepixels@gmail.com>2017-09-21 12:49:18 -0400
commitb28028ac4082842143b0f528d6bc539da6ccb419 (patch)
tree1e26ea969a781ed8e323fca4e3c76345113fc694 /www/templates/news.html
parent676270d21beed31d767a06c89522198c77d5d865 (diff)
mega changes, including updates and X
Diffstat (limited to 'www/templates/news.html')
-rw-r--r--www/templates/news.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/www/templates/news.html b/www/templates/news.html
new file mode 100644
index 00000000..84e3c2b3
--- /dev/null
+++ b/www/templates/news.html
@@ -0,0 +1,24 @@
+<ion-view view-title="{{'kNews' | translate}}">
+ <ion-nav-buttons side="left">
+ <button class="button button-icon button-clear ion-navicon" ng-click="openMenu()"></button>
+ <button data-badge="{{$root.alarmCount}}" class="animated infinite tada button button-icon button-clear ion-ios-bell notification-badge" ng-click="handleAlarms();" ng-if="$root.isAlarm"></button>
+ </ion-nav-buttons>
+ <ion-content scroll-sista delegate-handle="none" overflow-scroll="false" mouse-wheel-scroll>
+
+ <div class="list">
+
+ <span ng-repeat="post in newsItems">
+ <a class="item item-text-wrap item-icon-left" ng-click="loadPost(post.url, post.date)" href="">
+ <i ng-class="isUnread(post.date) ? 'icon ion-email-unread': 'icon ion-ios-email-outline'"></i>
+ {{post.title}}
+ <p>{{post.date}}</p>
+
+ </a>
+
+ </span>
+ <div ng-if="!newsItems.length">
+ <ion-item>{{'kLoading' | translate}}...</ion-item>
+ </div>
+ </div>
+ </ion-content>
+</ion-view>