]> source.dussan.org Git - gitea.git/commit
Add Octicon SVG spritemap (#10107)
authorJohn Olheiser <42128690+jolheiser@users.noreply.github.com>
Tue, 11 Feb 2020 17:02:41 +0000 (11:02 -0600)
committerGitHub <noreply@github.com>
Tue, 11 Feb 2020 17:02:41 +0000 (12:02 -0500)
commit86fdba177ad82f3dcdfc237631fef4588042b9d6
tree9ee1c1f97a158436e36828d1072fa84fac222317
parente704f7fae7b212902ddd2859d8f88350630b4086
Add Octicon SVG spritemap (#10107)

* Add octicon SVG sprite

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Static prefix

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* SVG for all repo icons

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* make vendor

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Swap out octicons

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Move octicons to top of less imports

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix JS

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Definitely not a search/replace

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Missed regex

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Move to more generic calls and webpack

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* make svg -> make webpack

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Remove svg-sprite

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Update tests

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Missed a test

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Remove svg from makefile

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Suggestions

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Attempt to fix test

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Update tests

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Revert timetracking test

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Swap .octicon for .svg in less

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add aria-hidden

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Replace mega-octicon

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix webpack globbing on Windows

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Revert

Co-Authored-By: silverwind <me@silverwind.io>
* Fix octions from upstream

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix Vue and missed JS function

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add JS helper and PWA

Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Preload SVG

Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: techknowlogick <matti@mdranta.net>
112 files changed:
.gitignore
go.mod
go.sum
integrations/repo_test.go
modules/base/tool.go
modules/templates/helper.go
package-lock.json
package.json
public/vendor/assets/octicons/LICENSE [deleted file]
public/vendor/assets/octicons/octicons.eot [deleted file]
public/vendor/assets/octicons/octicons.min.css [deleted file]
public/vendor/assets/octicons/octicons.svg [deleted file]
public/vendor/assets/octicons/octicons.ttf [deleted file]
public/vendor/assets/octicons/octicons.woff [deleted file]
public/vendor/assets/octicons/octicons.woff2 [deleted file]
templates/admin/org/list.tmpl
templates/admin/repo/list.tmpl
templates/base/head.tmpl
templates/base/head_navbar.tmpl
templates/explore/navbar.tmpl
templates/explore/organizations.tmpl
templates/explore/repo_list.tmpl
templates/explore/users.tmpl
templates/home.tmpl
templates/org/header.tmpl
templates/org/home.tmpl
templates/org/member/members.tmpl
templates/org/settings/delete.tmpl
templates/org/team/navbar.tmpl
templates/org/team/repositories.tmpl
templates/org/team/sidebar.tmpl
templates/org/team/teams.tmpl
templates/pwa/serviceworker_js.tmpl
templates/repo/activity.tmpl
templates/repo/blame.tmpl
templates/repo/branch/list.tmpl
templates/repo/branch_dropdown.tmpl
templates/repo/commit_page.tmpl
templates/repo/commits.tmpl
templates/repo/commits_table.tmpl
templates/repo/diff/blob_excerpt.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/comment_form.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/section_unified.tmpl
templates/repo/editor/commit_form.tmpl
templates/repo/editor/edit.tmpl
templates/repo/editor/upload.tmpl
templates/repo/empty.tmpl
templates/repo/header.tmpl
templates/repo/home.tmpl
templates/repo/issue/branch_selector_field.tmpl
templates/repo/issue/labels.tmpl
templates/repo/issue/list.tmpl
templates/repo/issue/milestone_issues.tmpl
templates/repo/issue/milestones.tmpl
templates/repo/issue/new_form.tmpl
templates/repo/issue/view_content/add_reaction.tmpl
templates/repo/issue/view_content/attachments.tmpl
templates/repo/issue/view_content/comments.tmpl
templates/repo/issue/view_content/pull.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/issue/view_title.tmpl
templates/repo/pulls/tab_menu.tmpl
templates/repo/release/list.tmpl
templates/repo/release/new.tmpl
templates/repo/settings/collaboration.tmpl
templates/repo/settings/deploy_keys.tmpl
templates/repo/settings/githooks.tmpl
templates/repo/settings/lfs.tmpl
templates/repo/settings/lfs_file_find.tmpl
templates/repo/settings/lfs_locks.tmpl
templates/repo/settings/protected_branch.tmpl
templates/repo/settings/webhook/history.tmpl
templates/repo/settings/webhook/list.tmpl
templates/repo/sub_menu.tmpl
templates/repo/user_cards.tmpl
templates/repo/view_file.tmpl
templates/repo/view_list.tmpl
templates/repo/wiki/pages.tmpl
templates/repo/wiki/revision.tmpl
templates/repo/wiki/start.tmpl
templates/repo/wiki/view.tmpl
templates/user/dashboard/dashboard.tmpl
templates/user/dashboard/feeds.tmpl
templates/user/dashboard/issues.tmpl
templates/user/dashboard/milestones.tmpl
templates/user/dashboard/navbar.tmpl
templates/user/notification/notification.tmpl
templates/user/profile.tmpl
templates/user/settings/account.tmpl
templates/user/settings/applications.tmpl
templates/user/settings/keys_gpg.tmpl
templates/user/settings/keys_ssh.tmpl
templates/user/settings/repos.tmpl
vendor/golang.org/x/net/html/const.go
vendor/golang.org/x/net/html/foreign.go
vendor/golang.org/x/net/html/parse.go
vendor/golang.org/x/net/html/render.go
vendor/golang.org/x/net/html/token.go
vendor/modules.txt
web_src/js/index.js
web_src/less/_base.less
web_src/less/_dashboard.less
web_src/less/_explore.less
web_src/less/_home.less
web_src/less/_repository.less
web_src/less/_svg.less [new file with mode: 0644]
web_src/less/_user.less
web_src/less/index.less
web_src/less/themes/theme-arc-green.less
webpack.config.js