diff options
author | silverwind <me@silverwind.io> | 2022-04-01 02:15:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-01 02:15:46 +0200 |
commit | 1eb0da58c399d35397d75c07b2fe41dd63aba3b4 (patch) | |
tree | 7780339f361a857d6778a45729418c3d927418c4 /templates | |
parent | 08d199245ade5f1c4e0898cfe67f3b635a287675 (diff) | |
download | gitea-1eb0da58c399d35397d75c07b2fe41dd63aba3b4.tar.gz gitea-1eb0da58c399d35397d75c07b2fe41dd63aba3b4.zip |
Update JS dependencies (#19281)
- Upgrade all JS dependencies minus vue and vue-loader
- Adapt to breaking change of octicons
- Update eslint rules
- Tested Swagger UI, sortablejs and prod build
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin/repo/unadopted.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/view_list.tmpl | 2 | ||||
-rw-r--r-- | templates/user/settings/repos.tmpl | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/admin/repo/unadopted.tmpl b/templates/admin/repo/unadopted.tmpl index b1f172720a..345f59401a 100644 --- a/templates/admin/repo/unadopted.tmpl +++ b/templates/admin/repo/unadopted.tmpl @@ -25,7 +25,7 @@ {{range $dirI, $dir := .Dirs}} <div class="item"> <div class="content"> - <span class="icon">{{svg "octicon-file-directory"}}</span> + <span class="icon">{{svg "octicon-file-directory-fill"}}</span> <span class="name">{{$dir}}</span> <div class="right floated content"> <button class="ui button submit tiny green adopt show-modal" data-modal="#adopt-unadopted-modal-{{$dirI}}"><span class="icon">{{svg "octicon-plus"}}</span><span class="label">{{$.i18n.Tr "repo.adopt_preexisting_label"}}</span></button> diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index bc56041c7d..ef0ab866f5 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -62,7 +62,7 @@ {{if $entry.IsDir}} {{$subJumpablePathName := $entry.GetSubJumpablePathName}} {{$subJumpablePath := SubJumpablePath $subJumpablePathName}} - {{svg "octicon-file-directory"}} + {{svg "octicon-file-directory-fill"}} <a href="{{$.TreeLink}}/{{PathEscapeSegments $subJumpablePathName}}" title="{{$subJumpablePathName}}"> {{if eq (len $subJumpablePath) 2}} <span class="jumpable-path">{{index $subJumpablePath 0}}</span>{{index $subJumpablePath 1}} diff --git a/templates/user/settings/repos.tmpl b/templates/user/settings/repos.tmpl index 0e19b6e3f2..31f4ca6a17 100644 --- a/templates/user/settings/repos.tmpl +++ b/templates/user/settings/repos.tmpl @@ -33,7 +33,7 @@ <span><a href="{{$repo.BaseRepo.Link}}">{{$repo.BaseRepo.OwnerName}}/{{$repo.BaseRepo.Name}}</a></span> {{end}} {{else}} - <span class="icon">{{svg "octicon-file-directory"}}</span> + <span class="icon">{{svg "octicon-file-directory-fill"}}</span> <span class="name">{{$.Owner.Name}}/{{$dir}}</span> <div class="right floated content"> {{if $.allowAdopt}} |