Skip to content

Commit

Permalink
fixes and small changes to experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Cottman-Fields committed Apr 16, 2013
1 parent 267fe5f commit d6ab852
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/assets/javascripts/angular/controllers/experiments.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
var maxAttempts = 5;

function downloadRecursive(attemptsLeft, resource, storeProperty) {
if (attemptsLeft >= 0) {
if (attemptsLeft > 0) {
$http.get(resource + "?antiCache=" + Date.now().toString())
.success(function (data, status, headers, config) {
$scope.spec.additionalResources[storeProperty] = data;
Expand Down
9 changes: 8 additions & 1 deletion app/assets/templates/tour_experiment.html
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,14 @@

/* http://stackoverflow.com/questions/2293910/css3-transparency-gradient */
background: #ADC7A5; /* Old browsers */
background: -webkit-linear-gradient(top, rgba(173, 199, 165, 0.7) 0%, rgba(212, 222, 184, 0.7) 100%); /* Chrome10+,Safari5.1+ */
background: -moz-linear-gradient(top, rgba(173,199,165,0.7) 0%, rgba(212,222,184,0.7) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(173,199,165,0.7)), color-stop(100%,rgba(212,222,184,0.7))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(173,199,165,0.7) 0%,rgba(212,222,184,0.7) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(173,199,165,0.7) 0%,rgba(212,222,184,0.7) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(173,199,165,0.7) 0%,rgba(212,222,184,0.7) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(173,199,165,0.7) 0%,rgba(212,222,184,0.7) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b3adc7a5', endColorstr='#b3d4deb8',GradientType=0 ); /* IE6-9 */

}

.annotationResponses ul {
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<header>

<h1><a href="/">Bioacoustic Workbench</a></h1>
<ul>
<ul style="display:none;">
<li><a href="/projects">Projects</a></li>
<li><a href="/listen">Listen</a></li>

Expand Down

0 comments on commit d6ab852

Please sign in to comment.