@@ -136,6 +136,19 @@ <h5 class="variable-wrap" data-id="{id}" data-repo="{repo}" data-val="{val}"><sp
136136 </ button >
137137 < button class ="btn btn-primary-outline btn-sm add-account "> < i class ="fa fa-plus-circle "> </ i > GitHub</ button >
138138 < button class ="btn btn-primary-outline btn-sm add-group "> < i class ="fa fa-plus-circle "> </ i > Group</ button >
139+ < div class ="btn-group btn-group-sm " role ="group ">
140+ < div class ="btn-group " role ="group ">
141+ < button type ="button " class ="btn btn-primary-outline dropdown-toggle btn-sm " data-toggle ="dropdown " aria-haspopup ="true " aria-expanded ="false ">
142+ < i class ="fa fa-tags "> </ i > Tags
143+ </ button >
144+ < div class ="dropdown-menu dropdown-menu-right tag-menu ">
145+ < div class ="dropdown-item ">
146+ All Tags
147+ </ div >
148+ < div role ="separator " class ="dropdown-divider "> </ div >
149+ </ div >
150+ </ div >
151+ </ div >
139152 </ div >
140153 < div class ="modal-body ">
141154 < header class ="hd empty ">
@@ -192,14 +205,19 @@ <h5>Add GitHub accounts to organize your stars and repositories</h5>
192205 { name}
193206 < / d i v >
194207 </ script >
208+ < script type ="text/html " data-template ="tagItem ">
209+ < div class = "dropdown-item add-repo" data - id = "{id}" >
210+ < span class = "label label-pill" style = "background:{color};" > < i class = "fa fa-times" > < / i > </ span > { name}
211+ < / d i v >
212+ </ script >
195213 < script type ="text/html " data-template ="repoItem ">
196214 < article class = "card repo-item" data - id = "{id}" data - repoid = "{originRepoId}" data - name = "{_full_name}" >
197215 < div class = "card-block" >
198216 < header class = "repo-item__hd" > < h6 > < a href = "{html_url}" target = "_blank" > { full_name } </ a > </ h6 > < / h e a d e r >
199217 < section class = "repo-item__bd fix-break-word" > { description} < / s e c t i o n >
200218 </div >
201219 < div class = "card-footer" >
202- < div class = "btn-group btn-group-sm" role = "group" >
220+ < div class = "btn-group btn-group-sm group-menu " role = "group" >
203221 < div class = "btn-group" role = "group" >
204222 < a class = "dropdown-toggle btn-sm" data - toggle = "dropdown" aria - haspopup = "true" aria - expanded = "false" href = "javascript:void(0);" >
205223 Add to group
@@ -216,6 +234,16 @@ <h5>Add GitHub accounts to organize your stars and repositories</h5>
216234 < / d i v >
217235 </div >
218236 < / div >
237+ < div class = "btn-group btn-group-sm tag-menu " role = "group" >
238+ < div class = "btn-group " role = "group" >
239+ < a class = "dropdown-toggle btn-sm " data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" href = "javascript:void(0);" >
240+ Add to tag
241+ </ a >
242+ < div class = "dropdown-menu ">
243+ { tagItems }
244+ </ div >
245+ </ div >
246+ </ div >
219247 </ div >
220248 < / a r t i c l e >
221249 </ script >
0 commit comments