This repository was archived by the owner on Jun 2, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
77 lines (70 loc) · 2.93 KB
/
index.html
File metadata and controls
77 lines (70 loc) · 2.93 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
71
72
73
74
75
76
77
<!DOCTYPE html>
<html lang="en">
<head>
<title>Brief.me Python Package Index</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css" integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay" crossorigin="anonymous">
</head>
<body>
<div class="container">
<div class="text-center mt-5">
<h2>This is the PyPI server of Brief.me</h2>
</div>
<div class="row mt-5">
<div class="col-md-12">
<table class="table table-bordered table-hover" id="pypi">
<thead>
<tr>
<th scope="col" id="repository"><i class="fab fa-github"></i> Repository</th>
<th scope="col" id="description"><i class="far fa-comment"></i> Description</th>
<th scope="col" id="index"><i class="fas fa-info-circle"></i> PyPI</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<script src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/1.10.19/js/dataTables.bootstrap4.min.js"></script>
<script async defer>
$(document).ready(function(){
let repos = [
'marketing-blocks',
'django-esidoc',
'briefme-validator',
'django-segment',
'django-reactive',
'django-typographie',
'django-ip-access',
'briefme-indexable-feed',
'django-uploads',
'django-consent-user-information',
'onesignal-python',
'django-cookie-consent',
'django-cookie-consent-authenticateduser',
'django-library',
'django-ent',
'briefme-core',
'django-french-highschool',
];
repos.reverse();
let table = $('#pypi').DataTable({
"paging": false
});
repos.forEach(function(repo_name){
$.get('https://api.github.com/repos/briefmnews/' + repo_name, function(response){
table.row.add([
'<a href="' + response.html_url + '">' + response.name + '</a>',
response.description,
'<a href="' + response.name + '">' + response.name + '</a>'
]).draw();
}, 'json');
});
});
</script>
</body>
</html>