frio: add notifications templates to frio
This commit is contained in:
parent
875110ab27
commit
51c9a66fc3
9 changed files with 50 additions and 5 deletions
|
@ -1882,6 +1882,9 @@ ul.dropdown-menu li:hover {
|
||||||
-moz-box-shadow: 0 0 3px #dadada;
|
-moz-box-shadow: 0 0 3px #dadada;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.section-title-wrapper {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
/* Profile-page */
|
/* Profile-page */
|
||||||
#profile-content-standard,
|
#profile-content-standard,
|
||||||
#profile-content-advanced {
|
#profile-content-advanced {
|
||||||
|
@ -2208,7 +2211,7 @@ ul li:hover .contact-wrapper a.contact-action-link:hover {
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Notifications */
|
/* Intro Notifications */
|
||||||
ul.notif-network-list {
|
ul.notif-network-list {
|
||||||
margin-left: -15px;
|
margin-left: -15px;
|
||||||
margin-right: -15px;
|
margin-right: -15px;
|
||||||
|
@ -2226,10 +2229,9 @@ ul.notif-network-list li.unseen {
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
.intro-photo-wrapper img.intro-photo,
|
.intro-photo-wrapper img.intro-photo {
|
||||||
.notif-item img.notif-image {
|
height:48px;
|
||||||
height:80px;
|
width: 48px;
|
||||||
width: 80px;
|
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
.intro-actions {
|
.intro-actions {
|
||||||
|
@ -2280,6 +2282,23 @@ ul.notif-network-list > li:hover .intro-action-buttons {
|
||||||
margin-top: 5px
|
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 */
|
/* Search Page */
|
||||||
|
|
||||||
/* This is a little bit hacky. Since the search page is used for diferent
|
/* This is a little bit hacky. Since the search page is used for diferent
|
||||||
|
|
2
view/theme/frio/templates/notifications_attend_item.tpl
Normal file
2
view/theme/frio/templates/notifications_attend_item.tpl
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
{{include file="notify.tpl"}}
|
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
{{include file="notify.tpl"}}
|
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
{{include file="notify.tpl"}}
|
2
view/theme/frio/templates/notifications_friends_item.tpl
Normal file
2
view/theme/frio/templates/notifications_friends_item.tpl
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
{{include file="notify.tpl"}}
|
2
view/theme/frio/templates/notifications_likes_item.tpl
Normal file
2
view/theme/frio/templates/notifications_likes_item.tpl
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
{{include file="notify.tpl"}}
|
2
view/theme/frio/templates/notifications_network_item.tpl
Normal file
2
view/theme/frio/templates/notifications_network_item.tpl
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
{{include file="notify.tpl"}}
|
2
view/theme/frio/templates/notifications_posts_item.tpl
Normal file
2
view/theme/frio/templates/notifications_posts_item.tpl
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
{{include file="notify.tpl"}}
|
12
view/theme/frio/templates/notify.tpl
Normal file
12
view/theme/frio/templates/notify.tpl
Normal 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>
|
Loading…
Reference in a new issue