This repository has been archived by the owner on Jun 26, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updates to home and nav per issue #9
- Loading branch information
1 parent
cc38668
commit 8bb52d2
Showing
16 changed files
with
141 additions
and
75 deletions.
There are no files selected for viewing
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,4 +1,4 @@ | ||
$font-family-text: "Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif !default; | ||
$font-family-text: "source-sans-pro","Helvetica Neue",Helvetica,Arial,sans-serif !default; | ||
$font-family-display: "chaparral-pro",Georgia,"Times New Roman",Times,serif; | ||
$font-family-code: "Source Code Pro",Monaco,Menlo,Consolas,"Courier New",monospace !default; | ||
$font-family-code: "source-code-pro",Monaco,Menlo,Consolas,"Courier New",monospace !default; | ||
$base-font-size: 14px !default; |
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
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,6 +1,6 @@ | ||
class HomeController < ApplicationController | ||
def index | ||
@extensions = Extension.order("created_at DESC").limit(4) | ||
@authors = User.authors.order("random()").limit(5) | ||
@extensions = Extension.order("created_at DESC").limit(6) | ||
@authors = User.authors.order("random()").limit(10) | ||
end | ||
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 |
---|---|---|
@@ -1,21 +1,18 @@ | ||
<tr> | ||
<div class="extension"> | ||
<% unless defined? hide_screenshot && hide_screenshot %> | ||
<td class="screenshot"> | ||
<div class="extension-image"> | ||
<%= image_tag extension.screenshot.url(:thumb), :width=>120 %> | ||
</td> | ||
</div> | ||
<% end %> | ||
<%= link_to extension.name, extension, :class=>"extension-name"%> | ||
<% unless defined? hide_edit && hide_edit %> | ||
<%= link_to "Edit", edit_extension_path(extension), :class=>"action" if can_edit?(extension) %> | ||
<% end %> | ||
<td class="info"> | ||
<div class="name"> | ||
<%= link_to extension.name, extension %> | ||
<% unless defined? hide_edit && hide_edit %> | ||
<%= link_to "Edit", edit_extension_path(extension), :class=>"action" if can_edit?(extension) %> | ||
<% end %> | ||
<div class="extension-text"><%= short_description(extension.description) %></div> | ||
<% unless defined? hide_author && hide_author %> | ||
<div class="authored"> | ||
by <%= link_to_author extension.author, :class=>"extension-author" %> | ||
<%= @extension.updated_at.to_date.to_s(:long) %> | ||
</div> | ||
<div class="description"><%= short_description(extension.description) %></div> | ||
<% unless defined? hide_author && hide_author %> | ||
<div class="authored"> | ||
by <%= link_to_author extension.author %> | ||
</div> | ||
<% end %> | ||
</td> | ||
</tr> | ||
<% end %> | ||
</div> |
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
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