frio: add notifications templates to frio

This commit is contained in:
rabuzarus 2016-12-21 20:39:07 +01:00
parent 875110ab27
commit 51c9a66fc3
9 changed files with 50 additions and 5 deletions

View file

@ -1882,6 +1882,9 @@ ul.dropdown-menu li:hover {
-moz-box-shadow: 0 0 3px #dadada;
}
.section-title-wrapper {
overflow: hidden;
}
/* Profile-page */
#profile-content-standard,
#profile-content-advanced {
@ -2208,7 +2211,7 @@ ul li:hover .contact-wrapper a.contact-action-link:hover {
margin-left: 20px;
}
/* Notifications */
/* Intro Notifications */
ul.notif-network-list {
margin-left: -15px;
margin-right: -15px;
@ -2226,10 +2229,9 @@ ul.notif-network-list li.unseen {
word-wrap: break-word;
margin-top: 0;
}
.intro-photo-wrapper img.intro-photo,
.notif-item img.notif-image {
height:80px;
width: 80px;
.intro-photo-wrapper img.intro-photo {
height:48px;
width: 48px;
border-radius: 4px;
}
.intro-actions {
@ -2280,6 +2282,23 @@ ul.notif-network-list > li:hover .intro-action-buttons {
margin-top: 5px
}
/* Notifications Page */
.notif-item img.notif-image {
height: 48px;
width: 48px;
border-radius: 4px;
}
.notif-item .notif-desc-wrapper {
height: 48px;
}
.notif-item .notif-desc-wrapper a {
height: 100%;
display: block;
color: #555;
font-size: 13px;
font-weight: 600;
}
/* Search Page */
/* This is a little bit hacky. Since the search page is used for diferent

View file

@ -0,0 +1,2 @@
{{include file="notify.tpl"}}

View file

@ -0,0 +1,2 @@
{{include file="notify.tpl"}}

View file

@ -0,0 +1,2 @@
{{include file="notify.tpl"}}

View file

@ -0,0 +1,2 @@
{{include file="notify.tpl"}}

View file

@ -0,0 +1,2 @@
{{include file="notify.tpl"}}

View file

@ -0,0 +1,2 @@
{{include file="notify.tpl"}}

View file

@ -0,0 +1,2 @@
{{include file="notify.tpl"}}

View file

@ -0,0 +1,12 @@
<div class="notif-item {{if !$item_seen}}unseen{{/if}} {{$item_label}} media">
<div class="notif-photo-wrapper media-object pull-left">
<img src="{{$item_image}}" class="notif-image">
</div>
<div class="notif-desc-wrapper media-body">
<a href="{{$item_link}}">
{{$item_text}}
<div><time class="notif-when time" data-toggle="tooltip">{{$item_when}}</time></div>
</a>
</div>
</div>