Werk Tyme in catalog
This commit is contained in:
parent
a55daa2736
commit
1d2e956d7d
@ -833,9 +833,19 @@ span.hide-announcement {
|
||||
display: none;
|
||||
}
|
||||
/* Werk Tyme */
|
||||
.werkTyme .post .file {
|
||||
.werkTyme .post .file,
|
||||
.werkTyme .thumb > img,
|
||||
:root:not(.werkTyme) .thumb > span {
|
||||
display: none;
|
||||
}
|
||||
.werkTyme .thumb {
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
.werkTyme .pinned .thumb,
|
||||
.werkTyme .filter-highlight .thumb {
|
||||
border: 2px solid rgba(255, 0, 0, .5);
|
||||
}
|
||||
|
||||
/* Index/Reply Navigation */
|
||||
#navlinks {
|
||||
|
||||
@ -20,10 +20,19 @@ FappeTyme =
|
||||
name: 'Fappe Tyme'
|
||||
cb: @node
|
||||
|
||||
CatalogThread.callbacks.push
|
||||
name: 'Werk Tyme'
|
||||
cb: @catalogNode
|
||||
|
||||
node: ->
|
||||
return if @file
|
||||
$.addClass @nodes.root, "noFile"
|
||||
|
||||
catalogNode: ->
|
||||
{file} = @thread.OP
|
||||
return if !file
|
||||
$.add @nodes.thumb, $.el('span', textContent: file.name)
|
||||
|
||||
cb:
|
||||
set: (type) ->
|
||||
FappeTyme[type].checked = Conf[type]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user