mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 03:04:09 +02:00
[ticket/11103] Restyle the notification list
Very rough (lots of inline CSS, very ugly) PHPBB3-11103
This commit is contained in:
@@ -132,6 +132,22 @@
|
||||
<ul class="linklist leftside">
|
||||
<li class="icon-ucp">
|
||||
<a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="e">{L_PROFILE}</a>
|
||||
<a href="#" title="{L_NOTIFICATIONS}" onClick="$('#notification_list').toggle();">{L_NOTIFICATIONS}</a>
|
||||
<div id="notification_list" style="display: block; position: absolute; width: 330px; background-color: #FFFFFF; z-index: 1;">
|
||||
<ul style="list-style-type: none;">
|
||||
<!-- BEGIN notifications -->
|
||||
<li style="margin: 10px;">
|
||||
<a href="{notifications.URL}" style="text-decoration: none;">
|
||||
{notifications.AVATAR}
|
||||
<div>
|
||||
{notifications.FORMATTED_TITLE}<br />
|
||||
{notifications.TIME}
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<!-- END notifications -->
|
||||
</ul>
|
||||
</div>
|
||||
<!-- IF S_DISPLAY_PM --> (<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a>)<!-- ENDIF -->
|
||||
<!-- IF S_DISPLAY_SEARCH --> •
|
||||
<a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>
|
||||
@@ -165,11 +181,4 @@
|
||||
<strong>{L_INFORMATION}:</strong> {L_BOARD_DISABLED}
|
||||
</div>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- BEGIN notifications -->
|
||||
<p>
|
||||
<a href="{notifications.URL}">{notifications.TITLE}</a><br />
|
||||
{notifications.TIME}
|
||||
</p>
|
||||
<!-- END notifications -->
|
||||
<!-- ENDIF -->
|
@@ -665,3 +665,11 @@ p.rules a {
|
||||
.smilies {
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
|
||||
.notifications-avatar {
|
||||
float: left;
|
||||
padding: 0 10px 10px 0;
|
||||
|
||||
max-width: 50px;
|
||||
max-height: 50px;
|
||||
}
|
||||
|
Reference in New Issue
Block a user