Fix delete tag styling and typo

This commit is contained in:
Joseph Schorr 2014-01-09 13:25:58 -05:00
parent 393343bda4
commit de8f1ef776
2 changed files with 12 additions and 4 deletions

View file

@ -1834,7 +1834,7 @@ p.editable:hover i {
text-align: center;
}
#image-history-container .tags .tag {
#image-history-container .tags .tag, #confirmdeleteTagModal .tag {
border-radius: 10px;
margin-right: 4px;
cursor: pointer;

View file

@ -201,12 +201,20 @@ sudo docker push quay.io/{{repo.namespace}}/{{repo.name}}</pre>
<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">Delete tag <span class="label label-default tag">{{ tagToDelete }}</span>?</h4>
<h4 class="modal-title">Delete tag
<span class="label tag" ng-class="tagToDelete == currentTag.name ? 'label-success' : 'label-default'">
{{ tagToDelete }}
</span>?
</h4>
</div>
<div class="modal-body">
Are you sure you want to delete tag <span class="label label-default tag">{{ tagToDelete }}</span>?
Are you sure you want to delete tag
<span class="label tag" ng-class="tagToDelete == currentTag.name ? 'label-success' : 'label-default'">
{{ tagToDelete }}
</span>?
<br><br>
Doing so will delete any images no attached to another tag.
Doing so will delete any images not attached to another tag.
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" ng-click="deleteTag(tagToDelete)">Delete Tag</button>