From ea61a68bcb2a6b0a3cd1e800ba1fff62039d7738 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Wed, 11 Mar 2015 17:47:12 -0700 Subject: [PATCH] Add missing files from last commit (stupid SourceTree...) --- .../repo-view/repo-panel-changes.css | 28 +++++ .../css/directives/ui/image-changes-view.css | 47 ++++++++ .../css/directives/ui/image-info-sidebar.css | 68 ++++++++++++ static/css/directives/ui/tag-info-sidebar.css | 5 + static/css/quay.css | 4 + static/directives/image-changes-view.html | 33 ++++++ static/directives/image-info-sidebar.html | 105 ++++++++++++++++++ .../repo-view/repo-panel-changes.html | 64 +++++++++++ .../directives/repo-view/repo-panel-tags.html | 38 +------ static/directives/resource-view.html | 2 +- static/directives/tag-info-sidebar.html | 42 +++++++ static/directives/tag-operations-dialog.html | 87 +++++++++++++++ 12 files changed, 488 insertions(+), 35 deletions(-) create mode 100644 static/css/directives/repo-view/repo-panel-changes.css create mode 100644 static/css/directives/ui/image-changes-view.css create mode 100644 static/css/directives/ui/image-info-sidebar.css create mode 100644 static/css/directives/ui/tag-info-sidebar.css create mode 100644 static/directives/image-changes-view.html create mode 100644 static/directives/image-info-sidebar.html create mode 100644 static/directives/repo-view/repo-panel-changes.html create mode 100644 static/directives/tag-info-sidebar.html create mode 100644 static/directives/tag-operations-dialog.html diff --git a/static/css/directives/repo-view/repo-panel-changes.css b/static/css/directives/repo-view/repo-panel-changes.css new file mode 100644 index 000000000..14838ee1d --- /dev/null +++ b/static/css/directives/repo-view/repo-panel-changes.css @@ -0,0 +1,28 @@ +.repo-panel-changes .tab-header { + margin-bottom: 30px !important; +} + +.repo-panel-changes .side-panel-title { + font-size: 20px; + border-bottom: 1px solid #eee; + padding-bottom: 10px; + margin-bottom: 10px; +} + +.repo-panel-changes .side-panel-title i.fa { + margin-right: 10px; +} + +.repo-panel-changes .side-panel { + padding: 10px; +} + +.repo-panel-changes .visualized-tag { + font-size: 18px; + margin-left: 10px; +} + +.repo-panel-changes .visualized-tag .fa { + margin-right: 8px; + vertical-align: middle; +} diff --git a/static/css/directives/ui/image-changes-view.css b/static/css/directives/ui/image-changes-view.css new file mode 100644 index 000000000..9e7b8940e --- /dev/null +++ b/static/css/directives/ui/image-changes-view.css @@ -0,0 +1,47 @@ +.image-changes-view .change-count { + font-size: 16px; + display: inline-block; + margin-right: 10px; +} + +.image-changes-view .change-count b { + font-weight: normal; + margin-left: 6px; + vertical-align: middle; +} + +.image-changes-view .changes-container .well { + border: 0px; +} + +.image-changes-view .changes-container i.fa-plus-square { + color: rgb(73, 209, 73); +} + +.image-changes-view .changes-container i.fa-minus-square { + color: rgb(209, 73, 73); +} + +.image-changes-view .changes-container i.fa-pencil-square { + color: rgb(73, 100, 209); +} + +.image-changes-view .change-count:last-child { + margin-right: 0px; +} + +.image-changes-view .change-count i { + font-size: 16px; + vertical-align: middle; +} + +.image-changes-view .change i { + float: right; + vertical-align: middle; + margin-left: 4px; +} + +.image-changes-view .more-changes { + padding: 6px; + text-align: right; +} diff --git a/static/css/directives/ui/image-info-sidebar.css b/static/css/directives/ui/image-info-sidebar.css new file mode 100644 index 000000000..5dffade2b --- /dev/null +++ b/static/css/directives/ui/image-info-sidebar.css @@ -0,0 +1,68 @@ +.image-info-sidebar .image-comment { + margin-bottom: 4px; +} + +.image-info-sidebar .image-section { + margin-top: 12px; + padding-bottom: 2px; + position: relative; +} + +.image-info-sidebar .image-section .tag { + margin: 2px; + border-radius: 8px; + display: inline-block; + padding: 4px; +} + +.image-info-sidebar .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; +} + +.image-info-sidebar .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; +} + +.image-info-sidebar .image-section .section-info-with-dropdown { + padding-right: 30px; +} + +.image-info-sidebar .image-section .dropdown { + display: inline-block; + position: absolute; + top: 0px; + bottom: 2px; + right: 0px; +} + +.image-info-sidebar .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; +} diff --git a/static/css/directives/ui/tag-info-sidebar.css b/static/css/directives/ui/tag-info-sidebar.css new file mode 100644 index 000000000..020625ad0 --- /dev/null +++ b/static/css/directives/ui/tag-info-sidebar.css @@ -0,0 +1,5 @@ +.tag-info-sidebar .control-bar { + padding-top: 10px; + margin-top: 10px; + border-top: 1px solid #eee; +} \ No newline at end of file diff --git a/static/css/quay.css b/static/css/quay.css index 3062f95e2..bcc0f6584 100644 --- a/static/css/quay.css +++ b/static/css/quay.css @@ -324,6 +324,10 @@ nav.navbar-default .navbar-nav>li>a.active { visibility: hidden; } +.resource-view.element .resource-content.hidden .tab-content > .active { + visibility: hidden; +} + .resource-view-element .resource-content.visible { z-index: 2; visibility: visible; diff --git a/static/directives/image-changes-view.html b/static/directives/image-changes-view.html new file mode 100644 index 000000000..65a5e99ed --- /dev/null +++ b/static/directives/image-changes-view.html @@ -0,0 +1,33 @@ +
+
+
+ + + {{ changeData.added.length }} + + + + {{ changeData.removed.length }} + + + + {{ changeData.changed.length }} + +
+
+
\ No newline at end of file diff --git a/static/directives/image-info-sidebar.html b/static/directives/image-info-sidebar.html new file mode 100644 index 000000000..14bd00a46 --- /dev/null +++ b/static/directives/image-info-sidebar.html @@ -0,0 +1,105 @@ +
+ +
+
+ +
+
+ + + + + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+
\ No newline at end of file diff --git a/static/directives/repo-view/repo-panel-changes.html b/static/directives/repo-view/repo-panel-changes.html new file mode 100644 index 000000000..470fc5649 --- /dev/null +++ b/static/directives/repo-view/repo-panel-changes.html @@ -0,0 +1,64 @@ +
+ +
+
No tags selected to view
+
+ Please select one or more tags on the Tags tab to visualize. +
+
+ + +
+

+ Visualize Tags: + + {{ tag }} + +

+ +
+ + +
+
+ +
+
+
+ + +
+
+ {{ currentTag }} +
+
+ {{ currentImage.substr(0, 12) }} +
+ +
+ +
+
+ + +
+
+
+
+
+
+ +
\ No newline at end of file diff --git a/static/directives/repo-view/repo-panel-tags.html b/static/directives/repo-view/repo-panel-tags.html index a6782d6b8..11dc45847 100644 --- a/static/directives/repo-view/repo-panel-tags.html +++ b/static/directives/repo-view/repo-panel-tags.html @@ -21,7 +21,8 @@ - + Visualize @@ -86,36 +87,5 @@
- - -
- Are you sure you want to delete the following tags: - - -
- Note: This operation can take several minutes. -
-
- - -
- Are you sure you want to delete tag - {{ deleteTagInfo.tag }}? - -
- The following images and any other images not referenced by a tag will be deleted: -
-
\ No newline at end of file +
\ No newline at end of file diff --git a/static/directives/resource-view.html b/static/directives/resource-view.html index 30e23559b..1ea780c1f 100644 --- a/static/directives/resource-view.html +++ b/static/directives/resource-view.html @@ -3,7 +3,7 @@
{{ errorMessage }}
-
+
diff --git a/static/directives/tag-info-sidebar.html b/static/directives/tag-info-sidebar.html new file mode 100644 index 000000000..a4dfc10de --- /dev/null +++ b/static/directives/tag-info-sidebar.html @@ -0,0 +1,42 @@ +
+
+
Last Modified
+
+ +
Total Compressed Size
+
+ + {{ tracker.getTotalSize(tag) | bytes }} + +
+
+ + + +
+ +
+
diff --git a/static/directives/tag-operations-dialog.html b/static/directives/tag-operations-dialog.html new file mode 100644 index 000000000..d47d4651c --- /dev/null +++ b/static/directives/tag-operations-dialog.html @@ -0,0 +1,87 @@ +
+ + + + +
+ Are you sure you want to delete the following tags: +
    +
  • + {{ tag_info.name }} +
  • +
+ +
+ Note: This operation can take several minutes. +
+
+ + +
+ Are you sure you want to delete tag + {{ deleteTagInfo.tag }}? + +
+ The following images and any other images not referenced by a tag will be deleted: +
+
+
\ No newline at end of file