view Resources/OrthancExplorer.js @ 30:b6801cfb19d2

updated year to 2024
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sun, 17 Mar 2024 09:02:14 +0100
parents 2464bacb730b
children
line wrap: on
line source

$('#lookup').live('pagebeforeshow', function() {
  $('#open-tcia-client').remove();
  
  var b = $('<fieldset>')
      .attr('id', 'open-tcia-client')
      .addClass('ui-grid-b')
      .append($('<div>')
              .addClass('ui-block-a'))
      .append($('<div>')
              .addClass('ui-block-b')
              .append($('<a>')
                      .attr('data-role', 'button')
                      .attr('href', '#')
                      .attr('data-icon', 'forward')
                      .attr('data-theme', 'a')
                      .text('The Cancer Imaging Archive')
                      .button()
                      .click(function(e) {
                        window.open('../tcia/app/index.html');
                      })));
  
  b.insertAfter($('#lookup-result'));
});