-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathyoda-cfd.html
139 lines (112 loc) · 4.76 KB
/
yoda-cfd.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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="Yoda. GitHub lightweight extention for Agile Project Management using GitHub issues. CFD (Comulative Flow Diagram).">
<!--
Copyright 2018-2023 Hewlett Packard Enterprise Development LP
Copyright 2024- Jens Vedel Markussen
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or
substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-->
<title>GitHub CFD</title>
<link rel="icon" href="cfd-icon-32.png" type="image/png" />
<script type='text/javascript' src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script type='text/javascript' src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/js/select2.min.js"></script>
<script type='text/javascript' src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/4.4.1/chart.umd.min.js"></script>
<script type='text/javascript' src="https://cdnjs.cloudflare.com/ajax/libs/PapaParse/5.4.1/papaparse.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/css/select2.min.css">
<link rel="stylesheet" type="text/css" href="yoda.css">
</head>
<body>
<div class="frame">
<div class="dropdown">
<img id="hamburger" src="threebars.png" class="dropimg">
<div id="yodamenu" class="dropdown-content">
</div>
</div>
<div class="field">
<label>Owner</label>
<input type="text" id="owner" size="15">
<span class="tooltip">GitHub organisation or user</span>
</div>
<div class="field">
<label>Repositories</label>
<select id="repolist" style="width: 350px" class="select2" multiple></select>
<span class="tooltip">Repositories to show</span>
</div>
<div class="field" style="display: none;">
<label>GitHub user</label>
<input type="text" size="20" id="user" value="">
<span class="tooltip">Your GitHub user-id</span>
</div>
<div class="field" style="display: none;">
<label>GitHub token</label>
<input type="password" size="30" id="token" value="">
<span class="tooltip">GitHub personal token</span>
</div>
<div class="field">
<label>Label filter</label>
<input type="text" size="40" id="labelfilter" value="">
<span class="tooltip">Label filter as comma separated list w/o spaces (AND)</span>
</div>
<div class="field">
<label>Milestone filter</label>
<input type="text" size="25" id="milestonefilter" value="">
<span class="tooltip">Milestone filter as comma separated list w/o spaces (OR)</span>
</div>
<div class="field">
<label>Assignee filter</label>
<input type="text" size="25" id="assigneefilter" value="">
<span class="tooltip">Assignee filter</span>
</div>
</div>
<div class="frame">
<div class="field">
<label>Start date (blank=since first issue)</label>
<input type="text" id="startdate" size="25" value="">
<span class="tooltip">Start date</span>
</div>
<div class="field">
<label>End date (today=blank)</label>
<input type="text" id="enddate" size="20" value="">
<span class="tooltip">End date</span>
</div>
<div class="field">
<label>Interval</label>
<input type="text" id="interval" size="8" value="7">
<span class="tooltip">Interval in days or months (<i>m</i> postfix)</span>
</div>
<div class="field">
<label>Title</label>
<input type="text" id="title" size="30" value="">
<span class="tooltip">Chart title</span>
</div>
<div class="field" style="display: none;">
<label>CSV delimiter</label> <input type="text" id="csvdelimiter" size="5" value=';'>
<span class="tooltip">CSV field delimiter</span>
</div>
<button id="drawcfd">Draw CFD</button>
<button id="drawlt">Draw Lead Time</button>
</div>
<div style="width: 90%">
<canvas id="canvas"></canvas>
</div>
<div id="snackbar">Some text some message..</div>
<script type="module">
import { init } from './yoda-cfd.js';
init();
</script>
</body>
</html>