1
1
<!DOCTYPE html>
2
2
< html >
3
+
3
4
< head >
4
5
< meta charset ="UTF-8 ">
5
6
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
8
9
< link rel ="stylesheet " type ="text/css " href ="index.css ">
9
10
< script src ="./scripts/fontawesome.js "> </ script >
10
11
< style type ="text/css ">
11
- html , body {
12
- width : 375px !important ;
13
- height : 600px !important ;
14
- max-height : 600px !important ;
15
- overflow-y : scroll;
16
- background : # eae4e4 ;
17
- }
18
- </ style >
12
+ html ,
13
+ body {
14
+ width : 375px !important ;
15
+ height : 600px !important ;
16
+ max-height : 600px !important ;
17
+ overflow-y : scroll;
18
+ background : # eae4e4 ;
19
+ }
20
+ </ style >
19
21
</ head >
22
+
20
23
< body >
21
24
< div class ="pl-1 py-4 rounded-2xl ">
22
25
< div class ="bg-white px-4 py-4 mx-2 mb-2 rounded-3xl ">
23
- < div class ="flex justify-between py-2 ">
24
- < h3 class ="text-3xl font-semibold "> Scrum Helper</ h3 >
25
- < img src ="icons/night-mode.png " alt ="Night Mode " class ="w-7 h-7 mx-3 cursor-pointer ">
26
- </ div >
27
- < div >
28
- < p class =""> Report your development progress by auto-fetching your Git activity for a selected period</ p >
29
- </ div >
30
-
26
+ < div class ="flex justify-between py-2 ">
27
+ < h3 class ="text-3xl font-semibold "> Scrum Helper</ h3 >
28
+ < img src ="icons/night-mode.png " alt ="Night Mode " class ="w-7 h-7 mx-3 cursor-pointer ">
29
+ </ div >
30
+ < div >
31
+ < p class =""> Report your development progress by auto-fetching your Git activity for a selected period</ p >
32
+ </ div >
33
+
31
34
< div class ="center mt-2 ">
32
- < label class ="flex items-center justify-center gap-2 ">
33
- Disable
34
- < input type ="checkbox " value ="" id ="enable " class ="sr-only peer " checked >
35
- < div class ="relative w-11 h-6 bg-gray-200 rounded-full peer peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600 dark:peer-checked:bg-blue-600 "> </ div >
36
- < span class =""> </ span >
37
- Enable
38
- </ label >
35
+ < label class ="flex items-center justify-center gap-2 ">
36
+ Disable
37
+ < input type ="checkbox " value ="" id ="enable " class ="sr-only peer " checked >
38
+ < div
39
+ class ="relative w-11 h-6 bg-gray-200 rounded-full peer peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600 dark:peer-checked:bg-blue-600 ">
40
+ </ div >
41
+ < span class =""> </ span >
42
+ Enable
43
+ </ label >
39
44
</ div >
40
45
</ div >
41
-
46
+
42
47
< div class ="rounded-2xl ">
43
48
< div class =" border-gray-100 border-2 bg-white rounded-3xl px-4 py-4 mx-2 my-2 ">
44
49
< div >
45
50
< h4 > Your Project Name</ h4 >
46
- < input id ="projectName " type ="text " class ="w-full border-2 border-gray-200 bg-gray-200 rounded-xl text-gray-800 p-2 my-2 " placeholder ="Enter your project name ">
51
+ < input id ="projectName " type ="text "
52
+ class ="w-full border-2 border-gray-200 bg-gray-200 rounded-xl text-gray-800 p-2 my-2 "
53
+ placeholder ="Enter your project name ">
47
54
</ div >
48
- < div >
55
+ < div class ="mb-4 ">
56
+ < h4 > Platform</ h4 >
57
+ < div class ="flex gap-4 ">
58
+ < label class ="flex items-center gap-2 ">
59
+ < input type ="radio " name ="platform " value ="github " checked class ="form-radio ">
60
+ GitHub
61
+ </ label >
62
+ < label class ="flex items-center gap-2 ">
63
+ < input type ="radio " name ="platform " value ="gitlab " class ="form-radio ">
64
+ GitLab
65
+ </ label >
66
+ </ div >
67
+ </ div >
68
+ < div id ="githubUsernameContainer ">
49
69
< h4 > Your Github Username</ h4 >
50
- < input id ="githubUsername " type ="text " class ="w-full border-2 border-gray-200 bg-gray-200 rounded-xl text-gray-800 p-2 my-2 " placeholder ="Required for fetching your contributions ">
70
+ < input id ="githubUsername " type ="text "
71
+ class ="w-full border-2 border-gray-200 bg-gray-200 rounded-xl text-gray-800 p-2 my-2 "
72
+ placeholder ="Required for fetching your contributions ">
73
+ </ div >
74
+ < div id ="gitlabUsernameContainer " class ="hidden ">
75
+ < h4 > Your GitLab Username</ h4 >
76
+ < input id ="gitlabUsername " type ="text "
77
+ class ="w-full border-2 border-gray-200 bg-gray-200 rounded-xl text-gray-800 p-2 my-2 "
78
+ placeholder ="Required for fetching your contributions ">
51
79
</ div >
52
-
80
+
53
81
< div >
54
82
< p class ="text-sm "> Fetch your contributions between:</ p >
55
83
< div class ="flex justify-between items-center my-2 mx-4 ">
56
84
< div class ="flex items-center gap-2 ">
57
- < input type ="radio " id ="lastWeekContribution " name ="timeframe " class ="form-radio " onclick ="toggleRadio(this) ">
85
+ < input type ="radio " id ="lastWeekContribution " name ="timeframe " class ="form-radio "
86
+ onclick ="toggleRadio(this) ">
58
87
< label for ="lastWeekContribution "> Last 7 days</ label >
59
88
</ div >
60
89
< div class ="flex items-center gap-2 ">
61
- < input type ="radio " id ="yesterdayContribution " name ="timeframe " class ="form-radio " onclick ="toggleRadio(this) ">
90
+ < input type ="radio " id ="yesterdayContribution " name ="timeframe " class ="form-radio "
91
+ onclick ="toggleRadio(this) ">
62
92
< label for ="yesterdayContribution "> Last 1 day</ label >
63
93
</ div >
64
94
</ div >
65
-
95
+
66
96
< div id ="customDateContainer " class ="flex justify-between items-center mt-2 ">
67
97
< div >
68
98
< label for ="startingDate "> Start Date:</ label >
@@ -74,79 +104,84 @@ <h4>Your Github Username</h4>
74
104
</ div >
75
105
</ div >
76
106
</ div >
77
-
107
+
78
108
< div class ="col s12 ">
79
109
< br />
80
110
< input type ="checkbox " id ="showOpenLabel " class ="form-checkbox h-4 w-4 text-blue-600 ">
81
- < label id ="checkboxLabel " for ="showOpenLabel " class ="text-gray-700 font-medium text-sm "> Show Open/Closed Label</ label >
111
+ < label id ="checkboxLabel " for ="showOpenLabel " class ="text-gray-700 font-medium text-sm "> Show Open/Closed
112
+ Label</ label >
82
113
</ div >
83
114
< div class ="my-4 ">
84
115
< p class ="text-sm font-medium "> What is blocking you from making progress?</ p >
85
- < input id ="userReason " type ="text " class ="w-full text-gray-800 mt-3 rounded-xl px-4 py-1 " placeholder ="Enter your reason ">
116
+ < input id ="userReason " type ="text " class ="w-full text-gray-800 mt-3 rounded-xl px-4 py-1 "
117
+ placeholder ="Enter your reason ">
86
118
< hr class ="border-t-2 border-gray-700 mt-1 ">
87
119
</ div >
88
120
< div >
89
121
< div >
90
122
< h6 class ="text-base font-semibold "> Scrum Report</ h6 >
91
- < div id ="scrumReport "
92
- contenteditable ="true "
93
- class ="min-h-[200px] overflow-y-auto whitespace-pre-wrap border-2 border-gray-200 bg-gray-100 rounded-xl text-gray-800 p-2 my-2 ">
123
+ < div id ="scrumReport " contenteditable ="true "
124
+ class ="min-h-[200px] overflow-y-auto whitespace-pre-wrap border-2 border-gray-200 bg-gray-100 rounded-xl text-gray-800 p-2 my-2 ">
94
125
</ div >
95
126
</ div >
96
127
< div class ="flex justify-between gap-2 ">
97
- < button id ="generateReport " class ="flex items-center gap-2 bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded ">
98
- < i class ="fa fa-refresh "> </ i > Generate Report
128
+ < button id ="generateReport "
129
+ class ="flex items-center gap-2 bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded ">
130
+ < i class ="fa fa-refresh "> </ i > Generate Report
99
131
</ button >
100
- < button id ="copyReport " class ="flex items-center gap-2 bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded ">
101
- < i class ="fa fa-copy "> </ i > Copy Report
132
+ < button id ="copyReport "
133
+ class ="flex items-center gap-2 bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded ">
134
+ < i class ="fa fa-copy "> </ i > Copy Report
102
135
</ button >
103
- </ div >
136
+ </ div >
137
+
104
138
105
-
106
139
< div class ="border-gray-100 border-2 bg-white rounded-3xl px-4 py-2 mx-2 my-2 ">
107
140
< div >
108
141
< h4 class ="font-semibold text-xl "> Note:</ h4 >
109
142
< ul class ="text-xs list-disc list-inside ">
110
- < li > The PRs fetched are based on the most recent review by any contributor. If you reviewed a PR 10 days ago and someone else reviewed it 2 days ago, it will still appear in your activity for the past week. (< a target ="_blank " href ="https://github.com/fossasia/scrum_helper/issues/20 "> See this issue</ a > .)
143
+ < li > The PRs fetched are based on the most recent review by any contributor. If you reviewed a PR 10 days
144
+ ago and someone else reviewed it 2 days ago, it will still appear in your activity for the past week.
145
+ (< a target ="_blank " href ="https://github.com/fossasia/scrum_helper/issues/20 "> See this issue</ a > .)
111
146
</ li >
112
- < li > Please note that some discrepancies may occur in the generated SCRUM. We recommend manually reviewing and editing the report to ensure accuracy before sharing
147
+ < li > Please note that some discrepancies may occur in the generated SCRUM. We recommend manually
148
+ reviewing and editing the report to ensure accuracy before sharing
113
149
</ li >
114
150
</ ul >
115
151
</ div >
116
152
</ div >
153
+ </ div >
117
154
</ div >
118
- </ div >
119
155
120
- < div class ="mt-6 border-t border-gray-300 ">
121
- < div class ="bg-white rounded-3xl mx-2 mt-4 mb-2 p-4 border border-gray-100 shadow-sm ">
122
- < div class ="flex items-center justify-center space-x-3 ">
123
- < a target ="_blank "
124
- href =" https://github.com/fossasia/scrum_helper "
125
- class ="bg-blue-50 hover:bg-blue-100 text-blue-600 transition-all duration-200 rounded-lg px-4 py-2 flex items-center space-x-2 " >
126
- < i class ="fa fa-code text-sm" > </ i >
127
- < span class =" text-sm font-medium " > View Code </ span >
128
- </ a >
129
- < a target =" _blank "
130
- href =" https://github.com/fossasia/scrum_helper/issues "
131
- class ="bg-blue-50 hover:bg-blue-100 text-blue-600 transition-all duration-200 rounded-lg px-4 py-2 flex items-center space-x-2 " >
132
- < i class =" fa fa-bug text-sm " > </ i >
133
- < span class =" text-sm font-medium " > Report Issue </ span >
134
- </ a >
135
- </ div >
136
- </ div >
137
- < div class =" mt-3 pt-3 border-t border-gray-200 flex justify-center items-center py-5 " >
138
- < p class ="text-xs text- gray-600 text-center " >
139
- Made with ❤️ by < strong > FOSSASIA </ strong > •
140
- < span class =" text-gray-500 dark:text-gray-300 " > v2.0 </ span >
141
- </ p >
156
+ < div class ="mt-6 border-t border-gray-300 ">
157
+ < div class ="bg-white rounded-3xl mx-2 mt-4 mb-2 p-4 border border-gray-100 shadow-sm ">
158
+ < div class ="flex items-center justify-center space-x-3 ">
159
+ < a target ="_blank " href =" https://github.com/fossasia/scrum_helper "
160
+ class =" bg-blue-50 hover:bg-blue-100 text-blue-600 transition-all duration-200 rounded-lg px-4 py-2 flex items-center space-x-2 " >
161
+ < i class ="fa fa-code text-sm " > </ i >
162
+ < span class ="text-sm font-medium " > View Code </ span >
163
+ </ a >
164
+ < a target =" _blank " href =" https://github.com/fossasia/scrum_helper/issues "
165
+ class =" bg-blue-50 hover:bg-blue-100 text-blue-600 transition-all duration-200 rounded-lg px-4 py-2 flex items-center space-x-2 " >
166
+ < i class =" fa fa-bug text-sm " > </ i >
167
+ < span class ="text-sm font-medium " > Report Issue </ span >
168
+ </ a >
169
+ </ div >
170
+ </ div >
171
+ < div class =" mt-3 pt-3 border-t border-gray-200 flex justify-center items-center py-5 " >
172
+ < p class =" text-xs text-gray-600 text-center " >
173
+ Made with ❤️ by < strong > FOSSASIA </ strong > •
174
+ < span class ="text-gray-500 dark: text-gray-300 " > v2.0 </ span >
175
+ </ p >
176
+ </ div >
177
+ </ div >
142
178
</ div >
143
179
</ div >
144
- </ div >
145
- </ div >
146
180
< script src ="scripts/jquery-3.2.1.min.js "> </ script >
147
181
< script type ="text/javascript " type ="text/javascript " src ="materialize/js/materialize.min.js "> </ script >
148
182
< script src ="scripts/main.js "> </ script >
149
183
< script src ="scripts/scrumHelper.js "> </ script >
150
184
< script src ="scripts/popup.js "> </ script >
151
185
</ body >
152
- </ html >
186
+
187
+ </ html >
0 commit comments