-
- Downloads
browse: Improve origin-dependent browsing and add release view
This commit improves origin-dependent browsing of the SWH archive by updating the design but also providing quick links to the following objects in origin-dependent views: root directory of the default branch, list of branches and list of releases. These links depend on the SWH visit date selected by the user. A dedicated view for displaying the metadata of a SWH release has also been introduced. Some code refactoring has also been performed in order to factorize some common processing in origin-dependent browsing and thus remove code duplication. Closes T931 Closes T932
Showing
- docs/uri-scheme-browse-origin.rst 134 additions, 6 deletionsdocs/uri-scheme-browse-origin.rst
- docs/uri-scheme-browse-release.rst 23 additions, 0 deletionsdocs/uri-scheme-browse-release.rst
- docs/uri-scheme-browse.rst 2 additions, 0 deletionsdocs/uri-scheme-browse.rst
- swh/web/browse/urls.py 1 addition, 0 deletionsswh/web/browse/urls.py
- swh/web/browse/utils.py 196 additions, 18 deletionsswh/web/browse/utils.py
- swh/web/browse/views/content.py 3 additions, 5 deletionsswh/web/browse/views/content.py
- swh/web/browse/views/directory.py 3 additions, 5 deletionsswh/web/browse/views/directory.py
- swh/web/browse/views/origin.py 225 additions, 113 deletionsswh/web/browse/views/origin.py
- swh/web/browse/views/person.py 1 addition, 2 deletionsswh/web/browse/views/person.py
- swh/web/browse/views/release.py 86 additions, 0 deletionsswh/web/browse/views/release.py
- swh/web/browse/views/revision.py 24 additions, 53 deletionsswh/web/browse/views/revision.py
- swh/web/common/service.py 5 additions, 2 deletionsswh/web/common/service.py
- swh/web/static/css/style.css 21 additions, 0 deletionsswh/web/static/css/style.css
- swh/web/templates/branches.html 59 additions, 0 deletionsswh/web/templates/branches.html
- swh/web/templates/browse.html 102 additions, 100 deletionsswh/web/templates/browse.html
- swh/web/templates/content.html 6 additions, 0 deletionsswh/web/templates/content.html
- swh/web/templates/directory.html 7 additions, 0 deletionsswh/web/templates/directory.html
- swh/web/templates/includes/origin-visit-snapshot.html 18 additions, 0 deletionsswh/web/templates/includes/origin-visit-snapshot.html
- swh/web/templates/includes/top-navigation.html 28 additions, 24 deletionsswh/web/templates/includes/top-navigation.html
- swh/web/templates/origin.html 35 additions, 3 deletionsswh/web/templates/origin.html
Loading
Please register or sign in to comment