-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathProjectAdminBody.html
More file actions
61 lines (53 loc) · 3.93 KB
/
ProjectAdminBody.html
File metadata and controls
61 lines (53 loc) · 3.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{% if deployment.PUBLIC_DEMO %}
{% if deployment.ORIGIN == "https://demo.uproot.science" %}
<script>
const headsUp = document.createElement("div");
I("uproot-main").prepend(headsUp);
headsUp.className = "bg-uproot-subtle border border-uproot-subtle-light callout mb-4 px-3 py-3 text-uproot";
headsUp.setAttribute("role", "status");
headsUp.innerHTML =
`<div class="align-items-start d-flex gap-3">
<i class="bi bi-info-circle flex-shrink-0 fs-5 lh-1 mt-1 text-uproot" aria-hidden="true"></i>
<div class="small lh-base">
<div class="fw-semibold text-uproot-dark">Public demo server</div>
<div class="mt-1 text-body-secondary">
This is a public demo of
<a class="link-offset-2 link-underline-uproot link-underline-opacity-25 link-underline-opacity-100-hover link-uproot" href="https://uproot.science/">uproot</a>,
an open-source framework for deploying behavioral experiments and surveys in the social sciences.
Content on this server is public and cannot be perfectly controlled.
Please
<a class="link-offset-2 link-underline-uproot link-underline-opacity-25 link-underline-opacity-100-hover link-uproot" href="https://uproot.science/legal/">report objectionable material</a>.
The server restarts regularly and is located in Europe, which may affect performance depending on your location.
<a class="link-offset-2 link-underline-uproot link-underline-opacity-25 link-underline-opacity-100-hover link-uproot" href="https://demo-au.uproot.science/">Alternative server (hosted in Australia).</a>
<a class="link-offset-2 link-underline-uproot link-underline-opacity-25 link-underline-opacity-100-hover link-uproot" href="https://github.com/mrpg/uproot-examples">View source code.</a>
</div>
</div>
</div>`;
</script>
{% elif deployment.ORIGIN == "https://demo-au.uproot.science" %}
<script>
const headsUp = document.createElement("div");
I("uproot-main").prepend(headsUp);
headsUp.className = "bg-uproot-subtle border border-uproot-subtle-light callout mb-4 px-3 py-3 text-uproot";
headsUp.setAttribute("role", "status");
headsUp.innerHTML =
`<div class="align-items-start d-flex gap-3">
<i class="bi bi-info-circle flex-shrink-0 fs-5 lh-1 mt-1 text-uproot" aria-hidden="true"></i>
<div class="small lh-base">
<div class="fw-semibold text-uproot-dark">Public demo server</div>
<div class="mt-1 text-body-secondary">
This is a public demo of
<a class="link-offset-2 link-underline-uproot link-underline-opacity-25 link-underline-opacity-100-hover link-uproot" href="https://uproot.science/">uproot</a>,
an open-source framework for deploying behavioral experiments and surveys in the social sciences.
Content on this server is public and cannot be perfectly controlled.
Please
<a class="link-offset-2 link-underline-uproot link-underline-opacity-25 link-underline-opacity-100-hover link-uproot" href="https://uproot.science/legal/">report objectionable material</a>.
The server restarts regularly and is located in Australia, which may affect performance depending on your location.
<a class="link-offset-2 link-underline-uproot link-underline-opacity-25 link-underline-opacity-100-hover link-uproot" href="https://demo.uproot.science/">Alternative server (hosted in Europe).</a>
<a class="link-offset-2 link-underline-uproot link-underline-opacity-25 link-underline-opacity-100-hover link-uproot" href="https://github.com/mrpg/uproot-examples">View source code.</a>
</div>
</div>
</div>`;
</script>
{% endif %}
{% endif %}