Skip to content

Commit e59f201

Browse files
authored
Path-first URLs (#136)
1 parent c5dfecf commit e59f201

File tree

7 files changed

+43
-43
lines changed

7 files changed

+43
-43
lines changed

OConnor/resources/views/experiments.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
//the function for adding an experiment is defined in addExperiment.js
2424

2525
var buttonBarItems = [
26-
{text: 'Add New Experiment', handler: function() {window.location = '/oconnor' + containerPath + '/experimentInsert.view?'}}
26+
{text: 'Add New Experiment', handler: function() {window.location = containerPath + '/oconnor-experimentInsert.view'}}
2727
];
2828

2929
//list all experiments. sort descending by experiment number so newest experiments are at top of grid

OConnor/resources/views/inventory.html

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -13,41 +13,41 @@
1313
<ul>
1414
<li><span style="font-size: small;"><span style="font-size: small;"><strong>Search available</strong>:</span></span>
1515
<ul>
16-
<li><span class="Apple-style-span" style="font-size: small;"><a id="all_samples" href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view?schemaName=oconnor&amp;query.queryName=inventory&amp;query.viewName=all_samples"><strong>all available samples</strong></a></span></li>
17-
<li><span class="Apple-style-span" style="font-size: small;"><strong><a title="available specimens" href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view?schemaName=oconnor&amp;query.queryName=inventory&amp;query.viewName=specimen_available">specimens</a></strong></span></li>
18-
<li><span class="Apple-style-span" style="font-size: small;"><strong><a title="available nucleic acid samples" href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view?schemaName=oconnor&amp;query.queryName=inventory&amp;query.viewName=clinical_nucacid_available">DNA/RNA isolated from clinical samples</a></strong></span></li>
19-
<li><span class="Apple-style-span" style="font-size: small;"><a title="plasmid vectors" href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view?schemaName=oconnor&amp;query.queryName=inventory&amp;query.viewName=dna_available"><strong>plasmid vectors</strong></a></span></li>
20-
<li><span class="Apple-style-span" style="font-size: small;"><strong><a title="cell lines" href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view?schemaName=oconnor&amp;query.queryName=inventory&amp;query.viewName=cells_available">cell lines</a></strong></span></li>
21-
<li><span class="Apple-style-span" style="font-size: small;"><a title="available oligonucleotides" href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view?schemaName=oconnor&amp;query.queryName=inventory&amp;query.viewName=oligo_available"><strong>oligonucleotides</strong></a></span></li>
22-
<li><span class="Apple-style-span" style="font-size: small;"><strong><a title="available virus stocks" href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view?schemaName=oconnor&amp;query.queryName=inventory&amp;query.viewName=virus_available">virus stocks</a></strong></span></li>
16+
<li><span class="Apple-style-span" style="font-size: small;"><a id="all_samples" href="<%=contextPath%><%=containerPath%>/query-executeQuery.view?schemaName=oconnor&amp;query.queryName=inventory&amp;query.viewName=all_samples"><strong>all available samples</strong></a></span></li>
17+
<li><span class="Apple-style-span" style="font-size: small;"><strong><a title="available specimens" href="<%=contextPath%><%=containerPath%>/query-executeQuery.view?schemaName=oconnor&amp;query.queryName=inventory&amp;query.viewName=specimen_available">specimens</a></strong></span></li>
18+
<li><span class="Apple-style-span" style="font-size: small;"><strong><a title="available nucleic acid samples" href="<%=contextPath%><%=containerPath%>/query-executeQuery.view?schemaName=oconnor&amp;query.queryName=inventory&amp;query.viewName=clinical_nucacid_available">DNA/RNA isolated from clinical samples</a></strong></span></li>
19+
<li><span class="Apple-style-span" style="font-size: small;"><a title="plasmid vectors" href="<%=contextPath%><%=containerPath%>/query-executeQuery.view?schemaName=oconnor&amp;query.queryName=inventory&amp;query.viewName=dna_available"><strong>plasmid vectors</strong></a></span></li>
20+
<li><span class="Apple-style-span" style="font-size: small;"><strong><a title="cell lines" href="<%=contextPath%><%=containerPath%>/query-executeQuery.view?schemaName=oconnor&amp;query.queryName=inventory&amp;query.viewName=cells_available">cell lines</a></strong></span></li>
21+
<li><span class="Apple-style-span" style="font-size: small;"><a title="available oligonucleotides" href="<%=contextPath%><%=containerPath%>/query-executeQuery.view?schemaName=oconnor&amp;query.queryName=inventory&amp;query.viewName=oligo_available"><strong>oligonucleotides</strong></a></span></li>
22+
<li><span class="Apple-style-span" style="font-size: small;"><strong><a title="available virus stocks" href="<%=contextPath%><%=containerPath%>/query-executeQuery.view?schemaName=oconnor&amp;query.queryName=inventory&amp;query.viewName=virus_available">virus stocks</a></strong></span></li>
2323
</ul>
2424
</li>
2525
</ul>
2626
<ul>
27-
<li><span style="font-size: small;"><strong>Search removed</strong>: click to see&nbsp;<strong><a title="removed samples" href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view?schemaName=oconnor&amp;query.queryName=inventory_removed">samples that have been removed</a>&nbsp;</strong>from the inventory</span></li>
27+
<li><span style="font-size: small;"><strong>Search removed</strong>: click to see&nbsp;<strong><a title="removed samples" href="<%=contextPath%><%=containerPath%>/query-executeQuery.view?schemaName=oconnor&amp;query.queryName=inventory_removed">samples that have been removed</a>&nbsp;</strong>from the inventory</span></li>
2828
</ul>
2929
<ul>
3030
<li><span class="Apple-style-span" style="font-size: small;"><strong>Data integrity</strong>: add and edit allowable values in validated fields</span></li>
3131
</ul>
3232
<ul>
3333
<ul>
34-
<li><span style="font-size: small;"><strong><a href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view?schemaName=oconnor&amp;query.queryName=all_species">all species</a></strong></span></li>
35-
<li><span style="font-size: small;"><strong><a href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view?schemaName=oconnor&amp;query.queryName=all_specimens">all specimens</a></strong></span></li>
36-
<li><span style="font-size: small;"><strong><a href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view?schemaName=oconnor&amp;query.queryName=availability">availability</a></strong></span></li>
37-
<li><span style="font-size: small;"><strong><a href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view?schemaName=oconnor&amp;query.queryName=cell_type">cell type</a></strong></span></li>
38-
<li><span style="font-size: small;"><strong><a href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view?schemaName=oconnor&amp;query.queryName=dna_type">dna type</a></strong></span></li>
39-
<li><span style="font-size: small;"><strong><a href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view?schemaName=oconnor&amp;query.queryName=freezer_id">freezer</a></strong></span></li>
40-
<li><span style="font-size: small;"><strong><a href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view?schemaName=oconnor&amp;query.queryName=laboratory">laboratory</a></strong></span></li>
41-
<li><span style="font-size: small;"><strong><a href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view?schemaName=oconnor&amp;query.queryName=oligo_purification">oligo purification</a></strong></span></li>
42-
<li><span style="font-size: small;"><strong><a href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view?schemaName=oconnor&amp;query.queryName=oligo_type">oligo type</a></strong></span></li>
43-
<li><span style="font-size: small;"><strong><a href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view?schemaName=oconnor&amp;query.queryName=sample_type">sample type</a></strong></span></li>
44-
<li><span style="font-size: small;"><strong><a href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view?schemaName=oconnor&amp;query.queryName=specimen_additive">specimen additive</a></strong></span></li>
45-
<li><span style="font-size: small;"><strong><a href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view?schemaName=oconnor&amp;query.queryName=specimen_collaborator">specimen collaborator</a></strong></span></li>
46-
<li><span style="font-size: small;"><strong><a href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view?schemaName=oconnor&amp;query.queryName=specimen_geographic_origin">specimen geographic origin</a></strong></span></li>
47-
<li><span style="font-size: small;"><strong><a href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view?schemaName=oconnor&amp;query.queryName=specimen_institution">specimen institution</a></strong></span></li>
48-
<li><span style="font-size: small;"><strong><a href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view?schemaName=oconnor&amp;query.queryName=specimen_species">specimen species</a></strong></span></li>
49-
<li><span style="font-size: small;"><strong><a href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view?schemaName=oconnor&amp;query.queryName=specimen_type">specimen type</a></strong></span></li>
50-
<li><span style="font-size: small;"><strong><a href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view?schemaName=oconnor&amp;query.queryName=virus_strain">virus strain</a></strong></span></li>
34+
<li><span style="font-size: small;"><strong><a href="<%=contextPath%><%=containerPath%>/query-executeQuery.view?schemaName=oconnor&amp;query.queryName=all_species">all species</a></strong></span></li>
35+
<li><span style="font-size: small;"><strong><a href="<%=contextPath%><%=containerPath%>/query-executeQuery.view?schemaName=oconnor&amp;query.queryName=all_specimens">all specimens</a></strong></span></li>
36+
<li><span style="font-size: small;"><strong><a href="<%=contextPath%><%=containerPath%>/query-executeQuery.view?schemaName=oconnor&amp;query.queryName=availability">availability</a></strong></span></li>
37+
<li><span style="font-size: small;"><strong><a href="<%=contextPath%><%=containerPath%>/query-executeQuery.view?schemaName=oconnor&amp;query.queryName=cell_type">cell type</a></strong></span></li>
38+
<li><span style="font-size: small;"><strong><a href="<%=contextPath%><%=containerPath%>/query-executeQuery.view?schemaName=oconnor&amp;query.queryName=dna_type">dna type</a></strong></span></li>
39+
<li><span style="font-size: small;"><strong><a href="<%=contextPath%><%=containerPath%>/query-executeQuery.view?schemaName=oconnor&amp;query.queryName=freezer_id">freezer</a></strong></span></li>
40+
<li><span style="font-size: small;"><strong><a href="<%=contextPath%><%=containerPath%>/query-executeQuery.view?schemaName=oconnor&amp;query.queryName=laboratory">laboratory</a></strong></span></li>
41+
<li><span style="font-size: small;"><strong><a href="<%=contextPath%><%=containerPath%>/query-executeQuery.view?schemaName=oconnor&amp;query.queryName=oligo_purification">oligo purification</a></strong></span></li>
42+
<li><span style="font-size: small;"><strong><a href="<%=contextPath%><%=containerPath%>/query-executeQuery.view?schemaName=oconnor&amp;query.queryName=oligo_type">oligo type</a></strong></span></li>
43+
<li><span style="font-size: small;"><strong><a href="<%=contextPath%><%=containerPath%>/query-executeQuery.view?schemaName=oconnor&amp;query.queryName=sample_type">sample type</a></strong></span></li>
44+
<li><span style="font-size: small;"><strong><a href="<%=contextPath%><%=containerPath%>/query-executeQuery.view?schemaName=oconnor&amp;query.queryName=specimen_additive">specimen additive</a></strong></span></li>
45+
<li><span style="font-size: small;"><strong><a href="<%=contextPath%><%=containerPath%>/query-executeQuery.view?schemaName=oconnor&amp;query.queryName=specimen_collaborator">specimen collaborator</a></strong></span></li>
46+
<li><span style="font-size: small;"><strong><a href="<%=contextPath%><%=containerPath%>/query-executeQuery.view?schemaName=oconnor&amp;query.queryName=specimen_geographic_origin">specimen geographic origin</a></strong></span></li>
47+
<li><span style="font-size: small;"><strong><a href="<%=contextPath%><%=containerPath%>/query-executeQuery.view?schemaName=oconnor&amp;query.queryName=specimen_institution">specimen institution</a></strong></span></li>
48+
<li><span style="font-size: small;"><strong><a href="<%=contextPath%><%=containerPath%>/query-executeQuery.view?schemaName=oconnor&amp;query.queryName=specimen_species">specimen species</a></strong></span></li>
49+
<li><span style="font-size: small;"><strong><a href="<%=contextPath%><%=containerPath%>/query-executeQuery.view?schemaName=oconnor&amp;query.queryName=specimen_type">specimen type</a></strong></span></li>
50+
<li><span style="font-size: small;"><strong><a href="<%=contextPath%><%=containerPath%>/query-executeQuery.view?schemaName=oconnor&amp;query.queryName=virus_strain">virus strain</a></strong></span></li>
5151
</ul>
5252
</ul>
5353
<span style="font-size: x-small;" data-mce-style="font-size: x-small;"><span style="font-size: x-small;" data-mce-style="font-size: x-small;"></span></span><hr /><span style="font-size: x-small;"><em>Labkey inventory module v.2.0 by David O'Connor. Last updated 2011-07-22</em></span></div>

OConnor/resources/views/mhc_haplotypes_search_by_haplotype.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ <h2>WNPRC MHC Haplotypes</h2>
1010
<p>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.</p>
1111
<p>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.</p>
1212
<p>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.</p>
13-
<p><a href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view?schemaName=oconnor&amp;query.queryName=mhc_haplotypes&amp;query.viewName=enabled_haplotypes_simple">Click here to search MHC haplotypes of WNPRC Indian rhesus macaques</a></p>
14-
<p><a href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view?schemaName=oconnor&amp;query.queryName=mhc_haplotypes_distinct">Click here to view the MHC class I alleles encoded on Indian rhesus macaque MHC haplotypes</a>&nbsp;</p>
13+
<p><a href="<%=contextPath%><%=containerPath%>/query-executeQuery.view?schemaName=oconnor&amp;query.queryName=mhc_haplotypes&amp;query.viewName=enabled_haplotypes_simple">Click here to search MHC haplotypes of WNPRC Indian rhesus macaques</a></p>
14+
<p><a href="<%=contextPath%><%=containerPath%>/query-executeQuery.view?schemaName=oconnor&amp;query.queryName=mhc_haplotypes_distinct">Click here to view the MHC class I alleles encoded on Indian rhesus macaque MHC haplotypes</a>&nbsp;</p>
1515
</body>
1616
</html>

OConnor/resources/views/oc_purchase_start.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
</head>
44
<body>
55

6-
<p>Click here to <a href="<%=contextPath%>/oconnor<%=containerPath%>/my_purchases.view">view your orders</a> and begin using the system.</p>
6+
<p>Click here to <a href="<%=contextPath%><%=containerPath%>/oconnor-my_purchases.view">view your orders</a> and begin using the system.</p>
77
<p>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.&nbsp;</p>
88
</body>
99
</html>

0 commit comments

Comments
 (0)