mirror of
https://github.com/KivotosRailway/website.git
synced 2026-11-03 19:07:56 +09:00
Add solitude
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
div#console
|
||||
div.close-btn(onclick="sco.hideConsole()")
|
||||
i.solitude.st-close-fill
|
||||
if theme.console_plus
|
||||
div.console-card-group
|
||||
if theme.recent_comments.enable && theme.recent_comments.img
|
||||
div.console-card-group-left
|
||||
div.console-card#card-newest-comments(onclick="sco.hideConsole()")
|
||||
div.card-content
|
||||
div.author-content-item-tips= _p('console.comment_tip')
|
||||
div.author-content-item-title
|
||||
| #{_p('console.comment_title')}
|
||||
if theme.recent_comments.enable
|
||||
a.recent-comment-more(href=url_for(theme.recent_comments.page) title=_p('console.recent_comment_more'))
|
||||
i.solitude.st-right-btn-fill
|
||||
a.recent-comment-image(href=url_for(theme.recent_comments.page))
|
||||
img(src=theme.recent_comments.img)
|
||||
|
||||
div.console-card-group-right
|
||||
div.console-card.tags(onclick="sco.hideConsole()")
|
||||
div.card-content
|
||||
div.author-content-item-tips= _p('console.tag_tip')
|
||||
div.author-content-item-title= _p('console.tag_title')
|
||||
div.card-tag-cloud
|
||||
each tag in site.tags.find({ parent: { $exists: false } }).data
|
||||
a(href=url_for(tag.path))= tag.name
|
||||
sup= tag.length
|
||||
|
||||
div.console-card.history(onclick="sco.hideConsole()")
|
||||
include ./widgets/aside/asideArchive.pug
|
||||
|
||||
div.button-group
|
||||
div.console-btn-item
|
||||
span.darkmode_switchbutton(onclick="sco.switchDarkMode()", title=_p('console.switch_darkmode'))
|
||||
i.solitude.st-moon-clear-fill
|
||||
div.console-btn-item#consoleHideAside
|
||||
span.asideSwitch(onclick="sco.switchHideAside()", title=_p('console.switch_hideAside'))
|
||||
i.solitude.st-side-bar-fill
|
||||
if theme.keyboard.enable
|
||||
div.console-btn-item#consoleKeyboard(onclick="sco.switchKeyboard()")
|
||||
span.keyboardSwitch(title=_p('console.switch_keyboard'))
|
||||
i.solitude.st-keyboard-box-fill
|
||||
if theme.capsule.enable
|
||||
div.console-btn-item#consoleMusic(onclick="sco.musicToggle()")
|
||||
span.music-switch(title=_p('console.switch_music'))
|
||||
i.solitude.st-disc-fill
|
||||
if theme.comment.use && theme.comment.commentBarrage
|
||||
div.console-btn-item.on#consoleCommentBarrage(onclick="sco.switchCommentBarrage()")
|
||||
span.commentBarrage
|
||||
i.solitude.st-chat-fill
|
||||
div.console-mask(onclick="sco.hideConsole()")
|
||||
Reference in New Issue
Block a user