-
Notifications
You must be signed in to change notification settings - Fork 23
/
about.hbs
60 lines (56 loc) · 2.34 KB
/
about.hbs
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
{{! This is a template file used to generate the license attribution using cargo-about
cargo install cargo-about
cargo about generate about.hbs > rust-attributions.html
}}<!DOCTYPE html>
<html>
<head>
<style>
@media (prefers-color-scheme: dark) {
body { background: #333; color: white; }
a { color: skyblue; }
}
.container { font-family: sans-serif; max-width: 800px; margin: 0 auto; }
.intro { text-align: center; }
.licenses-list { list-style-type: none; margin: 0; padding: 0; }
.license-used-by { margin-top: -10px; }
.license-text { max-height: 200px; overflow-y: scroll; white-space: pre-wrap; }
</style>
</head>
<body>
<main class="container">
<div class="intro">
<p>This program is distributed under the terms outlined in <a href="LICENSE-GPL">LICENSE-GPL</a></p>.
<h1>Third Party Licenses</h1>
<p>This page lists the licenses of the projects used in Cargo UI.</p>
<p>Auto-generated with <a href="https://github.com/EmbarkStudios/cargo-about">cargo-about</a></p>
</div>
<h2>Overview of licenses:</h2>
<ul class="licenses-overview">
{{#each overview}}
<li><a href="#{{id}}">{{name}}</a> ({{count}})</li>
{{/each}}
</ul>
<h2>All license text:</h2>
<ul class="licenses-list">
{{#each licenses}}
<li class="license">
<h3 id="{{id}}">{{name}}</h3>
<h4>Used by:</h4>
<ul class="license-used-by">
{{#each used_by}}
<li><a
href="{{#if crate.repository}} {{crate.repository}} {{else}} https://crates.io/crates/{{crate.name}} {{/if}}">{{crate.name}}
{{crate.version}}</a></li>
{{/each}}
</ul>
<pre class="license-text">{{text}}</pre>
</li>
{{/each}}
</ul>
<h2>Qt License attribution</h2>
<p>This program also uses the Qt library, which is licensed under the
<a href="LICENSE.QT">LGPL v3</a></p>.
<p>Qt may include additional third-party components: <a href="QtThirdPartySoftware_Listing.txt">QtThirdPartySoftware_Listing.txt</a></p>
</main>
</body>
</html>