-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.pug
58 lines (55 loc) · 1.68 KB
/
index.pug
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
doctype html
html(lang='en-US')
head
title= title
link(rel='stylesheet', href='/styles.css')
link(rel='shortcut icon' type='image/png' sizes="196x196" href='/favicon.png')
body
header
nav
img(src='/logo.svg')
ul
li
a(href='https://github.com/mozillach/mozilla-watcher/') Contribute
.container
.col
h2#repos Newest Repositories
table
thead
tr
th Created
th Name
th Organization
th Description
tbody
each repo in repos
tr
td
time(datetime=repo.creation_date)
= new Date(repo.creation_date).toLocaleDateString()
td
a(href='' + repo.html_url, target='_blank')
= repo.name
td
a(href='' + repo.owner_html_url, target='_blank')
= repo.org
td= repo.description
.col
h2#wiki Latest Wiki edits
table
thead
tr
th Changed on
th Title
th User
tbody
each edit in wikiEdits
tr
td
time(datetime=edit.change_date)
= new Date(edit.change_date).toLocaleDateString()
td
a(href='https://wiki.mozilla.org/' + edit.name, target='_blank')
= edit.name
td= edit.user
p.info It is currently not possible to fetch the recent changes from the Wiki through GitHub Actions, therefore it's currently disabled.