Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
makon57 committed Jul 2, 2021
1 parent bbc256e commit 7c13b1c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 86 deletions.
6 changes: 1 addition & 5 deletions public/stylesheets/details.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@


.h1 {
color: #0f211a;
text-align: center;
Expand All @@ -10,10 +9,7 @@
display: flex;
justify-content: center;
}
/* .header {
position: fixed;
width: 100%;
} */


.nav-bar {
display: flex;
Expand Down
81 changes: 0 additions & 81 deletions views/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -44,84 +44,3 @@ block content
p(class="name") #{trail.name}
p(class="state") #{trail.state}
img(src=`./trails/trail-${trail.id}.jpg` alt=`${trail.name}` class=`trail-image-${trail.id}`)
//- div
//- table(class='table table-striped table-hover')
//- thead(class='thead-dark')
//- tr
//- th(scope='col') Trail Name
//- th(scope='col') State
//- tbody
//- each trail in trails
//- tr
//- td= trail.name
//- td= trail.state
//- td: a(class='btn btn-primary' href=`/trail/${trail.id}` role='button') Details
//- div
//- ul Users
//- each user in users
//- li= user.username
//- div
//- table
//- thead
//- tr
//- th Name
//- th Description
//- th State
//- tbody
//- each trail in trails
//- tr
//- td= trail.name
//- td= trail.description
//- td= trail.state
//- div
//- table(class='table table-striped table-hover')
//- thead(class='thead-dark')
//- tr
//- th(scope='col') Park Name
//- th(scope='col') Location
//- th(scope='col') Opened
//- th(scope='col') # of Attractions
//- th(scope='col')
//- tbody
//- each trail in trails
//- tr
//- td= trail.name
//- td= trail.state
//- td= trail.description
//- td: a(class='btn btn-primary' href=`/trail/${trail.id}` role='button') Details
//- div
//- each trail in trails
//- a(href=`/trails/${trail.id}` class="trailRoute")= trail.name
//- a(href="/my-routes/add") + Add New Route
//- div
//- form(action="/" method="get" id="demo" class="demo")
//- each trail in trails
//- a(href="/trails/" + trail.id)
//- h3= trail.name
//- p= trail.state
//- extends layout.pug
//- block content
//- div(class='py-3')
//- a(class='btn btn-success' href='/park/add' role='button') Add Park
//- table(class='table table-striped table-hover')
//- thead(class='thead-dark')
//- tr
//- th(scope='col') Park Name
//- th(scope='col') Location
//- th(scope='col') Opened
//- th(scope='col') # of Attractions
//- th(scope='col')
//- tbody
//- each park in parks
//- tr
//- td= park.parkName
//- td= `${park.city}, ${park.provinceState} ${park.country}`
//- td= park.opened
//- td= (park.attractions.length || 0)
//- td: a(class='btn btn-primary' href=`/park/${park.id}` role='button') Details

0 comments on commit 7c13b1c

Please sign in to comment.