22
22
{% raw %}
23
23
< div id ="coder ">
24
24
< div v-if ="user " class ="row ">
25
- < div class ="col-12 col-2-xl col-2-l col-4-m ">
25
+ < div class ="col-12 col-2-xl col-2-l col-4-m meta ">
26
26
< div class ="padh ">
27
27
< header >
28
28
< h3 > {{ user.name }}</ h3 >
@@ -40,7 +40,7 @@ <h3>{{ user.name }}</h3>
40
40
{{ user.name }} has not pushed changes to enough public repositories to show any interesting data here.
41
41
</ div >
42
42
< div v-else class ="col-12 col-10-xl col-10-l col-8-m no-padding main ">
43
- < div class ="flex boxes ">
43
+ < div class ="flex flex-wrap boxes ">
44
44
< div class ="box-stat " title ="The number of loaded repositories this user has pushed to. ">
45
45
< i class ="fa fa-code " aria-hidden ="true "> </ i > Pushed to repos
46
46
< h4 > {{ repos_pushed.length }}</ h4 >
@@ -87,63 +87,64 @@ <h2 id="summary">Summary</h2>
87
87
< div class ="padh ">
88
88
< h2 id ="rankings "> Rankings</ h2 >
89
89
< div class ="row ">
90
- < div v-if ="languages.length > 1 " class ="col-6-m col-3-l ">
90
+ < div v-if ="languages.length > 1 " class ="col-12 col-3-xl col-6-l col-6-m ">
91
91
< h3 > Languages</ h3 >
92
92
< graph id ="language-ranking " class ="ct-major-third "> </ graph >
93
93
</ div >
94
- < div v-if ="issues.length > 1 " class ="col-6-m col-3-l ">
94
+ < div v-if ="issues.length > 1 " class ="col-12 col-3-xl col-6-l col-6-m ">
95
95
< h3 > Issues</ h3 >
96
96
< graph id ="issues-ranking " class ="ct-major-third "> </ graph >
97
97
</ div >
98
- < div v-if ="forks.length > 1 " class ="col-6-m col-3-l ">
98
+ < div v-if ="forks.length > 1 " class ="col-12 col-3-xl col-6-l col-6-m ">
99
99
< h3 > Forks</ h3 >
100
100
< graph id ="forks-ranking " class ="ct-major-third "> </ graph >
101
101
</ div >
102
- < div v-if ="stars.length > 1 " class ="col-6-m col-3-l ">
102
+ < div v-if ="stars.length > 1 " class ="col-12 col-3-xl col-6-l col-6-m ">
103
103
< h3 > Stars</ h3 >
104
104
< graph id ="stars-ranking " class ="ct-major-third "> </ graph >
105
105
</ div >
106
106
</ div >
107
107
</ div >
108
-
109
- < div class ="padh ">
110
- < h2 id ="repos "> Repositories</ h2 >
111
- < table v-if ="repos_pushed ">
112
- < thead >
113
- < tr >
114
- < th > #</ th >
115
- < th @click ="sortBy('name', 'string') " :class ="{ active: sort_key == 'name' } "> Name < span class ="arrow " :class ="order('name') "> </ span > </ th >
116
- < th @click ="sortBy('language', 'string') " :class ="{ active: sort_key == 'language' } "> Language < span class ="arrow " :class ="order('language') "> </ span > </ th >
117
- < th class ="text-right " @click ="sortBy('created_at') " :class ="{ active: sort_key == 'created_at' } "> Created at < span class ="arrow " :class ="order('created_at') "> </ span > </ th >
118
- < th class ="text-right " @click ="sortBy('pushed_at') " :class ="{ active: sort_key == 'pushed_at' } "> Pushed at < span class ="arrow " :class ="order('pushed_at') "> </ span > </ th >
119
- < th class ="text-right " @click ="sortBy('open_issues_count') " :class ="{ active: sort_key == 'open_issues_count' } "> Issues < span class ="arrow " :class ="order('open_issues_count') "> </ span > </ th >
120
- < th class ="text-right " @click ="sortBy('forks_count') " :class ="{ active: sort_key == 'forks_count' } "> Forks < span class ="arrow " :class ="order('forks_count') "> </ span > </ th >
121
- < th class ="text-right " @click ="sortBy('watchers_count') " :class ="{ active: sort_key == 'watchers_count' } "> Stars < span class ="arrow " :class ="order('watchers_count') "> </ span > </ th >
122
- < th class ="text-right " @click ="sortBy('size') " :class ="{ active: sort_key == 'size' } "> Size < span class ="arrow " :class ="order('size') "> </ span > </ th >
123
- </ tr >
124
- </ thead >
125
- < tbody >
126
- < tr v-for ="(repo, idx) in repos_pushed " :title ="repo.description ">
127
- < td > {{ idx + 1}}</ td >
128
- < td >
129
- < strong > < a v-bind:href ="repo.html_url "> {{ repo.name }}</ a > </ strong >
130
- < i v-if ="repo.fork " class ="fa fa-code-fork " aria-hidden ="true " title ="Forked Repository "> </ i >
131
- < i v-if ="repo.archived " class ="fa fa-archive " aria-hidden ="true " title ="Archived Repository "> </ i >
132
- </ td >
133
- < td > {{ repo.language }}</ td >
134
- < td class ="text-right "> {{ repo.created_at | formatDate }}</ td >
135
- < td class ="text-right "> {{ repo.pushed_at | formatDate }}</ td >
136
- < td class ="text-right "> {{ repo.open_issues_count }}</ td >
137
- < td class ="text-right "> {{ repo.forks_count }}</ td >
138
- < td class ="text-right "> {{ repo.watchers_count }}</ td >
139
- < td class ="text-right "> {{ repo.size }}</ td >
140
- </ tr >
141
- </ tbody >
142
- </ table >
143
- < a href ="# "> ↑</ a >
144
- </ div >
145
108
</ div >
146
109
</ div >
110
+
111
+ < div v-if ="repos_pushed " class ="padh padv ">
112
+ < h2 id ="repos "> Repositories</ h2 >
113
+ < table >
114
+ < thead >
115
+ < tr >
116
+ < th > #</ th >
117
+ < th @click ="sortBy('name', 'string') " :class ="{ active: sort_key == 'name' } "> Name < span class ="arrow " :class ="order('name') "> </ span > </ th >
118
+ < th @click ="sortBy('language', 'string') " :class ="{ active: sort_key == 'language' } "> Language < span class ="arrow " :class ="order('language') "> </ span > </ th >
119
+ < th class ="text-right " @click ="sortBy('created_at') " :class ="{ active: sort_key == 'created_at' } "> Created at < span class ="arrow " :class ="order('created_at') "> </ span > </ th >
120
+ < th class ="text-right " @click ="sortBy('pushed_at') " :class ="{ active: sort_key == 'pushed_at' } "> Pushed at < span class ="arrow " :class ="order('pushed_at') "> </ span > </ th >
121
+ < th class ="text-right " @click ="sortBy('open_issues_count') " :class ="{ active: sort_key == 'open_issues_count' } "> Issues < span class ="arrow " :class ="order('open_issues_count') "> </ span > </ th >
122
+ < th class ="text-right " @click ="sortBy('forks_count') " :class ="{ active: sort_key == 'forks_count' } "> Forks < span class ="arrow " :class ="order('forks_count') "> </ span > </ th >
123
+ < th class ="text-right " @click ="sortBy('watchers_count') " :class ="{ active: sort_key == 'watchers_count' } "> Stars < span class ="arrow " :class ="order('watchers_count') "> </ span > </ th >
124
+ < th class ="text-right " @click ="sortBy('size') " :class ="{ active: sort_key == 'size' } "> Size < span class ="arrow " :class ="order('size') "> </ span > </ th >
125
+ </ tr >
126
+ </ thead >
127
+ < tbody >
128
+ < tr v-for ="(repo, idx) in repos_pushed " :title ="repo.description ">
129
+ < td > {{ idx + 1}}</ td >
130
+ < td >
131
+ < strong > < a v-bind:href ="repo.html_url "> {{ repo.name }}</ a > </ strong >
132
+ < i v-if ="repo.fork " class ="fa fa-code-fork " aria-hidden ="true " title ="Forked Repository "> </ i >
133
+ < i v-if ="repo.archived " class ="fa fa-archive " aria-hidden ="true " title ="Archived Repository "> </ i >
134
+ </ td >
135
+ < td > {{ repo.language }}</ td >
136
+ < td class ="text-right "> {{ repo.created_at | formatDate }}</ td >
137
+ < td class ="text-right "> {{ repo.pushed_at | formatDate }}</ td >
138
+ < td class ="text-right "> {{ repo.open_issues_count }}</ td >
139
+ < td class ="text-right "> {{ repo.forks_count }}</ td >
140
+ < td class ="text-right "> {{ repo.watchers_count }}</ td >
141
+ < td class ="text-right "> {{ repo.size }}</ td >
142
+ </ tr >
143
+ </ tbody >
144
+ </ table >
145
+ < a href ="# "> ↑</ a >
146
+ </ div >
147
+
147
148
</ div >
148
149
{% endraw %}
149
150
{% endblock %}
0 commit comments