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