Simplify into a page template thanks to aleksrutins/cheetah#1

This commit is contained in:
Aleks Rutins 2024-06-04 21:26:12 +00:00
parent 27390b6e77
commit e063e315ed
9 changed files with 28 additions and 42 deletions

View file

@ -1,6 +1,4 @@
<extends template="layouts/base.html" title="The Simplest Circuit"></extends>
<nav-links back="/concepts.html" next="/repressors.html"></nav-links>
<extends template="layouts/page.html" back="/concepts.html" next="/repressors.html" title="The Simplest Circuit"></extends>
# The Simplest Circuit
@ -96,8 +94,6 @@ Here's a graph to play with:
It's still a line. Onwards!
<nav-links back="/concepts.html" next="/repressors.html"></nav-links>
<script>
plot('#concentration-graph', (beta, gamma) => [`(${beta}x)/${gamma}`], ['#beta', '#gamma'])
plot('#concentration-graph-2step', (betap, gammap, betam, gammam) => [`((${betap})(${betam})x)/((${gammap})(${gammam}))`], ['#betap', '#gammap', '#betam', '#gammam'])