changed nav links, bolding and bracketed for mobile clicking

merge-requests/208/head
fatchan 5 years ago
parent ebf0b603f5
commit 6e59f1ee85
  1. 2
      views/includes/bannersheader.pug
  2. 7
      views/pages/banners.pug
  3. 5
      views/pages/board.pug
  4. 12
      views/pages/catalog.pug
  5. 10
      views/pages/thread.pug

@ -1,2 +1,4 @@
section.board-header
img.board-banner(src=`/randombanner?board=${board._id}` width='300' height='100')
br
h1.board-title Banners (#[a.no-decoration(href=`/${board._id}/index.html`) /#{board._id}/])

@ -5,6 +5,13 @@ block head
block content
include ../includes/bannersheader.pug
br
nav.pages
a(href=`/${board._id}/index.html`) [Index]
|
a(href=`/${board._id}/catalog.html`) [Catalog]
|
a.bold(href=`/${board._id}/banners.html`) [Banners]
hr(size=1)
section.catalog
if board.banners.length > 0

@ -14,7 +14,8 @@ block content
nav.pages
include ../includes/pages.pug
a(href=`/${board._id}/catalog.html`) [Catalog]
|
|
a(href=`/${board._id}/banners.html`) [Banners]
hr(size=1)
form(action='/forms/board/'+board._id+'/actions' method='POST' enctype='application/x-www-form-urlencoded')
if threads.length === 0
@ -29,5 +30,7 @@ block content
nav.pages#bottom
include ../includes/pages.pug
a(href=`/${board._id}/catalog.html`) [Catalog]
|
a(href=`/${board._id}/banners.html`) [Banners]
br
include ../includes/actionfooter.pug

@ -12,7 +12,11 @@ block content
include ../includes/stickynav.pug
.anchor#top
nav.pages
a(href=`/${board._id}/index.html`) [Return]
a(href=`/${board._id}/index.html`) [Index]
|
a.bold(href=`/${board._id}/catalog.html`) [Catalog]
|
a(href=`/${board._id}/banners.html`) [Banners]
hr(size=1)
if threads.length === 0
p No posts.
@ -21,4 +25,8 @@ block content
+catalogtile(board, thread)
hr(size=1)
nav.pages#bottom
a(href=`/${board._id}/index.html`) [Return]
a(href=`/${board._id}/index.html`) [Index]
|
a.bold(href=`/${board._id}/catalog.html`) [Catalog]
|
a(href=`/${board._id}/banners.html`) [Banners]

@ -23,9 +23,11 @@ block content
include ../includes/stickynav.pug
.anchor#top
nav.pages
a(href=`/${board._id}/index.html`) [Return]
|
a(href=`/${board._id}/index.html`) [Index]
|
a(href=`/${board._id}/catalog.html`) [Catalog]
|
a(href=`/${board._id}/banners.html`) [Banners]
hr(size=1)
form(action=`/forms/board/${board._id}/actions` method='POST' enctype='application/x-www-form-urlencoded')
section.thread
@ -34,8 +36,10 @@ block content
+post(post)
hr(size=1)
nav.pages#bottom
a(href=`/${board._id}/index.html`) [Return]
a(href=`/${board._id}/index.html`) [Index]
|
a(href=`/${board._id}/catalog.html`) [Catalog]
|
a(href=`/${board._id}/banners.html`) [Banners]
br
include ../includes/actionfooter.pug

Loading…
Cancel
Save