From a1e9be09367b6cf0383fca0847e7711b7843f382 Mon Sep 17 00:00:00 2001 From: Adam Rauch Date: Thu, 15 Feb 2024 17:19:41 -0800 Subject: [PATCH] Path-first URLs --- OConnor/resources/views/experiments.html | 2 +- OConnor/resources/views/inventory.html | 50 +++++++++---------- .../mhc_haplotypes_search_by_haplotype.html | 4 +- .../resources/views/oc_purchase_start.html | 2 +- OConnor/resources/views/purchases.html | 22 ++++---- OConnor/resources/views/start.html | 2 +- .../resources/views/experimentField.html | 4 +- 7 files changed, 43 insertions(+), 43 deletions(-) diff --git a/OConnor/resources/views/experiments.html b/OConnor/resources/views/experiments.html index 449d215b..0e582bae 100644 --- a/OConnor/resources/views/experiments.html +++ b/OConnor/resources/views/experiments.html @@ -23,7 +23,7 @@ //the function for adding an experiment is defined in addExperiment.js var buttonBarItems = [ - {text: 'Add New Experiment', handler: function() {window.location = '/oconnor' + containerPath + '/experimentInsert.view?'}} + {text: 'Add New Experiment', handler: function() {window.location = containerPath + '/oconnor-experimentInsert.view'}} ]; //list all experiments. sort descending by experiment number so newest experiments are at top of grid diff --git a/OConnor/resources/views/inventory.html b/OConnor/resources/views/inventory.html index fdfee45f..631b5686 100644 --- a/OConnor/resources/views/inventory.html +++ b/OConnor/resources/views/inventory.html @@ -13,41 +13,41 @@
Labkey inventory module v.2.0 by David O'Connor. Last updated 2011-07-22 diff --git a/OConnor/resources/views/mhc_haplotypes_search_by_haplotype.html b/OConnor/resources/views/mhc_haplotypes_search_by_haplotype.html index 1d725cd5..d424b39f 100644 --- a/OConnor/resources/views/mhc_haplotypes_search_by_haplotype.html +++ b/OConnor/resources/views/mhc_haplotypes_search_by_haplotype.html @@ -10,7 +10,7 @@

WNPRC MHC Haplotypes

With so many MHC class I genes per chromosome, it is perhaps not surprising that more than 1,000 MHC class I gene variants, or alleles, have been defined in Indian rhesus macaques. Comparable numbers of alleles have been identified in cynomolgus macaques and in rhesus macaques of other origins. For a long time, this led us to believe that sorting out MHC class I genetics would be unfathomably complex.

Conventional genotyping tests, or assays that determine which MHC class I alleles an animal possesses, have not even tried to understand this complexity. In the most common tests, termed PCR-SSP assays, animals are tested for the presence or absence of 8 MHC class I alleles important to SIV immunity. More recently, our group has performed deep sequencing on MHC class I alleles from a large number of macaques. To our surprise, we discovered that the majority of MHC class I chromosomes follow simple and predictable arrangements. The MHC class I region is subdivided further into MHC class I A and class I B genes; there are simple groups of MHC class I A and B alleles that are consistently inherited together as haplotypes.

We have derived descriptive names for these haplotypes that are based on the most 'major' MHC class I transcript it encodes. For example, the A001 haplotype encodes a set of alleles including Mamu-A1*001, an allele that is transcriptionally abundant and known to be involved in SIV immunity. Looking at an animal's haplotypes allows you to discover, at a glance, up to four MHC class I alleles that are potentially restricting CD8+ T cell responses (two MHC class I A and two MHC class I B haplotypes). We also have generated a dictionary that comprehensively lists all of the major and minor MHC class I transcripts associated with each haplotype.

-

Click here to search MHC haplotypes of WNPRC Indian rhesus macaques

-

Click here to view the MHC class I alleles encoded on Indian rhesus macaque MHC haplotypes 

+

Click here to search MHC haplotypes of WNPRC Indian rhesus macaques

+

Click here to view the MHC class I alleles encoded on Indian rhesus macaque MHC haplotypes 

