Remove iframe (blocked by oTree headers), add quick-start instructions card
Browse files- templates/pages/session.html +25 -25
templates/pages/session.html
CHANGED
|
@@ -40,20 +40,18 @@
|
|
| 40 |
}
|
| 41 |
.url-bar .btn { white-space: nowrap; }
|
| 42 |
|
| 43 |
-
.
|
| 44 |
-
margin-top:
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
width: 100%;
|
| 52 |
-
height: calc(100vh - 260px);
|
| 53 |
-
min-height: 500px;
|
| 54 |
-
border: none;
|
| 55 |
-
display: block;
|
| 56 |
}
|
|
|
|
|
|
|
|
|
|
| 57 |
.status-dot {
|
| 58 |
display: inline-block;
|
| 59 |
width: 8px; height: 8px;
|
|
@@ -73,8 +71,8 @@
|
|
| 73 |
<span class="status-dot"></span> oTree Room Link
|
| 74 |
</h2>
|
| 75 |
<p style="color:var(--text-dim); font-size:.84rem;">
|
| 76 |
-
Click <strong>Open</strong> to join in a new tab, or
|
| 77 |
-
|
| 78 |
</p>
|
| 79 |
<div class="url-bar">
|
| 80 |
<code id="otree-url">{{ otree_url }}</code>
|
|
@@ -82,17 +80,19 @@
|
|
| 82 |
<a class="btn btn-primary" href="{{ otree_url }}" target="_blank" rel="noopener">Open</a>
|
| 83 |
</div>
|
| 84 |
</div>
|
| 85 |
-
</div>
|
| 86 |
|
| 87 |
-
<!--
|
| 88 |
-
<div class="
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
|
|
|
|
|
|
|
|
|
| 96 |
</div>
|
| 97 |
{% endblock %}
|
| 98 |
|
|
|
|
| 40 |
}
|
| 41 |
.url-bar .btn { white-space: nowrap; }
|
| 42 |
|
| 43 |
+
.info-card {
|
| 44 |
+
margin-top: .25rem;
|
| 45 |
+
display: flex;
|
| 46 |
+
align-items: flex-start;
|
| 47 |
+
gap: 1rem;
|
| 48 |
+
color: var(--text-dim);
|
| 49 |
+
font-size: .85rem;
|
| 50 |
+
line-height: 1.5;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
}
|
| 52 |
+
.info-card .icon { font-size: 1.4rem; flex-shrink: 0; margin-top: .1rem; }
|
| 53 |
+
.info-card ol { padding-left: 1.1rem; }
|
| 54 |
+
.info-card li { margin-bottom: .3rem; }
|
| 55 |
.status-dot {
|
| 56 |
display: inline-block;
|
| 57 |
width: 8px; height: 8px;
|
|
|
|
| 71 |
<span class="status-dot"></span> oTree Room Link
|
| 72 |
</h2>
|
| 73 |
<p style="color:var(--text-dim); font-size:.84rem;">
|
| 74 |
+
Click <strong>Open</strong> to join the experiment in a new tab, or
|
| 75 |
+
copy the link to paste into a browser.
|
| 76 |
</p>
|
| 77 |
<div class="url-bar">
|
| 78 |
<code id="otree-url">{{ otree_url }}</code>
|
|
|
|
| 80 |
<a class="btn btn-primary" href="{{ otree_url }}" target="_blank" rel="noopener">Open</a>
|
| 81 |
</div>
|
| 82 |
</div>
|
|
|
|
| 83 |
|
| 84 |
+
<!-- Quick-start instructions -->
|
| 85 |
+
<div class="card session-link-card">
|
| 86 |
+
<h2 style="font-size:1rem; margin-bottom:.5rem;">Quick Start</h2>
|
| 87 |
+
<div class="info-card">
|
| 88 |
+
<span class="icon">📋</span>
|
| 89 |
+
<ol>
|
| 90 |
+
<li>Click <strong>Open</strong> above — the oTree waiting room opens in a new tab.</li>
|
| 91 |
+
<li>The participant is automatically assigned when the session admin starts the experiment.</li>
|
| 92 |
+
<li>Repeat on each lab machine that needs to join.</li>
|
| 93 |
+
</ol>
|
| 94 |
+
</div>
|
| 95 |
+
</div>
|
| 96 |
</div>
|
| 97 |
{% endblock %}
|
| 98 |
|