made things a little nicer to look at

This commit is contained in:
Expand-sys 2021-04-28 12:44:31 +10:00
parent 2c02a4fce1
commit 9d4770436a
4 changed files with 32 additions and 20 deletions

View file

@ -8,24 +8,32 @@ block content
.card
img(src="/blockimages/items/"+item.itemId+"-"+item.meta+".png")
.col
.row
.col-sm-2
p Item:
p ID:
.col-sm-4
p #{item.name}
p #{item.itemId}-#{item.meta}
center
.row
.col
p Item:
p ID:
.col
p #{item.name}
p #{item.itemId}-#{item.meta}
.col
.row
.col
h4 Buy
.col
h4 Sell
center
h4 Buy
.col
center
h4 Sell
.row
.col-sm-2
.col-xs
.col-sm-4
.col-xs
.col
a.btn.btn-primary(href="/marketplace/"+item._id+"/buy") Buy
center
a.btn.btn-primary(href="/marketplace/"+item._id+"/buy") Buy
.col
a.btn.btn-primary(href="/marketplace/"+item._id+"/list") List
center
a.btn.btn-primary(href="/marketplace/"+item._id+"/list") List

View file

@ -8,7 +8,7 @@ html
link(rel='stylesheet' href='/css/style.css')
meta(name='viewport', content='width=device-width, initial-scale=1.0')
body
nav.navbar.navbar-expand-lg.navbar-light.navbarrr.shadow-lg
nav.navbar.navbar-expand-lg.navbar-dark.navbarrr.shadow-lg
.container
a.navbar-brand(href='/')
img(src="/CCashLogo3.png" style="width:75px; height:74px")
@ -29,9 +29,11 @@ html
li.nav-item
a.nav-link(href='/logout').text-white Log out
li.nav-item
a.nav-link(href='/BankF').text-white Bank Dashboard
a.nav-link(href='/BankF').text-white Bank
li.nav-item
a.nav-link(href='/marketplace').text-white MarketPlace
li.nav-item
a.nav-link(href='/marketplace/marketdash').text-white MarketPlace-Dashboard
li.nav-item
a.nav-link(href='/settings').text-white Settings
if admin == true

View file

@ -8,7 +8,7 @@ html
link(rel='stylesheet' href='/css/style.css')
meta(name='viewport', content='width=device-width, initial-scale=1.0')
body
nav.navbar.navbar-expand-lg.navbar-light.navbarrr.shadow-lg
nav.navbar.navbar-expand-lg.navbar-dark.navbarrr.shadow-lg
.container
a.navbar-brand(href='/')
img(src="/CCashLogo3.png" style="width:75px; height:74px")
@ -29,9 +29,11 @@ html
li.nav-item
a.nav-link(href='/logout').text-white Log out
li.nav-item
a.nav-link(href='/BankF').text-white Bank Dashboard
a.nav-link(href='/BankF').text-white Bank
li.nav-item
a.nav-link(href='/marketplace').text-white MarketPlace
li.nav-item
a.nav-link(href='/marketplace/marketdash').text-white MarketPlace-Dashboard
li.nav-item
a.nav-link(href='/settings').text-white Settings
if admin == true

View file

@ -4,9 +4,9 @@ block content
.container
.row
each item in items
.col.col-xs-12.col-sm-2
.col.col-xs-12
a(href="/marketplace/"+item._id)
.card(style="height: 130px;width:140px")
.card(style="height: 130px;width:140px;margin:10px")
p #{item.name}
img(src="/blockimages/items/"+item.itemId+"-"+item.meta+".png")
br