File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ function genRepo(user) {
28
28
}
29
29
else {
30
30
for ( i = 0 ; i < request . length ; i ++ ) {
31
+ console . log ( request [ i ] ) ;
31
32
var repo_url = request [ i ] . html_url ;
32
33
var username = request [ i ] . owner . login ;
33
34
var repo_name = request [ i ] . name ;
@@ -40,19 +41,20 @@ function genRepo(user) {
40
41
if ( repo_name . includes ( "qlibs" ) ) continue ;
41
42
if ( repo_name . includes ( ".github" ) ) continue ;
42
43
43
- // replaces null values to be better represented when displayed
44
44
if ( repo_language == null ) {
45
45
repo_language = "-" ;
46
46
}
47
47
48
- // Puts repo information into div
49
48
$ ( "#repo-box" ) . append ( "<a href='" + repo_url + "'><div class='repo-item'><h1 class='title'>" +
50
49
"" +
51
50
repo_name + "</h1><p class='description'>" +
52
- repo_description + "</p>" +
51
+ repo_description +
52
+ "<br/><img src='https://img.shields.io/github/v/release/qlibs/" + repo_name + "'></img>" +
53
53
" <div class='star'><span class='img' uk-icon='star' class='uk-icon'></span>" +
54
54
repo_stars + " </div> <div class='fork'><span class='img' uk-icon='git-fork' class='uk-icon'></span>" +
55
- repo_forks + "</div></div></div>" ) ;
55
+ repo_forks + "</div></div></div>" +
56
+ "</p>"
57
+ ) ;
56
58
}
57
59
}
58
60
} ) ;
You can’t perform that action at this time.
0 commit comments