Change the OP page indicator.

This commit is contained in:
Mayhem 2013-11-16 20:19:17 +01:00
parent 1b8e55f0b4
commit b2b4197249
3 changed files with 3 additions and 10 deletions

View File

@ -11,7 +11,7 @@
- The page number on which threads are will now be displayed in OPs, to easily identify where threads are located when: - The page number on which threads are will now be displayed in OPs, to easily identify where threads are located when:
<ul> <ul>
<li> searching through the index. <li> searching through the index.
<li> using different index sorting types. <li> using different index modes and sorting types.
<li> threads highlighted by the filter are moved to the top and move other threads down. <li> threads highlighted by the filter are moved to the top and move other threads down.
<ul> <ul>
- The elapsed time since the last index refresh is now indicated at the top of the index. - The elapsed time since the last index refresh is now indicated at the top of the index.

View File

@ -391,12 +391,6 @@ a[href="javascript:;"] {
#index-search:not([data-searching]) + #index-search-clear { #index-search:not([data-searching]) + #index-search-clear {
display: none; display: none;
} }
.page-num {
font-family: inherit;
}
.page-num::before {
font-family: FontAwesome;
}
.summary { .summary {
text-decoration: none; text-decoration: none;
} }

View File

@ -192,7 +192,7 @@ Build =
if isOP and g.VIEW is 'index' if isOP and g.VIEW is 'index'
pageNum = Math.floor Index.liveThreadIDs.indexOf(postID) / Index.threadsNumPerPage pageNum = Math.floor Index.liveThreadIDs.indexOf(postID) / Index.threadsNumPerPage
pageIcon = "<i class='page-num fa fa-file-o' title='This thread is on page #{pageNum} in the original index.'> #{pageNum}</i> " pageIcon = " <span class=page-num title='This thread is on page #{pageNum} in the original index.'>Page #{pageNum}</span>"
replyLink = " &nbsp; <span>[<a href='/#{boardID}/res/#{threadID}' class=replylink>Reply</a>]</span>" replyLink = " &nbsp; <span>[<a href='/#{boardID}/res/#{threadID}' class=replylink>Reply</a>]</span>"
else else
pageIcon = replyLink = '' pageIcon = replyLink = ''
@ -228,7 +228,6 @@ Build =
(if isOP then fileHTML else '') + (if isOP then fileHTML else '') +
"<div class='postInfo desktop' id=pi#{postID}>" + "<div class='postInfo desktop' id=pi#{postID}>" +
pageIcon +
"<input type=checkbox name=#{postID} value=delete> " + "<input type=checkbox name=#{postID} value=delete> " +
"#{subject} " + "#{subject} " +
"<span class='nameBlock#{capcodeClass}'>" + "<span class='nameBlock#{capcodeClass}'>" +
@ -245,7 +244,7 @@ Build =
else else
"/#{boardID}/res/#{threadID}#q#{postID}" "/#{boardID}/res/#{threadID}#q#{postID}"
}' title='Quote this post'>#{postID}</a>" + }' title='Quote this post'>#{postID}</a>" +
sticky + closed + replyLink + pageIcon + sticky + closed + replyLink +
'</span>' + '</span>' +
'</div>' + '</div>' +