-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
85 lines (78 loc) · 3.64 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
82
83
84
85
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Azure Contributions Graph</title>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<link href="https://visma-unified-design.s3.eu-north-1.amazonaws.com/latest/dist/css/vud.light-dark.mode.min.css"
rel="stylesheet" />
<style>
body {
font-family: Ubuntu, UbuntuFallback, Ubuntu, sans-serif !important;
}
.loading {
width: 30%;
display: none;
}
</style>
<script src="main.js"></script>
</head>
<body>
<header class="navbar navbar-default demo-with-icons" id="nc4navTopMain" role="navigation">
<div class="navbar-header">
<div class="navbar-brand">
<a href="javascript:window.location.href=window.location.href" title="">Azure Contributions Graph</a>
</div>
</div>
</header>
<div class="panel ml-24" style="width: 600px">
<div class="panel-body">
<div class="form-horizontal col-md-24">
<div class="form-group">
<label for="organization" class="col-sm-5 control-label">Azure Organization</label>
<div class="col">
<input type="text" name="organization" class="form-control" id="organization"
placeholder="Your organization name in Azure">
</div>
</div>
<div class="form-group">
<label for="projectName" class="col-sm-5 control-label">Azure DevOps Project Name</label>
<div class="col">
<input type="text" name="projectName" class="form-control" id="projectName"
placeholder="Your Azure DevOps project name">
</div>
</div>
<div class="form-group">
<label for="startDate" class="col-sm-5 control-label">Commits and Completed PRs from date
YYYY-MM-DD</label>
<div class="col">
<input type="text" name="startDate" class="form-control" id="startDate"
placeholder="e.g. 2024-01-01">
</div>
</div>
<div class="form-group">
<label for="PATtoken" class="col-sm-5 control-label">Azure Personal Access Token<a
href="https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&tabs=Windows#create-a-pat"
target="_blank"> Learn
more here</a></label>
<div class="col">
<input type="text" name="PATtoken" class="form-control" id="PATtoken"
placeholder="Your Azure personal access token">
</div>
</div>
<div class="form-group">
<div class="col d-flex justify-content-end">
<button id="scanButton" class="btn btn-primary">Scan</button>
</div>
</div>
</div>
</div>
</div>
<div id="loading" class="horizontal-loading horizontal-loading p-0 loading ml-24">
<div class="loading-bar" role="progressbar"></div>
<span class="loading-bar-label">Loading, please wait...</span>
</div>
<canvas id="stackedBarChart" class="stackedBarChart px-24" width="1200" height="400"></canvas>
</body>
</html>