-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add message model and remove inheritance relationship
- Loading branch information
Showing
9 changed files
with
270 additions
and
97 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
class Message | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<footer class="footer col-md-12"> | ||
<nav> | ||
<ul> | ||
<li><%= link_to "Gallery", '/gallery' %></li> | ||
<li><%= link_to "Testimonials", '#' %></li> | ||
<li><%= link_to "About", '/about' %></li> | ||
<li><%= link_to "Contact", '/contact' %></li> | ||
</ul> | ||
</nav> | ||
</footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,77 @@ | ||
<h1>StaticPages#gallery</h1> | ||
<div class="gallery_page_container" style="margin-top:0px;"> | ||
<% if false %> | ||
<div class="company_name"> | ||
<h2>Fox Decorating</h2> | ||
</div> | ||
<% end %> | ||
|
||
<div class="row"> | ||
<div class="col-sm-4"> | ||
<div class="thumbnail"> | ||
<a href="tom_work1.jpg"> | ||
<%= image_tag("tom_work1.jpg", alt: "Room") %> | ||
<div class="caption"> | ||
<p>Lorem ipsum...</p> | ||
</div> | ||
</a> | ||
</div> | ||
</div> | ||
<div class="col-sm-4"> | ||
<div class="thumbnail"> | ||
<a href="tom_work1.jpg"> | ||
<%= image_tag("tom_work2.jpg", alt: "Room") %> | ||
<div class="caption"> | ||
<p>Lorem ipsum...</p> | ||
</div> | ||
</a> | ||
</div> | ||
</div> | ||
<div class="col-sm-4"> | ||
<div class="thumbnail"> | ||
<a href="tom_work1.jpg"> | ||
<%= image_tag("tom_work5.jpg", alt: "Room") %> | ||
<div class="caption"> | ||
<p>Lorem ipsum...</p> | ||
</div> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="row"> | ||
<div class="col-sm-4"> | ||
<div class="thumbnail"> | ||
<a href="tom_work1.jpg"> | ||
<%= image_tag("tom_work4.jpg", alt: "Room") %> | ||
<div class="caption"> | ||
<p>Lorem ipsum...</p> | ||
</div> | ||
</a> | ||
</div> | ||
</div> | ||
<div class="col-sm-4"> | ||
<div class="thumbnail"> | ||
<a href="tom_work1.jpg"> | ||
<%= image_tag("tom_work3.jpg", alt: "Room") %> | ||
<div class="caption"> | ||
<p>Lorem ipsum...</p> | ||
</div> | ||
</a> | ||
</div> | ||
</div> | ||
<div class="col-sm-4"> | ||
<div class="thumbnail"> | ||
<a href="tom_work1.jpg"> | ||
<%= image_tag("tom_work34.jpg", alt: "Room") %> | ||
<div class="caption"> | ||
<p>Lorem ipsum...</p> | ||
</div> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
<!-- | ||
https://www.w3schools.com/bootstrap/bootstrap_images.asp--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
require 'rails_helper' | ||
|
||
RSpec.describe Message, type: :model do | ||
pending "add some examples to (or delete) #{__FILE__}" | ||
end |