Spaces:
Sleeping
Sleeping
Strip Twist Gateway: redirect like IDT/GenScript
Browse files- dee/static/index.html +11 -24
dee/static/index.html
CHANGED
|
@@ -548,8 +548,8 @@
|
|
| 548 |
|
| 549 |
<!-- ESMFold modal — fires from the per-row "Fold" button. POSTs the
|
| 550 |
variant's amino-acid sequence to Meta's public ESM Atlas API and
|
| 551 |
-
renders the returned PDB in a Mol* viewer.
|
| 552 |
-
structure
|
| 553 |
<div class="modal" id="foldModal" hidden role="dialog" aria-labelledby="foldModalTitle">
|
| 554 |
<div class="modal-backdrop" data-close-modal></div>
|
| 555 |
<div class="modal-panel" role="document">
|
|
@@ -582,26 +582,6 @@
|
|
| 582 |
</div>
|
| 583 |
</div>
|
| 584 |
|
| 585 |
-
<!-- Twist Gateway modal — quote + order flow. Hidden until launched. -->
|
| 586 |
-
<div class="modal" id="twistModal" hidden role="dialog" aria-labelledby="twistModalTitle">
|
| 587 |
-
<div class="modal-backdrop" data-close-modal></div>
|
| 588 |
-
<div class="modal-panel" role="document">
|
| 589 |
-
<header class="modal-header">
|
| 590 |
-
<div>
|
| 591 |
-
<h2 id="twistModalTitle">Synthesize via Twist</h2>
|
| 592 |
-
<p class="modal-sub" id="twistModalSub">Live quote from the local Twist Gateway</p>
|
| 593 |
-
</div>
|
| 594 |
-
<button class="modal-close" aria-label="Close" data-close-modal>×</button>
|
| 595 |
-
</header>
|
| 596 |
-
<div class="modal-body" id="twistModalBody">
|
| 597 |
-
<div class="modal-loading">
|
| 598 |
-
<span class="identify-spinner"></span>
|
| 599 |
-
<span>Requesting quote…</span>
|
| 600 |
-
</div>
|
| 601 |
-
</div>
|
| 602 |
-
</div>
|
| 603 |
-
</div>
|
| 604 |
-
|
| 605 |
<!-- =====================================================================
|
| 606 |
First-use disclaimer modal — shown automatically on first visit
|
| 607 |
(localStorage flag) and re-openable via the "Why?" link in the
|
|
@@ -693,9 +673,16 @@
|
|
| 693 |
</div>
|
| 694 |
</div>
|
| 695 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 696 |
<!-- Cloning reference data must load before app.js so the Designer
|
| 697 |
can read VECTORS / ENZYMES / CLONING_METHODS / TAGS / LINKERS. -->
|
| 698 |
-
<script src="/static/cloning_db.js?v=20260525-
|
| 699 |
-
<script src="/static/app.js?v=20260525-
|
| 700 |
</body>
|
| 701 |
</html>
|
|
|
|
| 548 |
|
| 549 |
<!-- ESMFold modal — fires from the per-row "Fold" button. POSTs the
|
| 550 |
variant's amino-acid sequence to Meta's public ESM Atlas API and
|
| 551 |
+
renders the returned PDB in a Mol* viewer. Standard .modal /
|
| 552 |
+
.modal-panel structure with the shared close-wiring. -->
|
| 553 |
<div class="modal" id="foldModal" hidden role="dialog" aria-labelledby="foldModalTitle">
|
| 554 |
<div class="modal-backdrop" data-close-modal></div>
|
| 555 |
<div class="modal-panel" role="document">
|
|
|
|
| 582 |
</div>
|
| 583 |
</div>
|
| 584 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 585 |
<!-- =====================================================================
|
| 586 |
First-use disclaimer modal — shown automatically on first visit
|
| 587 |
(localStorage flag) and re-openable via the "Why?" link in the
|
|
|
|
| 673 |
</div>
|
| 674 |
</div>
|
| 675 |
|
| 676 |
+
<!-- auth.js MUST load before app.js (and ideally before any /api/*
|
| 677 |
+
call) — it reads the JWT from the URL fragment, stashes it in
|
| 678 |
+
sessionStorage, and wraps window.fetch to attach the
|
| 679 |
+
Authorization header on every same-origin /api/* call. Without
|
| 680 |
+
this, signed-in users would still hit the anonymous-quota
|
| 681 |
+
gate. -->
|
| 682 |
+
<script src="/static/auth.js?v=20260525-auth"></script>
|
| 683 |
<!-- Cloning reference data must load before app.js so the Designer
|
| 684 |
can read VECTORS / ENZYMES / CLONING_METHODS / TAGS / LINKERS. -->
|
| 685 |
+
<script src="/static/cloning_db.js?v=20260525-auth" defer></script>
|
| 686 |
+
<script src="/static/app.js?v=20260525-auth" defer></script>
|
| 687 |
</body>
|
| 688 |
</html>
|