-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathProjectAdminBody.html
More file actions
19 lines (16 loc) · 1.3 KB
/
ProjectAdminBody.html
File metadata and controls
19 lines (16 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{% if deployment.PUBLIC_DEMO and deployment.ORIGIN == "https://demo.uproot.science" %}
<script>
const headsUp = document.createElement("div");
I("uproot-main").prepend(headsUp);
headsUp.classList = "bg-uproot-light border-5 border-start border-uproot-light mb-5 px-4 py-3 text-uproot";
headsUp.innerHTML =
`<b>Heads up:</b> This is a public demo of
<a class="link-offset-2 link-underline-uproot link-underline-opacity-25 link-underline-opacity-100-hover text-uproot" href="https://uproot.science/">uproot</a>,
an open-source framework for deploying behavioral experiments and surveys in the social sciences.
Due to the public nature of this site, its content cannot be perfectly controlled.
Please <a class="link-offset-2 link-underline-uproot link-underline-opacity-25 link-underline-opacity-100-hover text-uproot" href="https://uproot.science/legal/">report</a>
any objectionable material so that it can be removed.
This 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 text-uproot" href="https://github.com/mrpg/uproot-examples">View source code.</a>`;
</script>
{% endif %}