more style changes & fixes

merge-requests/208/head
fatchan 5 years ago
parent 9aff8a6031
commit 205b92275a
  1. 1
      views/includes/boardheader.pug
  2. 21
      views/includes/pages.pug
  3. 2
      views/includes/postform.pug
  4. 5
      views/pages/board.pug
  5. 1
      views/pages/catalog.pug
  6. 1
      views/pages/manage.pug
  7. 3
      views/pages/thread.pug

@ -1,5 +1,6 @@
section.board-header
object.board-banner(data=`/banners?board=${board._id}` width='300' height='100')
br
a.no-decoration(href=`/${board._id}/index.html`)
h1.board-title /#{board._id}/ - #{board.name}
h4.board-description #{board.description}

@ -1,20 +1,15 @@
| Page:
if page === 1
span
a(href=`/${board._id}/index.html`) [#{1}]
|
a(href=`/${board._id}/index.html`) [#{1}]
|
else
span
a(href=`/${board._id}/index.html`) #{1}
|
a(href=`/${board._id}/index.html`) #{1}
|
- for(let i = 2; i <= maxPage; i++)
if i === page
span
a(href=`/${board._id}/${i}.html`) [#{i}]
|
a(href=`/${board._id}/${i}.html`) [#{i}]
|
else
span
a(href=`/${board._id}/${i}.html`) #{i}
|
a(href=`/${board._id}/${i}.html`) #{i}
|
| |

@ -1,4 +1,4 @@
section.form-wrapper.flex-center.mv-10
section.form-wrapper.flex-center
details.toggle-label
summary Show Post Form
form.form-post(action=`/forms/board/${board._id}/post`, enctype='multipart/form-data', method='POST')

@ -6,15 +6,17 @@ block head
block content
include ../includes/boardheader.pug
br
include ../includes/postform.pug
br
nav.pages#top
include ../includes/pages.pug
a(href='#bottom') [Bottom]
|
a(href=`/${board._id}/catalog.html`) [Catalog]
|
hr(size=1)
form(action='/forms/board/'+board._id+'/actions' method='POST' enctype='application/x-www-form-urlencoded')
//input(type='hidden' name='_csrf' value=csrf)
if threads.length === 0
p No posts.
hr(size=1)
@ -29,4 +31,5 @@ block content
a(href='#top') [Top]
|
a(href=`/${board._id}/catalog.html`) [Catalog]
br
include ../includes/actionfooter.pug

@ -6,6 +6,7 @@ block head
block content
include ../includes/boardheader.pug
br
nav.pages#top
a(href='#bottom') [Bottom]
|

@ -7,6 +7,7 @@ block head
block content
include ../includes/boardheader.pug
br
h4.no-m-p Settings:
section.form-wrapper.flexleft.mv-10
form.form-post(action=`/forms/board/${board._id}/settings` method='POST' enctype='application/x-www-form-urlencoded')

@ -11,7 +11,9 @@ block head
block content
include ../includes/boardheader.pug
br
include ../includes/postform.pug
br
nav.pages#top
a(href='#bottom') [Bottom]
|
@ -32,4 +34,5 @@ block content
a(href=`/${board._id}/index.html`) [Return]
|
a(href=`/${board._id}/catalog.html`) [Catalog]
br
include ../includes/actionfooter.pug

Loading…
Cancel
Save