Skip to content

Commit c23dde1

Browse files
committed
Changed examples to coordinate with vue function
1 parent a8ced17 commit c23dde1

File tree

1 file changed

+33
-18
lines changed

1 file changed

+33
-18
lines changed

indra/assemblers/html/templates/indra/template.html

Lines changed: 33 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -252,61 +252,76 @@ <h2>{{ title }}</h2>
252252
<h3 class="bg-white">Summary</h3>
253253
<p>On this page, you can search for statements from the INDRA Database by applying different filters such as agents, relation types, MeSH terms, or papers.</p>
254254
<h4>Examples</h4>
255+
<!-- Examples -->
255256
<span style="color:#888;"></span>
256257
<span style="cursor:pointer; color:#256DC5; text-decoration:underline;"
257-
data-agent1="DUSP1" data-agent2="MAPK1"
258-
onclick="window.dispatchEvent(new CustomEvent('indra:example', { detail: { agent1: this.dataset.agent1, agent2: this.dataset.agent2 } }))">
259-
How does DUSP1 affect MAPK1?
258+
data-agent1="DUSP1"
259+
data-agent2="MAPK1"
260+
data-preset="s-o"
261+
onclick="window.dispatchEvent(new CustomEvent('indra:example', { detail: {
262+
agent1: this.dataset.agent1,
263+
agent2: this.dataset.agent2,
264+
preset: this.dataset.preset
265+
}}))">
266+
How does DUSP1 affect MAPK1?
260267
</span>
261268

262269
<br/>
263270

264271
<span style="color:#888;"></span>
265272
<span style="cursor:pointer; color:#256DC5; text-decoration:underline;"
266-
data-agent1="CDK12" data-role1="subject" data-stmt-type="Phosphorylation"
273+
data-agent1="CDK12"
274+
data-stmt-type="Phosphorylation"
275+
data-preset="s-o"
267276
onclick="window.dispatchEvent(new CustomEvent('indra:example', { detail: {
268277
agent1: this.dataset.agent1,
269-
role1: this.dataset.role1,
270-
stmtType: this.dataset.stmtType
278+
stmtType: this.dataset.stmtType,
279+
preset: this.dataset.preset
271280
}}))">
272-
What does CDK12 phosphorylate?
281+
What does CDK12 phosphorylate?
273282
</span>
274283

275284
<br/>
276285

277286
<span style="color:#888;"></span>
278287
<span style="cursor:pointer; color:#256DC5; text-decoration:underline;"
279-
data-agent2="MTOR" data-role2="object" data-stmt-type="Inhibition"
288+
data-agent1="MTOR"
289+
data-stmt-type="Inhibition"
290+
data-preset="o-s"
280291
onclick="window.dispatchEvent(new CustomEvent('indra:example', { detail: {
281-
agent2: this.dataset.agent2,
282-
role2: this.dataset.role2,
283-
stmtType: this.dataset.stmtType
292+
agent1: this.dataset.agent1,
293+
stmtType: this.dataset.stmtType,
294+
preset: this.dataset.preset
284295
}}))">
285-
What is known to inhibit mTOR?
296+
What is known to inhibit mTOR?
286297
</span>
287298

288299
<br/>
289300

290301
<span style="color:#888;"></span>
291302
<span style="cursor:pointer; color:#256DC5; text-decoration:underline;"
292303
data-agent1="PIK3CA"
304+
data-preset="any-any"
293305
onclick="window.dispatchEvent(new CustomEvent('indra:example', { detail: {
294-
agent1: this.dataset.agent1
306+
agent1: this.dataset.agent1,
307+
preset: this.dataset.preset
295308
}}))">
296-
Show all interactions involving PIK3CA.
309+
Show all interactions involving PIK3CA.
297310
</span>
298311

299312
<br/>
300313

301314
<span style="color:#888;"></span>
302315
<span style="cursor:pointer; color:#256DC5; text-decoration:underline;"
303-
data-agent1="Seliciclib" data-role1="subject" data-stmt-type="Inhibition"
316+
data-agent1="Seliciclib"
317+
data-stmt-type="Inhibition"
318+
data-preset="s-o"
304319
onclick="window.dispatchEvent(new CustomEvent('indra:example', { detail: {
305320
agent1: this.dataset.agent1,
306-
role1: this.dataset.role1,
307-
stmtType: this.dataset.stmtType
321+
stmtType: this.dataset.stmtType,
322+
preset: this.dataset.preset
308323
}}))">
309-
What does Seliciclib inhibit?
324+
What does Seliciclib inhibit?
310325
</span>
311326
</div>
312327

0 commit comments

Comments
 (0)