Previously a lot of useless AJAX request have been made for each tag.
Those requests where necessary in v1 but not in v2 where they don't do
anything.
The tag listing is cleaned up a log.
The current implementation is basic only. Basically all columns have
been removed just to show the tag name and that's it.
This will be adjusted further in the near future.
We can now navigate forward through all images inside a v2 registry. The
default page size is 10 but it can be changed to some other numbers as
well.
The unused repository selector files have been removed.
The repository list directive was moved to the repository list html
template for simplicity.
The repository list no longer says that it searches for repos but
filters repos on the current page.
The bottom delete repos button has been removed in favor of more space
for the pagination controls.
The pagination works as described here:
https://github.com/docker/distribution/blob/master/docs/spec/api.md#pagination
We take the "Link:" header parameter from the response and extract
portions of it to formulate the next request. As usual, each page is
addressible via the URL.
Note that when changing the number of repositories per page we have no
other way but to go to page 1 and show at max the number of repositories
selected.
There's no way to find out how many repos are there so we cannot provide
page links. Only forward navigation is possible.
Now all files dealing with repositories reside in app/repository and all
dealing with tag reside in app/tag. That's far more easy to maintain
than having tag files spread across multiple folders.
It is better to directly go into the `develop` folder and start `docker-compose` from there. Otherwise it might try to copy everything within the current directory into the docker build context.
Somehow grunt-wiredep kicks out bootstrap from the app/index.html file.
This is not nice and we need to find a better way than to simply commen
it out in the build step but for now it fixes the issue of missing
Bootstrap CSS.