diff options
author | Christoph Helma <helma@in-silico.ch> | 2012-12-07 11:42:12 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2012-12-07 11:42:12 +0100 |
commit | 17e783b5d159f205f0de59c6c522f5de5b8c9a6e (patch) | |
tree | 0b9f3602770ec9388b109b8c83e832a61216878a /views/layout.haml | |
parent | c38f9f2e4c2dec4ef163c6c76d64f5dbf4974a5a (diff) |
working version without proxy
Diffstat (limited to 'views/layout.haml')
-rw-r--r-- | views/layout.haml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/views/layout.haml b/views/layout.haml index 8641692..40c6747 100644 --- a/views/layout.haml +++ b/views/layout.haml @@ -6,6 +6,7 @@ function display(element,uri) { $(element).html("<img src=\"/spinning-wait-icons/wait30trans.gif\" alt=\"Searching PubChem\">"); $.ajax({ + cache: true, url: uri, success: function(data){ $(element).html(data); @@ -20,7 +21,7 @@ %h1 adverse outcome pathways %form{:name => "form", :action => '/search', :method => "GET"} %fieldset - %label{:for => 'identifier'} Compound name: - %input{:type => 'text', :name => 'name', :id => 'name', :size => '60'} - %input{ :type => "submit", :value => "Predict" } + %label{:for => 'name'} Compound name: + %input{:type => 'text', :name => 'name', :id => 'name'} + %input{ :type => "submit", :value => "Search" } = yield |