-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathgitrandom.html
121 lines (110 loc) · 6.55 KB
/
gitrandom.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html lang="en">
<head>
<title>Git Random</title>
<link href="assets/img/icon16.png" rel="icon" sizes="16x16" type="image/png">
<meta charset="UTF-8">
<link rel="stylesheet" href="assets/css/style.css">
</head>
<body>
<div class="columns">
<div class="header">
<h1>Git Random</h1>
</div>
<div class="status_container hide"></div>
<div class="success_container hide">
<div class="column one-fourth vcard">
</div>
<div class="column three-fourths">
<div class="boxed-group flush">
<h3>Repositories</h3>
<ul class="repo-list"></ul>
</div>
</div>
</div>
</div>
<script id="vcard" type="text/x-handlebars-template">
<a href="{{html_url}}" class="vcard-avatar d-block">
<img src="{{avatar_url}}" class="avatar rounded-2" height="230" src="#" width="230">
</a>
<div class="vcard-names my-3">
<div class="vcard-fullname">{{name}}</div>
<div class="vcard-username">{{login}}</div>
</div>
<ul class="vcard-details border-top border-bottom border-gray-light py-3">
{{#company_display}}
<li aria-label="Organization" class="vcard-detail py-1 css-truncate css-truncate-target" title="Tajawal">
<svg aria-hidden="true" class="octicon octicon-organization" height="16" version="1.1" viewBox="0 0 14 16"
width="14">
<path d="M4.75 4.95c0.55 0.64 1.34 1.05 2.25 1.05s1.7-0.41 2.25-1.05c0.34 0.63 1 1.05 1.75 1.05 1.11 0 2-0.89 2-2s-0.89-2-2-2c-0.41 0-0.77 0.13-1.08 0.33C9.61 1 8.42 0 7 0S4.39 1 4.08 2.33c-0.31-0.2-0.67-0.33-1.08-0.33-1.11 0-2 0.89-2 2s0.89 2 2 2c0.75 0 1.41-0.42 1.75-1.05z m5.2-1.52c0.2-0.38 0.59-0.64 1.05-0.64 0.66 0 1.2 0.55 1.2 1.2s-0.55 1.2-1.2 1.2-1.17-0.53-1.19-1.17c0.06-0.19 0.11-0.39 0.14-0.59zM7 0.98c1.11 0 2.02 0.91 2.02 2.02s-0.91 2.02-2.02 2.02-2.02-0.91-2.02-2.02S5.89 0.98 7 0.98zM3 5.2c-0.66 0-1.2-0.55-1.2-1.2s0.55-1.2 1.2-1.2c0.45 0 0.84 0.27 1.05 0.64 0.03 0.2 0.08 0.41 0.14 0.59-0.02 0.64-0.53 1.17-1.19 1.17z m10 0.8H1c-0.55 0-1 0.45-1 1v3c0 0.55 0.45 1 1 1v2c0 0.55 0.45 1 1 1h1c0.55 0 1-0.45 1-1v-1h1v3c0 0.55 0.45 1 1 1h2c0.55 0 1-0.45 1-1V12h1v1c0 0.55 0.45 1 1 1h1c0.55 0 1-0.45 1-1V11c0.55 0 1-0.45 1-1V7c0-0.55-0.45-1-1-1zM3 13h-1V10H1V7h2v6z m7-2h-1V9h-1v6H6V9h-1v2h-1V7h6v4z m3-1h-1v3h-1V7h2v3z"></path>
</svg>
{{company}}
</li>
{{/company_display}}
{{#location_display}}
<li aria-label="Home location" class="vcard-detail py-1 css-truncate css-truncate-target"
title="Dubai, United Arab Emirates">
<svg aria-hidden="true" class="octicon octicon-location" height="16" version="1.1" viewBox="0 0 12 16"
width="12">
<path d="M6 0C2.69 0 0 2.5 0 5.5c0 4.52 6 10.5 6 10.5s6-5.98 6-10.5C12 2.5 9.31 0 6 0z m0 14.55C4.14 12.52 1 8.44 1 5.5 1 3.02 3.25 1 6 1c1.34 0 2.61 0.48 3.56 1.36 0.92 0.86 1.44 1.97 1.44 3.14 0 2.94-3.14 7.02-5 9.05z m2-9.05c0 1.11-0.89 2-2 2s-2-0.89-2-2 0.89-2 2-2 2 0.89 2 2z"></path>
</svg>
{{location}}
</li>
{{/location_display}}
{{#email_display}}
<li aria-label="Email" class="vcard-detail py-1 css-truncate css-truncate-target">
<svg aria-hidden="true" class="octicon octicon-mail" height="16" version="1.1" viewBox="0 0 14 16"
width="14">
<path d="M0 4v8c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V4c0-0.55-0.45-1-1-1H1c-0.55 0-1 0.45-1 1z m13 0L7 9 1 4h12zM1 5.5l4 3L1 11.5V5.5z m1 6.5l3.5-3 1.5 1.5 1.5-1.5 3.5 3H2z m11-0.5L9 8.5l4-3v6z"></path>
</svg>
<a href="mailto:{{email}}">{{email}}</a>
</li>
{{/email_display}}
{{#blog_display}}
<li aria-label="Blog or website" class="vcard-detail py-1 css-truncate css-truncate-target">
<svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewBox="0 0 16 16"
width="16">
<path d="M4 9h1v1h-1c-1.5 0-3-1.69-3-3.5s1.55-3.5 3-3.5h4c1.45 0 3 1.69 3 3.5 0 1.41-0.91 2.72-2 3.25v-1.16c0.58-0.45 1-1.27 1-2.09 0-1.28-1.02-2.5-2-2.5H4c-0.98 0-2 1.22-2 2.5s1 2.5 2 2.5z m9-3h-1v1h1c1 0 2 1.22 2 2.5s-1.02 2.5-2 2.5H9c-0.98 0-2-1.22-2-2.5 0-0.83 0.42-1.64 1-2.09v-1.16c-1.09 0.53-2 1.84-2 3.25 0 1.81 1.55 3.5 3 3.5h4c1.45 0 3-1.69 3-3.5s-1.5-3.5-3-3.5z"></path>
</svg>
<a href="{{blog}}" class="url" rel="nofollow me">{{blog}}</a>
</li>
{{/blog_display}}
{{#created_at_display}}
<li aria-label="Member since" class="vcard-detail py-1 css-truncate css-truncate-target">
<svg aria-hidden="true" class="octicon octicon-clock" height="16" version="1.1" viewBox="0 0 14 16"
width="14">
<path d="M8 8h3v2H7c-0.55 0-1-0.45-1-1V4h2v4z m-1-5.7c3.14 0 5.7 2.56 5.7 5.7S10.14 13.7 7 13.7 1.3 11.14 1.3 8s2.56-5.7 5.7-5.7m0-1.3C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7S10.86 1 7 1z"></path>
</svg>
<span class="join-label">Joined on </span>
<time class="join-date">{{created_at}}</time>
</li>
{{/created_at_display}}
</ul>
</script>
<script id="repository_list" type="text/x-handlebars-template">
{{#repositories}}
<li class="public source">
<a href="{{html_url}}" class="mini-repo-list-item css-truncate">
<svg aria-label="Repository" class="octicon octicon-repo repo-icon" height="16" role="img"
version="1.1" viewBox="0 0 12 16" width="12">
<path d="M4 9h-1v-1h1v1z m0-3h-1v1h1v-1z m0-2h-1v1h1v-1z m0-2h-1v1h1v-1z m8-1v12c0 0.55-0.45 1-1 1H6v2l-1.5-1.5-1.5 1.5V14H1c-0.55 0-1-0.45-1-1V1C0 0.45 0.45 0 1 0h10c0.55 0 1 0.45 1 1z m-1 10H1v2h2v-1h3v1h5V11z m0-10H2v9h9V1z"></path>
</svg>
<span class="repo-and-owner css-truncate-target">
<span class="repo" title="{{name}}">{{name}}</span>
</span>
<span class="stars">
{{stargazers_count}}
<svg aria-label="stars" class="octicon octicon-star" height="16" role="img" version="1.1"
viewBox="0 0 14 16" width="14">
<path d="M14 6l-4.9-0.64L7 1 4.9 5.36 0 6l3.6 3.26L2.67 14l4.33-2.33 4.33 2.33L10.4 9.26 14 6z"></path>
</svg>
</span>
<span class="repo-description css-truncate-target">{{description}}</span>
</a>
</li>
{{/repositories}}
</script>
<script src="assets/js/handlebar.js"></script>
<script src="assets/js/git_random.js"></script>
</body>
</html>