2222{% raw %}
2323< div id ="coder ">
2424 < 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 ">
2626 < div class ="padh ">
2727 < header >
2828 < h3 > {{ user.name }}</ h3 >
@@ -40,7 +40,7 @@ <h3>{{ user.name }}</h3>
4040 {{ user.name }} has not pushed changes to enough public repositories to show any interesting data here.
4141 </ div >
4242 < 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 ">
4444 < div class ="box-stat " title ="The number of loaded repositories this user has pushed to. ">
4545 < i class ="fa fa-code " aria-hidden ="true "> </ i > Pushed to repos
4646 < h4 > {{ repos_pushed.length }}</ h4 >
@@ -87,63 +87,64 @@ <h2 id="summary">Summary</h2>
8787 < div class ="padh ">
8888 < h2 id ="rankings "> Rankings</ h2 >
8989 < 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 ">
9191 < h3 > Languages</ h3 >
9292 < graph id ="language-ranking " class ="ct-major-third "> </ graph >
9393 </ 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 ">
9595 < h3 > Issues</ h3 >
9696 < graph id ="issues-ranking " class ="ct-major-third "> </ graph >
9797 </ 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 ">
9999 < h3 > Forks</ h3 >
100100 < graph id ="forks-ranking " class ="ct-major-third "> </ graph >
101101 </ 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 ">
103103 < h3 > Stars</ h3 >
104104 < graph id ="stars-ranking " class ="ct-major-third "> </ graph >
105105 </ div >
106106 </ div >
107107 </ 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 >
145108 </ div >
146109 </ 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+
147148</ div >
148149{% endraw %}
149150{% endblock %}
0 commit comments