-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Completely new design for BioRuby shell on Rails translated from
the 'DibdoltRed' theme on www.openwebdesign.org which is created by Darjan Panic and Brian Green as a public domain work.
- Loading branch information
Showing
12 changed files
with
181 additions
and
64 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
2 changes: 2 additions & 0 deletions
2
lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_classes.rhtml
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,2 +1,4 @@ | ||
[ <%= @class %> ] | ||
<div id="class_list"> | ||
<%= @classes.map{ |x| reference_link(x) }.join(" > ") %> | ||
</div> |
1 change: 0 additions & 1 deletion
1
lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_log.rhtml
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
8 changes: 5 additions & 3 deletions
8
lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_methods.rhtml
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,9 +1,11 @@ | ||
[ <%= @class %> ] | ||
<table id="list_methods"> | ||
<div id="method_list"> | ||
<table> | ||
<tr> | ||
<%- step = @methods.size / 4 + 1 -%> | ||
<%- 0.step(@methods.size, step) do |i| -%> | ||
<td><%= @methods.sort[i, step].join("<br>") %></td> | ||
<td><%= @methods[i, step].join("<br>") %></td> | ||
<%- end -%> | ||
</tr> | ||
</table> | ||
</table> | ||
</div> |
4 changes: 3 additions & 1 deletion
4
lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/_modules.rhtml
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,2 +1,4 @@ | ||
[ <%= @class %> ] | ||
<%= @modules.map {|x| reference_link(x) }.join(" | ") %> | ||
<div id="module_list"> | ||
<%= @modules.map {|x| reference_link(x) }.sort.join("<br>") %> | ||
</div> |
Binary file added
BIN
+1.4 KB
lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bg.gif
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
54 changes: 30 additions & 24 deletions
54
lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/bioruby.rhtml
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,41 +1,47 @@ | ||
<html> | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title>BioRuby shell on Rails</title> | ||
<%= stylesheet_link_tag "bioruby.css" %> | ||
<%= javascript_include_tag :defaults %> | ||
</head> | ||
<body> | ||
|
||
<div id="side"> | ||
<img src="/images/bioruby.png"> | ||
<br> | ||
|
||
<div class="title">Project</div> | ||
<ul> | ||
<li><%= link_to "#{File.basename(project_workdir)}", "file://#{project_workdir}" %> | ||
</ul> | ||
<body> | ||
|
||
<div class="title">Functions</div> | ||
<ul> | ||
<li><%= link_to "Console", :action => "index" %></li> | ||
<li><%= link_to "History", :action => "history" %></li> | ||
<li><%= link_to "Commands", :action => "commands" %></li> | ||
</ul> | ||
<div id="content"> | ||
|
||
<div class="title">Local variables</div> | ||
<%= render :partial => "variables" %> | ||
<div id="side"> | ||
<div class="title">Project</div> | ||
<ul> | ||
<li><%= link_to "#{File.basename(project_workdir)}", "file://#{project_workdir}" %> | ||
</ul> | ||
|
||
<br> | ||
<a href="http://bioruby.org/"><img src="/images/bioruby.gif" border=0></a> | ||
</div> | ||
<div class="title">Functions</div> | ||
<ul> | ||
<li><%= link_to "Console", :action => "index" %></li> | ||
<li><%= link_to "History", :action => "history" %></li> | ||
<li><%= link_to "Commands", :action => "commands" %></li> | ||
</ul> | ||
|
||
<div class="title">Local variables</div> | ||
<%= render :partial => "variables" %> | ||
|
||
<div id="main"> | ||
<br> | ||
<a href="http://bioruby.org/"><img src="/images/bioruby.gif" border=0></a> | ||
</div><!-- side --> | ||
|
||
<h1>BioRuby shell on Rails</h1> | ||
<div id="title"> | ||
<p class="titletop">BioRuby shell on Rails</p> | ||
<p class="titlesub">Web interface for the BioRuby library</p> | ||
</div><!-- title --> | ||
|
||
<div id="main"> | ||
<%= yield %> | ||
</div><!-- main --> | ||
|
||
</div> | ||
</div><!-- content --> | ||
|
||
</body> | ||
|
||
</html> |
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
3 changes: 2 additions & 1 deletion
3
lib/bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/commands.rhtml
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,7 +1,8 @@ | ||
<div id="command"> | ||
<h2>BioRuby shell commands</h2> | ||
<ul> | ||
<% @bioruby_commands.each do |cmd| %> | ||
<li><%= cmd %></li> | ||
<% end %> | ||
</ul> | ||
|
||
</div> |
Binary file added
BIN
+568 KB
...bio/shell/rails/vendor/plugins/bioruby/generators/bioruby/templates/console.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.