forked from QasimWani/LeetHub
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpopup.html
69 lines (56 loc) · 2.99 KB
/
popup.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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="css/popup.css">
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.js"></script>
</head>
<body>
<div class="ui grid container">
<div class="sixteen wide center aligned column">
<h1 id="title">Leet<span style="color: #f18500;">Hub</span></h1>
<p id="caption">Sync your code from LeetCode to GitHub</p>
<br>
<!-- Authentication mode -->
<div id="auth_mode" hidden>
<p class="onboarding">
<br>
Authenticate with GitHub to use <strong>Leet<span style="color: #f18500;">Hub</span></strong>
</p>
<button id="authenticate" class="ui secondary button">
<i class="icon github"></i>
Authenticate
</button>
</div>
<!-- Repo Hook mode -->
<div id="hook_mode" hidden>
<p class="onboarding">
<br>
Set up repository hook to use <strong>Leet<span style="color: #f18500;">Hub</span></strong>
</p>
<a id="hook_URL" href="" target="blank" class="ui secondary button">
<i class="icon github"></i>
Set up Hook
</a>
</div>
<!-- Commit mode -->
<div id="commit_mode" hidden>
<p class="onboarding">
Problems Solved: <span id="p_solved">0</span>
</p>
<div class="ui small header">Want more features? <a style="color: cadetblue !important;" target="_blank" href="https://github.com/QasimWani/LeetHub/labels/feature">Request a feature!</a></div>
</div>
</div>
<!-- Generate Socials -->
<div id="socials" class="sixteen wide column">
<a href="https://github.com/QasimWani/LeetHub" target="_blank"><i class="ui black github icon"></i></a>
<a href="https://www.linkedin.com/in/qasimwani" target="_blank"><i class="ui linkedin icon"></i></a>
<a href="mailto:[email protected]" target="_blank"><i class="ui red envelope icon"></i></a>
<a id="welcome_URL" href="" target="_blank"><i class="ui grey globe icon"></i></a>
</div>
</div>
<script src="scripts/oauth2.js"></script>
<script type="text/javascript" src="popup.js"></script>
</body>
</html>