forked from creativecommons/ccos-website-source
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject_list.html
68 lines (68 loc) · 3.57 KB
/
project_list.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{% extends "layout.html" %}
{% block title %}{{ this.title }}{% endblock %}
{% block body %}
<p>This is a list of all our open source software projects at Creative Commons.</p>
<p>Please read the <a href="/contributing-code">Contributing Code</a> page for general information on how to contribute code to these projects. For contribution guidelines specific to a project, please read the README and the CONTRIBUTING file in the project repository. Not all repositories have these files yet (we're working on it!); if you'd like to contribute to a repository with no guidelines available, please talk to us through <a href="/community">one of our community forums</a> or open a GitHub issue.</p>
<h2>Featured Projects</h2>
<div class="card-deck">
{% for repo in bag('repos.repos') %}
{% if repo.featured %}
<div class="card featured-project-card border-dark mb-4">
<div class="card-body">
<h5 class="card-title"><strong>{{ repo.english_name }}</strong>
<div class="float-right">
<a class="btn btn-outline-secondary" href="{{ repo.url }}"><img src="{{ this.attachments.get('mark-github.svg')|url }}" alt="GitHub"/></a>
{% if repo.website %}
<a class="btn btn-outline-secondary" href="{{ repo.website }}"><img src="{{ this.attachments.get('link-external.svg')|url }}" alt="website"/></a>
{% endif %}
</div>
</h5>
<p class="card-text">{{ repo.description }}</p>
{% for technology in repo.technologies %}
<span class="badge badge-featured-project mr-1 mb-1">{{ technology }}</span>
{% endfor %}
</div>
</div>
{% endif %}
{% endfor %}
</div>
<h2>All Projects</h2>
<div class="alert alert-warning" role="alert">
<strong>Warning:</strong> This list is under construction. Some of these projects have incomplete (or non-existent) documentation, broken links, and/or are no longer maintained or supported. We're working on fixing that and this notice will be removed once the clean-up process is complete.
</div>
<table class="table table-striped">
<thead class="thead-dark">
<tr>
<th scope="col">#</th>
<th scope="col">Name</th>
<th scope="col">Description</th>
<th scope="col">Language</th>
<th scope="col">License</th>
<th scope="col">Links</th>
</tr>
</thead>
<tbody>
{% for repo in bag('repos.repos') %}
<tr>
<th scope="row">{{ loop.index }}</th>
<th scope="row">{{ repo.name }}</th>
{% if repo.description %}
<td>{{ repo.description }}</td>
{% else %}
<td></td>
{% endif %}
<td>{{ repo.language }}</td>
{% if repo.license %}
<td><a href="{{ repo.license.url }}">{{ repo.license.name }}</a></td>
{% else %}
<td>Not specified</td>
{% endif %}
<td style="min-width: 12rem;">
<a class="btn btn-outline-secondary btn-sm" href="{{ repo.url }}"><img src="{{ this.attachments.get('mark-github.svg')|url }}" alt="GitHub"/> GitHub</a>{% if repo.website %} <a class="btn btn-outline-secondary btn-sm" href="{{ repo.website }}"><img src="{{ this.attachments.get('link-external.svg')|url }}" alt="website"/> Website</a>{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
<p class="text-muted">Archived projects are not documented here and can be found on the <a href="https://github.com/cc-archive">CC Archive GitHub organization</a>.</p>
{% endblock %}