Make images loaded lazily on the repo tags page, as they will not be needed in the read-only (common) case.
This commit is contained in:
parent
8eb9c376cd
commit
23fafa6b4a
7 changed files with 107 additions and 38 deletions
|
@ -1,4 +1,24 @@
|
|||
<div class="tag-operations-dialog-element">
|
||||
<!-- Loading Images Dialog -->
|
||||
<div class="modal fade" id="loadingImagesModal">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title">Loading Repository Images</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="loader-container">
|
||||
<div class="cor-loader"></div>
|
||||
</div>
|
||||
<div style="text-align: center;">
|
||||
Please wait while we load the repository's full image list
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.modal-content -->
|
||||
</div><!-- /.modal-dialog -->
|
||||
</div><!-- /.modal -->
|
||||
|
||||
|
||||
<!-- Add Tag Dialog -->
|
||||
<div class="modal fade" id="createOrMoveTagModal">
|
||||
<div class="modal-dialog">
|
||||
|
@ -30,7 +50,7 @@
|
|||
<div class="tag-specific-images-view"
|
||||
tag="tagToCreate"
|
||||
repository="repo"
|
||||
images="images"
|
||||
images="imagesInternal"
|
||||
image-cutoff="toTagImage"
|
||||
style="margin: 10px; margin-top: 20px; margin-bottom: -10px;"
|
||||
ng-show="isAnotherImageTag(toTagImage, tagToCreate)">
|
||||
|
@ -80,7 +100,7 @@
|
|||
<span class="label label-default tag">{{ deleteTagInfo.tag }}</span>?
|
||||
|
||||
<div class="tag-specific-images-view" tag="deleteTagInfo.tag" repository="repository"
|
||||
images="images" style="margin-top: 20px">
|
||||
images="imagesInternal" style="margin-top: 20px">
|
||||
The following images and any other images not referenced by a tag will be deleted:
|
||||
</div>
|
||||
</div>
|
||||
|
|
Reference in a new issue