-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
41 lines (40 loc) · 1.37 KB
/
index.html
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
---
layout: layout.liquid
clauses:
- 🚪: Privacy of Remote Users
- 🌳: Deforestation
- 🔌: Nonrenewable Power Generation
- ⛅: Offset for Renewable Investments
- 🛂: Civilian Internment
- 💸: For-Profit Prisons
---
<h1>License Selector</h1>
<div id="intro">
{% include licenseIntro %}
</div>
<div class="bg-light border border-primary">
<div id="provision-toggle" class="m-2" hidden>
{% for clause in clauses %}
{% for item in clause %}
<div class="form-check m-2">
<input type="checkbox" class="form-check-input" name="{{ item[0] }}" id="{{ item[1] }}-option">
<label class="form-check-label" for="{{ item[1] }}-option">Include {{ item[1] }} Provision {{ item[0] }}</label>
</div>
{% endfor %}
{% endfor %}
</div>
<noscript>
{% include licenseStaticInstructions %}
</noscript>
</div>
<div class="m-3" id="license">
<div class="text-justify" id="license-text"> {% include license-versions/atmosphere-0.4.html %}
</div>
{% include licenseEndInstructions %}
</div>
<div class="input-group">
<button type="button" class="btn btn-primary" id="license-markdown-button">Get License<br/>in Markdown</button>
<textarea id="license-markdown-box" rows="5" cols="60"></textarea>
</div>
<script src="https://unpkg.com/turndown/dist/turndown.js"></script>
<script src="js/atmosphere.js"></script>