forked from zk/clojuredocs
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Site redesign, mostly happy with it so far.
- Loading branch information
Showing
21 changed files
with
275 additions
and
81 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
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,18 +1,22 @@ | ||
<script type="text/javascript" charset="utf-8"> | ||
SyntaxHighlighter.all() | ||
SyntaxHighlighter.all() | ||
</script> | ||
<h1>Changes for <span class="ns"><%= @example.function.namespace.name %>/</span><%= @example.function.name %></h1> | ||
<div class="container_16"> | ||
<div class="grid_16"> | ||
<h1>Changes for <span class="ns"><%= @example.function.namespace.name %>/</span><%= @example.function.name %></h1> | ||
|
||
<% @versions.each do |v| %> | ||
<% if v.user_id | ||
vuser = User.find(v.user_id)%> | ||
<div class="version"> | ||
<div class="info"> | ||
<img src="<%= grav_url_for(vuser.email, 25) %>" /> | ||
<%= link_to vuser.login, :controller => 'user', :action => 'profile', :login => vuser.login %> | ||
<%= time_ago_or_time_stamp((v.updated_at || v.created_at)) %> | ||
<% @versions.each do |v| %> | ||
<% if v.user_id | ||
vuser = User.find(v.user_id)%> | ||
<div class="version"> | ||
<div class="info"> | ||
<img src="<%= grav_url_for(vuser.email, 25) %>" /> | ||
<%= link_to vuser.login, :controller => 'user', :action => 'profile', :login => vuser.login %> | ||
<%= time_ago_or_time_stamp((v.updated_at || v.created_at)) %> | ||
</div> | ||
<%= render :partial => "/examples/example", :locals => {:e => v, :hide_controls => true}%> | ||
</div> | ||
<% end %> | ||
<% end %> | ||
</div> | ||
<%= render :partial => "/examples/example", :locals => {:e => v, :hide_controls => true}%> | ||
</div> | ||
<% end %> | ||
<% 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
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,11 +1,15 @@ | ||
<div class="libraries"> | ||
<% @libs.each do |l| %> | ||
<h2> | ||
<%= link_to l.name, :controller => 'main', :action => 'lib', :lib => l.url_friendly_name %> | ||
</h2> | ||
<div class="lib_link"> | ||
<a href="<%= l.site_url %>"><%= l.site_url %></a> | ||
<p class="description"><%= l.description %></a> | ||
<div class="container_16"> | ||
<div class="grid_16"> | ||
<div class="libraries"> | ||
<% @libs.each do |l| %> | ||
<h2> | ||
<%= link_to l.name, :controller => 'main', :action => 'lib', :lib => l.url_friendly_name %> | ||
</h2> | ||
<div class="lib_link"> | ||
<a href="<%= l.site_url %>"><%= l.site_url %></a> | ||
<p class="description"><%= l.description %></a> | ||
</div> | ||
<% end %> | ||
</div> | ||
</div> | ||
<% 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
Oops, something went wrong.