-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed YUI, multiple improvements I can't remember since Xmas
- Loading branch information
Showing
95 changed files
with
333 additions
and
756 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ vendor/cache/ | |
vendor/ruby | ||
public/assets | ||
config/deployvendor/ruby | ||
*.sublime* |
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
Binary file not shown.
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 |
---|---|---|
|
@@ -11,5 +11,4 @@ | |
//= require jstree | ||
//= require tether | ||
//= require bootstrap | ||
//= require yui-min | ||
//= require_tree . |
File renamed without changes.
This file was deleted.
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 was deleted.
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 was deleted.
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
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
|
||
<%= render 'form' %> | ||
|
||
<%= show_link @data_file_type %> | ||
<%= link_to_show @data_file_type %> |
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,5 +1,5 @@ | ||
<h1>Editing diet</h1> | ||
|
||
<%= render :partial => 'form' %> | ||
<%= show_link @diet %> | ||
|
||
<%= link_to_show @diet %> |
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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
h1= @sample.blank? ? 'Experiments' : "Experiments for sample # @sample " | ||
|
||
table.list | ||
thead | ||
tr | ||
th= TestSubject.title | ||
th Sample | ||
th Title | ||
th Type | ||
th Description | ||
th To be analyzed by | ||
th To be analyzed on | ||
th Analyzed by | ||
th Analyzed on | ||
th Data Files | ||
th colspan="3" | ||
tbody | ||
- @experiments.each do |experiment| | ||
tr | ||
td= link_to(experiment.sample.root, experiment.sample.root) | ||
td= link_to(experiment.sample, experiment.sample) | ||
td= experiment.name | ||
td= experiment.experiment_type.name unless experiment.experiment_type.nil? | ||
td= truncate(experiment.description, :length => 50) | ||
td= link_to(experiment.assigned_to.name, experiment.assigned_to) if experiment.assigned_to.present? | ||
td= experiment.perform_on | ||
td | ||
- if experiment.performed_by | ||
= link_to(experiment.performed_by.name, experiment.performed_by) | ||
- else | ||
= nah nil | ||
td = nah experiment.performed_on | ||
td | ||
- if experiment.data_files.length > 0 | ||
ul | ||
- experiment.data_files.each do |data_file| | ||
li= link_to data_file.data_file_name, data_file.data.url | ||
- else | ||
= nah | ||
td= link_to_show [experiment.sample, experiment] | ||
td= link_to_edit edit_sample_experiment_path(experiment.sample, experiment) | ||
td= link_to_destroy [experiment.sample, experiment] | ||
|
||
- if @sample.present? | ||
= link_to_new 'experiment for this sample', new_sample_experiment_path(@sample) | ||
|
Oops, something went wrong.