Skip to content

Commit

Permalink
Nodemon config en styling aangepast
Browse files Browse the repository at this point in the history
  • Loading branch information
rschellius committed May 30, 2024
1 parent ec7fb5a commit bfdb7b1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
"devstart": "nodemon ./bin/www",
"dev": "SET DEBUG=express-site-example:* & npm run devstart"
},
"nodemonConfig": {
"ignore": [
"**/test/**",
"**/docs/**"
],
"ext": "js,json, pug, css",
"delay": 2500
},
"dependencies": {
"cookie-parser": "~1.4.4",
"debug": "~2.6.9",
Expand Down
6 changes: 0 additions & 6 deletions public/stylesheets/style.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
body {
width: 70%;
margin: 40px auto;
padding: 20px;
}

.sidebar-nav {
margin-top: 20px;
padding: 0;
Expand Down
2 changes: 1 addition & 1 deletion views/booklist.pug
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ block content
li
a(href=book.url) #{book.title}
| (#{book.author.name})
p.column= book.summary
p= book.summary

else
p There are no books.
6 changes: 3 additions & 3 deletions views/layout.pug
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ html(lang='en')
script(src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js", integrity="sha384-+sLIOodYLS7CIrQpBjl+C7nPvqq+FbNUBDunl/OZv93DB7Ln/533i8e/mZXLi/P+", crossorigin="anonymous")
link(rel='stylesheet', href='/stylesheets/style.css')
body
div(class='container-fluid')
div(class='container pt-md-5')
div(class='row')
div(class='col-sm-2')
div(class='col-md-2 col-sm-12')
block sidebar
ul(class='sidebar-nav')
li
Expand All @@ -35,5 +35,5 @@ html(lang='en')
//- li
//- a(href='/catalog/bookinstance/create') Create new book instance (copy)
div(class='col-sm-10')
div(class='col-md-10 col-sm-12')
block content

0 comments on commit bfdb7b1

Please sign in to comment.