<div class="modal fade" id="tag-manage-modal"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button><h4 class="modal-title"><i class="fa fa-bookmark-o"></i>&nbsp;标签管理</h4></div><div class="modal-body"><div class="input-group" style="padding-bottom: 10px"><input id="new-tag-name" name="new-tag-name" class="form-control" placeholder="新的标签名" ng-model="newTagName" type="text" ng-keypress="keyPressAddTag($event)"><span class="input-group-btn"><button class="btn btn-default" type="button" style="margin-right: 0px" ng-click="addNewTag()">添加</button></span></div><div class="tag-list" style="padding-top: 10px"><a ng-repeat="tag in tags" class="tag" ng-class="{selected: isTagSelected(tag.name)}" ng-click="toggleTagSelection(tag)"><i class="fa fa-square-o"></i>&nbsp;{{tag.name}}</a></div></div></div></div></div>