This repository has been archived by the owner on Aug 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
81 lines (75 loc) · 2.47 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>License me maybe...</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/javascript" src="vue.min.js"></script>
<link rel="stylesheet" href="semantic.min.css">
<style type="text/css">
body { background: #20262E; }
#app { margin: 1em; }
</style>
</head>
<body>
<div id="app" class="ui segment">
<div class="ui stackable grid">
<div class="four wide column">
<div class="ui header input">
<input type="text" v-model="org_login"
v-on:keyup.enter="getOrg">
</div>
</div>
<div class="ten wide column">
<div class="ui stackable buttons">
<div class="ui toggle button" v-bind:class="{active: focus === 'repos'}"
v-on:click="focus = 'repos'">
<div class="ui horizontal statistic">
<div class="value">{{ org.public_repos }}</div>
<div class="label">public repos</div>
</div>
</div>
<div class="ui toggle button" v-bind:class="{active: focus === 'sources'}"
v-on:click="focus = 'sources'">
<div class="ui horizontal statistic">
<div class="value">{{ sources.length }}</div>
<div class="label">originals</div>
</div>
</div>
<div class="ui toggle button" v-bind:class="{active: focus === 'forks'}"
v-on:click="focus = 'forks'">
<div class="ui horizontal statistic">
<div class="value">{{ forks.length }}</div>
<div class="label">forks</div>
</div>
</div>
</div>
</div>
<div class="two wide column">
<a class="ui blue right ribbon label" href="https://github.com/wileylabs/license-me-maybe">fork this at WileyLabs</a>
</div>
</div>
<div class="ui two column stackable grid">
<div class="column">
<h2>Unlicensed:</h2>
<ol>
<li is="repo-list-item"
v-for="repo in unlicensed"
v-bind:repo="repo"
v-bind:key="repo.node_id"></li>
</ol>
</div>
<div class="column">
<h2>Licensed:</h2>
<ol>
<li is="repo-list-item"
v-for="repo in licensed"
v-bind:repo="repo"
v-bind:key="repo.node_id"></li>
</ol>
</div>
</div>
</div>
<script src="app.js"></script>
</body>
</html>