Add ability to tag images from the UI, including moving existing tags to different images

This commit is contained in:
Joseph Schorr 2014-02-28 00:12:09 -05:00
parent 9371c70941
commit 20ad666308
11 changed files with 581 additions and 200 deletions

View file

@ -1452,22 +1452,22 @@ p.editable:hover i {
border: 0px;
}
#confirmdeleteTagModal .image-listings {
.tag-specific-images-view .image-listings {
margin: 10px;
}
#confirmdeleteTagModal .image-listings .image-listing {
.tag-specific-images-view .image-listings .image-listing {
margin: 4px;
padding: 2px;
position: relative;
}
#confirmdeleteTagModal .image-listings .image-listing .image-listing-id {
.tag-specific-images-view .image-listings .image-listing .image-listing-id {
display: inline-block;
margin-left: 20px;
}
#confirmdeleteTagModal .image-listings .image-listing .image-listing-line {
.tag-specific-images-view .image-listings .image-listing .image-listing-line {
border-left: 2px solid steelblue;
display: inline-block;
position: absolute;
@ -1478,15 +1478,15 @@ p.editable:hover i {
z-index: 1;
}
#confirmdeleteTagModal .image-listings .image-listing.tag-image .image-listing-line {
.tag-specific-images-view .image-listings .image-listing.tag-image .image-listing-line {
top: 8px;
}
#confirmdeleteTagModal .image-listings .image-listing.child .image-listing-line {
.tag-specific-images-view .image-listings .image-listing.child .image-listing-line {
bottom: -2px;
}
#confirmdeleteTagModal .image-listings .image-listing .image-listing-circle {
.tag-specific-images-view .image-listings .image-listing .image-listing-circle {
position: absolute;
top: 8px;
@ -1499,14 +1499,27 @@ p.editable:hover i {
z-index: 2;
}
#confirmdeleteTagModal .image-listings .image-listing.tag-image .image-listing-circle {
.tag-specific-images-view .image-listings .image-listing.tag-image .image-listing-circle {
background: steelblue;
}
#confirmdeleteTagModal .more-changes {
.tag-specific-images-view .more-changes {
margin-left: 16px;
}
.repo .current-context {
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
max-width: 200px;
vertical-align: middle;
}
.repo .current-context-icon {
vertical-align: middle;
margin-right: 4px;
}
.repo .header {
margin-bottom: 20px;
padding-bottom: 16px;
@ -1684,6 +1697,76 @@ p.editable:hover i {
text-decoration: none !important;
}
.repo .image-comment {
margin-bottom: 4px;
}
.repo .image-section {
margin-top: 12px;
padding-bottom: 2px;
position: relative;
}
.repo .image-section .tag {
margin: 2px;
border-radius: 8px;
display: inline-block;
padding: 4px;
}
.repo .image-section .section-icon {
float: left;
font-size: 16px;
margin-left: -4px;
margin-right: 14px;
color: #bbb;
width: 18px;
text-align: center;
padding-top: 6px;
}
.repo .image-section .section-info {
padding: 4px;
padding-left: 6px;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
background-color: #f5f5f5;
vertical-align: middle;
display: block;
overflow: hidden;
text-overflow: ellipsis;
border-radius: 6px;
}
.repo .image-section .section-info-with-dropdown {
padding-right: 30px;
}
.repo .image-section .dropdown {
display: inline-block;
position: absolute;
top: 0px;
bottom: 2px;
right: 0px;
}
.repo .image-section .dropdown-button {
position: absolute;
right: 0px;
top: 0px;
bottom: 0px;
background: white;
padding: 4px;
padding-left: 8px;
padding-right: 8px;
border: 1px solid #eee;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
cursor: pointer;
}
.repo-list {
margin-bottom: 40px;
}
@ -1985,19 +2068,11 @@ p.editable:hover i {
margin: 0px;
}
.repo .small-changes-container:before {
content: "File Changes: ";
display: inline-block;
margin-right: 10px;
font-weight: bold;
float: left;
padding-top: 4px;
}
.repo .formatted-command {
margin-top: 4px;
padding: 4px;
font-size: 12px;
font-family: Consolas, "Lucida Console", Monaco, monospace;
}
.repo .formatted-command.trimmed {
@ -2006,16 +2081,22 @@ p.editable:hover i {
text-overflow: ellipsis;
}
.repo .changes-count-container {
text-align: center;
}
.repo .change-count {
font-size: 18px;
font-size: 16px;
display: inline-block;
margin-right: 10px;
}
.repo .change-count b {
font-weight: normal;
margin-left: 6px;
vertical-align: middle;
}
.repo .changes-container .well {
border: 0px;
}
.repo .changes-container i.fa-plus-square {
color: rgb(73, 209, 73);
}
@ -2033,7 +2114,7 @@ p.editable:hover i {
}
.repo .change-count i {
font-size: 20px;
font-size: 16px;
vertical-align: middle;
}
@ -2045,6 +2126,7 @@ p.editable:hover i {
.repo .more-changes {
padding: 6px;
text-align: right;
}
.repo #collapseChanges .well {
@ -2290,10 +2372,13 @@ p.editable:hover i {
text-align: center;
}
#image-history-container .tags .tag, #confirmdeleteTagModal .tag {
#image-history-container .tags .tag, .tag-specific-images-view .tag {
display: inline-block;
border-radius: 10px;
margin-right: 4px;
cursor: pointer;
overflow: hidden;
text-overflow: ellipsis;
}
#changes-tree-container {