\ No newline at end of file diff --git a/OConnor/resources/views/oc_purchase_start.html b/OConnor/resources/views/oc_purchase_start.html index ec79af21..54fc7bbd 100644 --- a/OConnor/resources/views/oc_purchase_start.html +++ b/OConnor/resources/views/oc_purchase_start.html @@ -3,7 +3,7 @@ -

Click here to view your orders and begin using the system.

+

Click here to view your orders and begin using the system.

As this system incorporates features from the previous DHO lab system and the Lab Hound system DHO developed with Scott Svendsen, there are likely going to be some bugs in this early version. Please report any problems to Dave. 

\ No newline at end of file diff --git a/OConnor/resources/views/purchases.html b/OConnor/resources/views/purchases.html index e6d45e91..ddb3b04c 100644 --- a/OConnor/resources/views/purchases.html +++ b/OConnor/resources/views/purchases.html @@ -28,8 +28,8 @@ //extract list ID var listId = listDir[1]; //write HTML that uses listID to create upload form - document.getElementById('purchasesUpload').innerHTML = '
  • Place new purchase request: click to  enter new item to purchase
  • '; - document.getElementById('purchasesCancel').innerHTML = '
  • Cancel existing order: click to cancel an existing order
  • '; + document.getElementById('purchasesUpload').innerHTML = '
  • Place new purchase request: click to  enter new item to purchase
  • '; + document.getElementById('purchasesCancel').innerHTML = '
  • Cancel existing order: click to cancel an existing order
  • '; }; var row = queriesInfo.queries[i]; @@ -42,7 +42,7 @@ //extract list ID var listId = listDir[1]; //write HTML that uses listID to create upload form - document.getElementById('vendorsUpload').innerHTML = '
  • Enter new vendor: click to add a new vendor  
  • '; + document.getElementById('vendorsUpload').innerHTML = '
  • Enter new vendor: click to add a new vendor  
  • '; }; var row = queriesInfo.queries[i]; @@ -55,7 +55,7 @@ //extract list ID var listId = listDir[1]; //write HTML that uses listID to create upload form - document.getElementById('grantsUpload').innerHTML = '
  • Add new funding source: click to add a new grant
  • '; + document.getElementById('grantsUpload').innerHTML = '
  • Add new funding source: click to add a new grant
  • '; }; }; @@ -77,22 +77,22 @@

    Enter new purchase, vendor, or grant:

    Process existing order:

    Other purchasing activities:

    diff --git a/OConnor/resources/views/start.html b/OConnor/resources/views/start.html index 5629ad85..666ce6e4 100644 --- a/OConnor/resources/views/start.html +++ b/OConnor/resources/views/start.html @@ -3,7 +3,7 @@ -

    Click here to view your orders and begin using the system.

    +

    Click here to view your orders and begin using the system.

    As this system incorporates features from the previous DHO lab system and the Lab Hound system DHO developed with Scott Svendsen, there are likely going to be some bugs in this early version. Please report any problems to Dave. 

    \ No newline at end of file diff --git a/OConnorExperiments/resources/views/experimentField.html b/OConnorExperiments/resources/views/experimentField.html index acfc9178..de966cd6 100644 --- a/OConnorExperiments/resources/views/experimentField.html +++ b/OConnorExperiments/resources/views/experimentField.html @@ -3,7 +3,7 @@
    - [history] + [history]
    @@ -19,7 +19,7 @@ var parentExperiments = experimentData['ParentExperiments/ExperimentNumber']; var parentLinks = []; for (var index = 0; index < parentExperiments.length; index++) { - parentLinks.push({title: 'Parent ' + parentExperiments[index], url: "<%=contextPath%>/project<%=containerPath%>/../" + parentExperiments[index] + "/begin.view"}); + parentLinks.push({title: 'Parent ' + parentExperiments[index], url: "<%=contextPath%><%=containerPath%>/../" + parentExperiments[index] + "/project-begin.view"}); } // Set the navtrail and page title LABKEY.NavTrail.setTrail("Experiment " + LABKEY.container.title, parentLinks, "Experiment " + LABKEY.container.title);