Skip to content

Commit

Permalink
Resolve listings HTML errors
Browse files Browse the repository at this point in the history
  • Loading branch information
wyppeter committed Oct 18, 2017
1 parent 3d956b8 commit 957ddb7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions public/stylesheets/listingsstyle.css
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ dt span.departments > span, .email {
.listing-buttons {
height: 107.5px;
}
#weblink-button {
.weblink-button {
color: #fff !important;
margin-bottom: 7.5px;
background-color: #397fef;
Expand All @@ -166,25 +166,25 @@ mark {
padding: 0px;
margin: 0px;
}
#remFav, #addFav, #weblink-button {
.remFav, .addFav, .weblink-button {
width: 100%;
float: right;
clear: right;
height: 37px;
}
@media (max-width: 1000px) and (min-width: 650px) {
#remFav, #addFav, #weblink-button {
.remFav, .addFav, .weblink-button {
width: 40%;
}
}
#remFav, #addFav {
.remFav, .addFav {
color: #FFFFFF;
border: none;
}
#remFav {
.remFav {
background-color: #CE962A;
}
#addFav {
.addFav {
background-color: #279678;
}
.fav-form {
Expand Down
8 changes: 4 additions & 4 deletions views/listings.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
<div class="card-row-content truncateme description">
<input type='checkbox' class='hiddentrig' id='item{{this.list_id}}'><span class='desc-text'>
{{this.description}}
</span><label class='show-text' for='item{{this.list_id}}'>
</span><label class='show-text' for='item{{this.list_id}}'></label>
</div>
<!-- /.card-row-content -->
</div>
Expand All @@ -121,16 +121,16 @@
<br/>

{{#if this.website}}
<a href='{{this.website}}' class="btn" id="weblink-button" target="_blank">Go to website <i class="fa fa-chevron-right headout-chev"></i></a>
<a href='{{this.website}}' class="btn weblink-button" target="_blank">Go to website <i class="fa fa-chevron-right headout-chev"></i></a>
{{/if}}

{{#if isfavorite}}
<form action="/listings/removeFavorite/{{this.list_id}}" class="fav-form" method="POST">
<input type="submit" value="Remove from Favorites" class="form-control btn" id="remFav">
<input type="submit" value="Remove from Favorites" class="form-control btn remFav">
</form>
{{else}}
<form action="/listings/addFavorite/{{this.list_id}}" class="fav-form" method="POST">
<input type="submit" value="Add to Favorites" class="form-control btn" id="addFav">
<input type="submit" value="Add to Favorites" class="form-control btn addFav">
</form>
{{/if}}

Expand Down

0 comments on commit 957ddb7

Please sign in to comment.