mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/12769] Refacto action bar
This commit is contained in:
parent
171424f89c
commit
2523ec8277
18 changed files with 39 additions and 30 deletions
|
@ -10,7 +10,7 @@
|
|||
<div class="panel">
|
||||
<div class="inner">
|
||||
|
||||
<div class="action-bar top">
|
||||
<div class="action-bar bar-top">
|
||||
<div class="pagination">
|
||||
{TOTAL_TOPICS}
|
||||
<!-- IF .pagination -->
|
||||
|
@ -117,7 +117,7 @@
|
|||
|
||||
<hr />
|
||||
|
||||
<div class="action-bar bottom">
|
||||
<div class="action-bar bar-bottom">
|
||||
<div class="pagination">
|
||||
{TOTAL_TOPICS}
|
||||
<!-- IF .pagination -->
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<div class="panel">
|
||||
<div class="inner">
|
||||
|
||||
<div class="action-bar top">
|
||||
<div class="action-bar bar-top">
|
||||
{L_SEARCH_KEYWORDS}{L_COLON} <input type="search" class="inputbox autowidth" name="keywords" value="{S_KEYWORDS}" /> <input type="submit" class="button2" name="filter" value="{L_SEARCH}" />
|
||||
<div class="pagination">
|
||||
{TOTAL}
|
||||
|
@ -60,7 +60,7 @@
|
|||
|
||||
<hr />
|
||||
|
||||
<div class="action-bar bottom">
|
||||
<div class="action-bar bar-bottom">
|
||||
<div class="pagination">
|
||||
{TOTAL}
|
||||
<!-- IF .pagination -->
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
<div class="panel">
|
||||
<div class="inner">
|
||||
|
||||
<div class="action-bar top">
|
||||
<div class="action-bar bar-top">
|
||||
{L_SEARCH_KEYWORDS}{L_COLON} <input type="search" class="inputbox autowidth" name="keywords" value="{S_KEYWORDS}" /> <input type="submit" class="button2" name="filter" value="{L_SEARCH}" />
|
||||
<div class="pagination">
|
||||
{TOTAL_REPORTS}
|
||||
|
@ -100,7 +100,7 @@
|
|||
|
||||
<hr />
|
||||
|
||||
<div class="action-bar bottom">
|
||||
<div class="action-bar bar-bottom">
|
||||
<div class="pagination">
|
||||
{TOTAL_REPORTS}
|
||||
<!-- IF .pagination -->
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<p>{L_EXPLAIN}</p>
|
||||
|
||||
<!-- IF .postrow -->
|
||||
<div class="action-bar top">
|
||||
<div class="action-bar bar-top">
|
||||
<div class="pagination">
|
||||
{TOTAL}
|
||||
<!-- IF .pagination -->
|
||||
|
@ -82,7 +82,7 @@
|
|||
|
||||
<hr />
|
||||
|
||||
<div class="action-bar bottom">
|
||||
<div class="action-bar bar-bottom">
|
||||
<div class="pagination">
|
||||
{TOTAL}
|
||||
<!-- IF .pagination -->
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<p>{L_EXPLAIN}</p>
|
||||
|
||||
<!-- IF .postrow -->
|
||||
<div class="action-bar top">
|
||||
<div class="action-bar bar-top">
|
||||
<div class="pagination">
|
||||
{TOTAL_REPORTS}
|
||||
<!-- IF .pagination -->
|
||||
|
@ -88,7 +88,7 @@
|
|||
|
||||
<hr />
|
||||
|
||||
<div class="action-bar bottom">
|
||||
<div class="action-bar bar-bottom">
|
||||
<div class="pagination">
|
||||
{TOTAL_REPORTS}
|
||||
<!-- IF .pagination -->
|
||||
|
|
|
@ -155,7 +155,7 @@
|
|||
|
||||
<hr />
|
||||
|
||||
<div class="action-bar bottom">
|
||||
<div class="action-bar bar-bottom">
|
||||
<div class="pagination">
|
||||
{TOTAL_POSTS}
|
||||
<!-- IF .pagination -->
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<p>{L_WARNED_USERS_EXPLAIN}</p>
|
||||
|
||||
<!-- IF .user -->
|
||||
<div class="action-bar top">
|
||||
<div class="action-bar bar-top">
|
||||
<div class="pagination">
|
||||
{TOTAL_USERS}
|
||||
<!-- IF .pagination -->
|
||||
|
@ -51,7 +51,7 @@
|
|||
|
||||
<hr />
|
||||
|
||||
<div class="action-bar bottom">
|
||||
<div class="action-bar bar-bottom">
|
||||
<div class="pagination">
|
||||
{TOTAL_USERS}
|
||||
<!-- IF .pagination -->
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<!-- ELSE -->
|
||||
<h2 class="solo">{PAGE_TITLE}<!-- IF SEARCH_WORDS -->{L_COLON} <a href="{U_SEARCH_WORDS}">{SEARCH_WORDS}</a><!-- ENDIF --></h2>
|
||||
|
||||
<div class="action-bar top">
|
||||
<div class="action-bar bar-top">
|
||||
<div class="member-search panel">
|
||||
<!-- IF U_FIND_MEMBER and not S_SEARCH_USER --><a href="{U_FIND_MEMBER}" id="member_search" data-alt-text="{L_HIDE_MEMBER_SEARCH}">{L_FIND_USERNAME}</a> • <!-- ELSEIF S_SEARCH_USER and U_HIDE_FIND_MEMBER and not S_IN_SEARCH_POPUP --><a href="{U_HIDE_FIND_MEMBER}" id="member_search" data-alt-text="{L_FIND_USERNAME}">{L_HIDE_MEMBER_SEARCH}</a> • <!-- ENDIF -->
|
||||
<strong>
|
||||
|
@ -141,7 +141,7 @@
|
|||
|
||||
</form>
|
||||
|
||||
<div class="action-bar bottom">
|
||||
<div class="action-bar bar-bottom">
|
||||
<div class="pagination">
|
||||
{TOTAL_USERS}
|
||||
<!-- IF .pagination -->
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<!-- EVENT search_results_header_after -->
|
||||
|
||||
<!-- IF .pagination or SEARCH_MATCHES or TOTAL_MATCHES or PAGE_NUMBER -->
|
||||
<div class="action-bar top">
|
||||
<div class="action-bar bar-top">
|
||||
|
||||
<!-- IF TOTAL_MATCHES > 0 -->
|
||||
<div class="search-box" role="search">
|
||||
|
@ -225,7 +225,7 @@
|
|||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF .pagination or .searchresults or PAGE_NUMBER -->
|
||||
<div class="action-bar bottom">
|
||||
<div class="action-bar bar-bottom">
|
||||
<div class="pagination">
|
||||
{SEARCH_MATCHES}
|
||||
<!-- IF .pagination -->
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<p>{L_ATTACHMENTS_EXPLAIN}</p>
|
||||
|
||||
<!-- IF .attachrow -->
|
||||
<div class="action-bar top">
|
||||
<div class="action-bar bar-top">
|
||||
<div class="pagination">
|
||||
{NUM_ATTACHMENTS}
|
||||
<!-- IF .pagination -->
|
||||
|
@ -59,7 +59,7 @@
|
|||
|
||||
<hr />
|
||||
|
||||
<div class="action-bar bottom">
|
||||
<div class="action-bar bar-bottom">
|
||||
<div class="pagination">
|
||||
{TOTAL_ATTACHMENTS} {L_TITLE}
|
||||
<!-- IF .pagination -->
|
||||
|
|
|
@ -160,7 +160,7 @@
|
|||
</table>
|
||||
|
||||
<!-- IF .pagination -->
|
||||
<div class="action-bar bottom">
|
||||
<div class="action-bar bar-bottom">
|
||||
<div class="pagination">
|
||||
<!-- INCLUDE pagination.html -->
|
||||
</div>
|
||||
|
|
|
@ -92,7 +92,7 @@
|
|||
<!-- END topicrow -->
|
||||
</ul>
|
||||
|
||||
<div class="action-bar bottom">
|
||||
<div class="action-bar bar-bottom">
|
||||
<div class="pagination">
|
||||
{TOTAL_TOPICS}
|
||||
<!-- IF .pagination -->
|
||||
|
|
|
@ -133,7 +133,7 @@
|
|||
<!-- END topicrow -->
|
||||
</ul>
|
||||
|
||||
<div class="action-bar bottom">
|
||||
<div class="action-bar bar-bottom">
|
||||
<div class="pagination">
|
||||
{TOTAL_TOPICS}
|
||||
<!-- IF .pagination -->
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
</table>
|
||||
<!-- ELSE -->
|
||||
<!-- IF .notification_list -->
|
||||
<div class="action-bar top">
|
||||
<div class="action-bar bar-top">
|
||||
<div class="pagination">
|
||||
<!-- IF U_MARK_ALL --><a href="{U_MARK_ALL}" class="mark">{L_NOTIFICATIONS_MARK_ALL_READ}</a> • <!-- ENDIF -->
|
||||
{L_NOTIFICATIONS} [<strong>{TOTAL_COUNT}</strong>]
|
||||
|
@ -86,7 +86,7 @@
|
|||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="action-bar bottom">
|
||||
<div class="action-bar bar-bottom">
|
||||
<div class="pagination">
|
||||
{L_NOTIFICATIONS} [<strong>{TOTAL_COUNT}</strong>]
|
||||
<!-- IF .pagination -->
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<div class="inner">
|
||||
<!-- IF FOLDER_STATUS and FOLDER_MAX_MESSAGES neq 0 --><p>{FOLDER_STATUS}</p><!-- ENDIF -->
|
||||
|
||||
<div class="action-bar top">
|
||||
<div class="action-bar bar-top">
|
||||
<!-- IF U_POST_REPLY_PM or U_POST_NEW_TOPIC or U_FORWARD_PM -->
|
||||
<!-- IF U_POST_REPLY_PM -->
|
||||
<a title="{L_POST_REPLY_PM}" href="{U_POST_REPLY_PM}" class="button">
|
||||
|
|
|
@ -107,7 +107,7 @@
|
|||
|
||||
<hr />
|
||||
|
||||
<div class="action-bar bottom">
|
||||
<div class="action-bar bar-bottom">
|
||||
<div class="pagination">
|
||||
{TOTAL_MESSAGES}
|
||||
<!-- IF .pagination -->
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<div class="action-bar top">
|
||||
<div class="action-bar bar-top">
|
||||
<!-- EVENT viewtopic_buttons_top_before -->
|
||||
|
||||
|
@ -388,7 +387,7 @@
|
|||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT viewtopic_body_topic_actions_before -->
|
||||
<div class="action-bar bottom">
|
||||
<div class="action-bar bar-bottom">
|
||||
<!-- EVENT viewtopic_buttons_bottom_before -->
|
||||
|
||||
<!-- IF not S_IS_BOT and S_DISPLAY_REPLY_INFO -->
|
||||
|
|
|
@ -770,7 +770,7 @@ fieldset.fields1 dl.pmlist dd.recipients {
|
|||
/* Action-bars (container for post/reply buttons, pagination, etc.)
|
||||
---------------------------------------- */
|
||||
.action-bar {
|
||||
font-size: 1.1em;
|
||||
font-size: 11px;
|
||||
margin: 4px 0;
|
||||
}
|
||||
|
||||
|
@ -778,6 +778,11 @@ fieldset.fields1 dl.pmlist dd.recipients {
|
|||
margin-top: 2em;
|
||||
}
|
||||
|
||||
.action-bar .button {
|
||||
margin-right: 5px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
/* Pagination
|
||||
---------------------------------------- */
|
||||
.pagination {
|
||||
|
@ -787,10 +792,15 @@ fieldset.fields1 dl.pmlist dd.recipients {
|
|||
width: auto;
|
||||
}
|
||||
|
||||
.action-bar.bottom .pagination {
|
||||
.action-bar.bar-bottom .pagination {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.action-bar .pagination .button {
|
||||
margin-right: 0;
|
||||
float: none;
|
||||
}
|
||||
|
||||
.pagination > ul {
|
||||
display: inline-block;
|
||||
list-style: none !important;
|
||||
|
|
Loading…
Add table
Reference in a new issue