1
0
Fork 0
forked from forgejo/forgejo

Add the tag list page to the release page (#12096)

* Add the tag list page to the release page

* Add the tags list view
* Add the delete tag way on ui
* Not delete tag and clear message when delete a release

Signed-off-by: a1012112796 <1012112796@qq.com>

* Apply suggestions from code review

Co-authored-by: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: zeripath <art27@cantab.net>

* fix ui

* Add to header

* ui

* permission

* ui

* Update options/locale/locale_en-US.ini

Co-authored-by: Lauris BH <lauris@nix.lv>

* tweaks

* monospace commit hashes

* Add read permission check

* fix permission

* fix nit

* Update web_src/less/_base.less

Co-authored-by: silverwind <me@silverwind.io>

* ui fixes

* title tweaks

* fix lint

* fix test

* fix test and some ui nits

* Apply suggestions from code review

Co-authored-by: silverwind <me@silverwind.io>

Co-authored-by: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
a1012112796 2020-11-03 07:10:22 +08:00 committed by GitHub
parent bcb94ed589
commit b687707014
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 213 additions and 65 deletions

View file

@ -1901,6 +1901,12 @@
margin-top: 20px;
padding-top: 15px;
.release-list-title {
font-size: 2rem;
font-weight: normal;
margin-top: -6px;
}
> li {
list-style: none;
@ -1926,7 +1932,7 @@
}
.detail {
border-left: 1px solid #dddddd;
border-left: 2px solid #dddddd;
.author {
img {
@ -1965,7 +1971,7 @@
.dot {
width: 9px;
height: 9px;
background-color: #cccccc;
background-color: #ddd;
z-index: 999;
position: absolute;
display: block;
@ -1977,6 +1983,13 @@
}
}
}
#tags-table {
.release-tag-name {
font-size: 1.5rem;
font-weight: normal;
}
}
}
&.new.release {

View file

@ -1,6 +1,8 @@
.df { display: flex; }
.ac { align-items: center; }
.jc { justify-content: center; }
.js { justify-content: flex-start; }
.je { justify-content: flex-end; }
.sb { justify-content: space-between; }
.m-0 { margin: 0 !important; }

View file

@ -1510,7 +1510,7 @@ input {
.ui.radio.checkbox label::after,
.ui.radio.checkbox input:checked ~ label::after,
.ui.radio.checkbox input:focus ~ label::after,
.ui.radio.checkbox input:focus:checked ~ label::after, {
.ui.radio.checkbox input:focus:checked ~ label::after {
background: #dbdbdb;
}
@ -2075,7 +2075,7 @@ footer .container .links > * {
}
.repository.release #release-list > li .detail .dot {
background-color: #888;
background-color: #505667;
border-color: #383c4a;
}