diff options
author | mr <mr@mrautenberg.de> | 2011-03-30 12:57:57 +0200 |
---|---|---|
committer | mr <mr@mrautenberg.de> | 2011-03-30 12:57:57 +0200 |
commit | 0559ff4159064118292ddc9ef0dbb032afbb6aef (patch) | |
tree | 393f6554ba96f98769894a8963aea05a2510256e | |
parent | 592f509ec22dd3f742ee530c7b1692b1af05e528 (diff) |
icon for external links
-rw-r--r-- | public/external.gif | bin | 0 -> 212 bytes | |||
-rw-r--r-- | views/layout.haml | 2 | ||||
-rw-r--r-- | views/lazar.haml | 4 | ||||
-rw-r--r-- | views/style.sass | 3 |
4 files changed, 6 insertions, 3 deletions
diff --git a/public/external.gif b/public/external.gif Binary files differnew file mode 100644 index 0000000..6114959 --- /dev/null +++ b/public/external.gif diff --git a/views/layout.haml b/views/layout.haml index 2a96636..c849dec 100644 --- a/views/layout.haml +++ b/views/layout.haml @@ -50,4 +50,4 @@ © %a{:href => 'http://www.in-silico.ch', :rel => "external"} in silico toxicology 2009-2010, powered by - %a{:href => 'http://www.opentox.org', :rel => "external"} <span style="color:#5D308A;font-family:arial,sans-serif,helvetica;letter-spacing:-1px;">Open</span><span style="color:#000;font-family:arial,sans-serif,helvetica;font-weight:bold;letter-spacing:-1px;position:relative;">Tox</span> + %a{:href => 'http://www.opentox.org', :rel => "external"} <span style="color:#5D308A;font-family:arial,sans-serif,helvetica;letter-spacing:-1px;">Open</span><span style="color:#000;font-family:arial,sans-serif,helvetica;font-weight:bold;letter-spacing:-1px;">Tox</span> diff --git a/views/lazar.haml b/views/lazar.haml index d52a645..deb0c18 100644 --- a/views/lazar.haml +++ b/views/lazar.haml @@ -39,10 +39,10 @@ %a{:href => "http://ambit.uni-plovdiv.bg:8080/ambit2/query/structure/?search=#{@compound.smiles}", :rel => "external"} Ambit data
-# %li
%a{:href => "http://www.ncbi.nlm.nih.gov/sites/entrez?cmd=PureSearch&db=pccompound&term=#{URI.encode('"'+@compound.inchi+'"[InChI]')}", :rel => "external"} PubChem data
- (external)
+ (external) -# %li
%a{:href => "http://chem.sis.nlm.nih.gov/chemidplus/direct.jsp?result=advanced&inchi=#{URI.encode @compound.inchi}", :rel => "external"} ToxNet data
- -#http://chem.sis.nlm.nih.gov/chemidplus/direct.jsp?result=advanced®no=000143157
+ -#http://chem.sis.nlm.nih.gov/chemidplus/direct.jsp?result=advanced®no=000143157
%tr#names{ :style => "display: none;" }
%td{:colspan => '4'}
diff --git a/views/style.sass b/views/style.sass index db1f1bf..0588444 100644 --- a/views/style.sass +++ b/views/style.sass @@ -18,6 +18,9 @@ body color: $ot_purple a:hover color: black + a[rel="external"] + background: transparent url('../external.gif') center right no-repeat + padding-right: 15px .headline .logo |