-
Notifications
You must be signed in to change notification settings - Fork 90
Expand file tree
/
Copy pathabout.html
More file actions
70 lines (63 loc) · 2.06 KB
/
about.html
File metadata and controls
70 lines (63 loc) · 2.06 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
62
63
64
65
66
67
68
69
70
{% extends "base.html" %}
{% block title %}About{% endblock %}
{% block heading %}About Patchwork{% endblock %}
{% block body %}
<div class="container">
<h1>About Patchwork</h1>
<p>Patchwork is free software, and is available from the <a
href="http://jk.ozlabs.org/projects/patchwork/">Patchwork website</a>.
Documentation is available on <a
href="http://patchwork.readthedocs.io/">Read the Docs</a>.</p>
<p>Patchwork is built on the <a href="https://djangoproject.com/">Django</a>
web framework using <a href="https://getbootstrap.com/">Bootstrap</a>.</p>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Version</h3>
</div>
<ul class="list-group">
<li class="list-group-item">
<p>{{ version }}</p>
</li>
</ul>
</div>
{% if admins %}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Administrators</h3>
</div>
<ul class="list-group">
{% for admin in admins %}
<li class="list-group-item">
<a href="mailto:{{ admin.1 }}">{{ admin.0 }}</a>
</li>
{% endfor %}
</ul>
</div>
{% endif %}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">API Status</h3>
</div>
<ul class="list-group">
<li class="list-group-item">
REST
<span class="glyphicon glyphicon-question-sign" title="The REST API"></span>
{% if enabled_apis.rest %}
<span class="label label-success pull-right">enabled</span>
{% else %}
<span class="label label-warning pull-right">disabled</span>
{% endif %}
</li>
<li class="list-group-item">
XML-RPC
<span class="glyphicon glyphicon-question-sign" title="The XML-RPC API"></span>
{% if enabled_apis.xmlrpc %}
<span class="label label-success pull-right">enabled</span>
{% else %}
<span class="label label-warning pull-right">disabled</span>
{% endif %}
</li>
</ul>
</div>
</div>
{% endblock %}