diff options
author | silverwind <me@silverwind.io> | 2020-07-13 01:48:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-13 02:48:48 +0300 |
commit | 48ad76c25e6ff103901f347c3b53f80b483498c4 (patch) | |
tree | 5d81592453f75b5b5b2b9a8a41137151600efb06 /web_src/js/svg.js | |
parent | a60f506dd7217b6a6c7ea6934e308c91cd9dabac (diff) | |
download | gitea-48ad76c25e6ff103901f347c3b53f80b483498c4.tar.gz gitea-48ad76c25e6ff103901f347c3b53f80b483498c4.zip |
Fix repolist icons (#12228)
Fixes: https://github.com/go-gitea/gitea/issues/12226
Diffstat (limited to 'web_src/js/svg.js')
-rw-r--r-- | web_src/js/svg.js | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/web_src/js/svg.js b/web_src/js/svg.js index 5e66a4dd1a..9a7c7f4e67 100644 --- a/web_src/js/svg.js +++ b/web_src/js/svg.js @@ -1,15 +1,29 @@ import octiconGitMerge from '../../public/img/svg/octicon-git-merge.svg'; import octiconGitPullRequest from '../../public/img/svg/octicon-git-pull-request.svg'; +import octiconInternalRepo from '../../public/img/svg/octicon-internal-repo.svg'; import octiconIssueClosed from '../../public/img/svg/octicon-issue-closed.svg'; import octiconIssueOpened from '../../public/img/svg/octicon-issue-opened.svg'; import octiconLink from '../../public/img/svg/octicon-link.svg'; +import octiconLock from '../../public/img/svg/octicon-lock.svg'; +import octiconRepo from '../../public/img/svg/octicon-repo.svg'; +import octiconRepoClone from '../../public/img/svg/octicon-repo-clone.svg'; +import octiconRepoForked from '../../public/img/svg/octicon-repo-forked.svg'; +import octiconRepoTemplate from '../../public/img/svg/octicon-repo-template.svg'; +import octiconRepoTemplatePrivate from '../../public/img/svg/octicon-repo-template-private.svg'; -const svgs = { +export const svgs = { 'octicon-git-merge': octiconGitMerge, 'octicon-git-pull-request': octiconGitPullRequest, + 'octicon-internal-repo': octiconInternalRepo, 'octicon-issue-closed': octiconIssueClosed, 'octicon-issue-opened': octiconIssueOpened, 'octicon-link': octiconLink, + 'octicon-lock': octiconLock, + 'octicon-repo': octiconRepo, + 'octicon-repo-clone': octiconRepoClone, + 'octicon-repo-forked': octiconRepoForked, + 'octicon-repo-template': octiconRepoTemplate, + 'octicon-repo-template-private': octiconRepoTemplatePrivate, }; const parser = new DOMParser(); |