@@ -124,7 +124,10 @@ <h5 class="variable-wrap" data-id="{id}" data-repo="{repo}" data-val="{val}"><sp
124124 </ div >
125125 </ div >
126126</ section >
127- < div class ="bookmark-btn " data-toggle ="tooltip " data-placement ="right " title ="Group GitHub stars "> < i class ="fa fa-bookmark fa-2x "> </ i > </ div >
127+ < div class ="bookmark-btn " data-toggle ="tooltip " data-placement ="right " title ="Group GitHub stars ">
128+ < i class ="fa fa-bookmark fa-2x hidden-sm-up "> </ i >
129+ < i class ="fa fa-bookmark fa-3x hidden-xs-down "> </ i >
130+ </ div >
128131< section class ="modal fade bookmark-modal modal--fix " tabindex ="-1 " role ="dialog " aria-labelledby ="bookmarkModal " aria-hidden ="true ">
129132 < div class ="modal-dialog modal-lg ">
130133 < div class ="modal-content ">
@@ -135,57 +138,64 @@ <h5 class="variable-wrap" data-id="{id}" data-repo="{repo}" data-val="{val}"><sp
135138 < button class ="btn btn-primary-outline btn-sm add-account "> < i class ="fa fa-plus-circle "> </ i > GitHub</ button >
136139 < button class ="btn btn-primary-outline btn-sm add-group "> < i class ="fa fa-plus-circle "> </ i > Group</ button >
137140 </ div >
138- < div class ="modal-body repo-group " role ="tablist " id ="repo-group ">
139- < header class ="hd ">
140- < i class ="fa fa-plus-circle fa-5x add-account "> </ i >
141- < h5 > Add GitHub accounts to group your stars and repos</ h5 >
142- </ header >
143- < script type ="text/html " data-template ="repoGroup ">
144- < article class = "card repo-group-item" data - id = "{id}" >
145- < header class = "card-header hd" role = "tab" id = "repo_group_hd_{id}" >
146- < a href = "#repo_group_list_{id}" data-toggle = "collapse" data-parent = "#repo-group" aria-expanded = "false" aria-controls = "repo_group_list_{id}" > { name } </ a >
147- & nbsp ; < span class = "label label-info label-pill" > { itemCount} < / s p a n >
148- < div class = "btn-group btn-group-sm pull-xs-right ctrl" >
149- < button class = "btn btn-secondary btn-sm del" data - id = "{id}" > < i class = "fa fa-trash-o" > < / i > </ button >
150- < / d i v >
151- </header >
152- < section class = "card-block repo-list collapse" id = "repo_group_list_{id}" role = "tabpanel" aria - labelledby = "repo_group_hd_{id}" >
153- { items}
154- < / s e c t i o n >
155- </article >
156- </ script >
157- < script type ="text/html " data-template ="groupItem ">
158- < div class = "dropdown-item" data - id = "{id}" >
159- { name}
141+ < div class ="modal-body ">
142+ < header class ="hd empty ">
143+ < div class ="loading ">
144+ < div class ="logo "> < img class ="spinner " src ="resources/images/codelf_logo.png "> </ div >
160145 </ div >
161- </ script >
162- < script type ="text/html " data-template ="repoItem ">
163- < article class = "card repo-item" data - id = "{id}" data - repoid = "{originRepoId}" >
164- < div class = "card-block" >
165- < header class = "repo-item__hd" > < h6 > < a href = "{html_url}" target = "_blank" > { full_name } </ a > </ h6 > < / h e a d e r >
166- < section class = "repo-item__bd" > { description} < / s e c t i o n >
146+ < div class ="empty ">
147+ < i class ="fa fa-plus-circle fa-5x add-account "> </ i >
148+ < h5 > Add GitHub accounts to group your stars and repos</ h5 >
149+ </ div >
150+ </ header >
151+ < section class ="bd " role ="tablist ">
152+ < script type ="text/html " data-template ="repoGroup ">
153+ < article class = "card repo-group-item" data - id = "{id}" >
154+ < header class = "card-header hd" role = "tab" id = "repo_group_hd_{id}" >
155+ < a href = "#repo_group_list_{id}" data-toggle = "collapse" data-parent = ".bd" aria-expanded = "false" aria-controls = "repo_group_list_{id}" > { name } </ a >
156+ & nbsp ; < span class = "label label-info label-pill" > { itemCount} < / s p a n >
157+ < div class = "btn-group btn-group-sm pull-xs-right ctrl" >
158+ < button class = "btn btn-secondary btn-sm del" data - id = "{id}" > < i class = "fa fa-trash-o" > < / i > </ button >
159+ < / d i v >
160+ </header >
161+ < section class = "card-block repo-list collapse" id = "repo_group_list_{id}" role = "tabpanel" aria - labelledby = "repo_group_hd_{id}" >
162+ { items}
163+ < / s e c t i o n >
164+ </article >
165+ </ script >
166+ < script type ="text/html " data-template ="groupItem ">
167+ < div class = "dropdown-item" data - id = "{id}" >
168+ { name}
167169 < / d i v >
168- < div class = "card-footer" >
169- < div class = "btn-group btn-group-sm" role = "group" >
170- < div class = "btn-group" role = "group" >
171- < a class = "dropdown-toggle btn-sm" data - toggle = "dropdown" aria - haspopup = "true" aria - expanded = "false" href = "javascript:void(0);" >
172- Add to group . . .
173- </a >
174- < div class = "dropdown-menu" >
175- { groupItems}
176- < div role = "separator" class = "dropdown-divider" > < / div >
177- < div class = "dropdown-item text-primary add-group" >
178- < i class = "fa fa-plus-circle" > < / i > Add new group
179- </ div >
180- < div class = "dropdown-item text-danger" data - id = "0" >
181- < i class = "fa fa-minus-circle" > < / i > Remove from group
170+ </ script >
171+ < script type ="text/html " data-template ="repoItem ">
172+ < article class = "card repo-item" data - id = "{id}" data - repoid = "{originRepoId}" >
173+ < div class = "card-block" >
174+ < header class = "repo-item__hd" > < h6 > < a href = "{html_url}" target = "_blank" > { full_name } </ a > </ h6 > < / h e a d e r >
175+ < section class = "repo-item__bd" > { description} < / s e c t i o n >
176+ </div >
177+ < div class = "card-footer" >
178+ < div class = "btn-group btn-group-sm" role = "group" >
179+ < div class = "btn-group" role = "group" >
180+ < a class = "dropdown-toggle btn-sm" data - toggle = "dropdown" aria - haspopup = "true" aria - expanded = "false" href = "javascript:void(0);" >
181+ Add to group . . .
182+ </a >
183+ < div class = "dropdown-menu" >
184+ { groupItems}
185+ < div role = "separator" class = "dropdown-divider" > < / div >
186+ < div class = "dropdown-item text-primary add-group" >
187+ < i class = "fa fa-plus-circle" > < / i > Add new group
188+ </ div >
189+ < div class = "dropdown-item text-danger" data - id = "0" >
190+ < i class = "fa fa-minus-circle" > < / i > Remove from group
191+ </ div >
182192 < / d i v >
183193 </div >
184194 < / div >
185195 </ div >
186- </ div >
187- < / a r t i c l e >
188- </ script >
196+ < / a r t i c l e >
197+ </ script >
198+ </ section >
189199 </ div >
190200 </ div >
191201 </ div >
@@ -202,15 +212,15 @@ <h6 class="modal-title">Add GitHub Account</h6>
202212 < div class ="modal-body ">
203213 < div class ="text-muted "> *e.g. https://github.com/< span class ="text-danger "> account</ span > </ div >
204214 < div class ="input-group form ">
205- < input type ="text " class ="form-control " placeholder ="GitHub account ">
215+ < input type ="text " class ="form-control " placeholder ="account ">
206216 < span class ="input-group-btn ">
207217 < button class ="btn btn-secondary submit " type ="button " data-dismiss ="modal "> Add</ button >
208218 </ span >
209219 </ div >
210220 < section class ="list-group user-list ">
211221 < script type ="text/html ">
212222 < article class = "list-group-item user-item" data - id = "{id}" >
213- < a href = "https://github.com/{name}" target = "_blank" > https://github.com/ { name } </ a >
223+ < a href = "https://github.com/{name}" target = "_blank" > @ { name } </ a >
214224 < div class = "btn-group btn-group-sm pull-xs-right ctrl" >
215225 < button class = "btn btn-secondary btn-sm sync" data - name = "{name}" data - dismiss = "modal" > < i class = "fa fa-refresh" > < / i > Sync</ button >
216226 < button class = "btn btn-secondary btn-sm del" data - id = "{id}" > < i class = "fa fa-trash-o" > < / i > </ button >
0 commit comments