arnaucube
arnaucube/commonroutesWebAppPublic Self-hosted repository
commonroutesWebApp/views/notifications/notifications.html
views/notifications/notifications.htmlRaw
 1<div class="container">
 2    <div class="row">
 3        <div class="col-sm-3"></div>
 4        <div class="col-sm-6">
 5            <div class="panel">
 6                <div class="panel-heading c_deepPurpleG500to300">
 7                    <h3 class="panel-title">
 8                        Notifications
 9                        <span class="badge badge-secondary pull-right c_deepPurpleG500to300">{{storageuser.notifications.length}}</span>
10                    </h3>
11                </div>
12                <div class="panel-body">
13                    <div ng-show="!notifications[0]" class="item">
14                      No notifications yet
15                    </div>
16                    <div class="list-group">
17                        <a ng-repeat="notification in notifications | orderBy: '-date'" ng-show="notification.state=='pendent'" class="list-group-item c_deepPurple100" href="#!/{{notification.link}}">
18                          <div class="pull-right">
19                            <div class="o_text_purple600">{{notification.date | date:"dd/MM"}}</div>
20                            <div class="o_text_purple600">{{notification.date | date:"HH:mm:ss"}}</div>
21                          </div>
22                          <i ng-show="notification.state=='pendent'" class="icon {{notification.icon}} o_text_purple600"></i>
23                          <p>{{notification.message}}</p>
24                        </a>
25                        <a ng-repeat="notification in notifications | orderBy: '-date'" ng-show="notification.state=='viewed'" class="list-group-item" href="#!/{{notification.link}}">
26                          <div class="pull-right">
27                            <div class="o_text_purple600">{{notification.date | date:"dd/MM"}}</div>
28                            <div class="o_text_purple600">{{notification.date | date:"HH:mm:ss"}}</div>
29                          </div>
30                          <i ng-show="notification.state=='viewed'" class="icon {{notification.icon}}"></i>
31                          <h2>{{notification.message}}</h2>
32                        </a>
33                    </div>
34                </div>
35            </div>
36        </div>
37
38
39    </div>
40</div>