Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove font-awesome and fomantic icon module #24471

Merged
merged 3 commits into from
May 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/content/doc/administration/cmd-embedded.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ gitea embedded list [--include-vendored] [patterns...]

The `--include-vendored` flag makes the command include vendored files, which are
normally excluded; that is, files from external libraries that are required for Gitea
(e.g. [font-awesome](https://fontawesome.com/), [octicons](https://octicons.github.com/), etc).
(e.g. [octicons](https://octicons.github.com/), etc).

A list of file search patterns can be provided. Gitea uses [gobwas/glob](https://github.com/gobwas/glob)
for its glob syntax. Here are some examples:
Expand Down
9 changes: 0 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"esbuild-loader": "3.0.1",
"escape-goat": "4.0.0",
"fast-glob": "3.2.12",
"font-awesome": "4.7.0",
"jquery": "3.6.4",
"jquery.are-you-sure": "1.9.0",
"katex": "0.16.6",
Expand Down
3 changes: 1 addition & 2 deletions templates/repo/actions/list.tmpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{{template "base/head" .}}
<div class="page-content repository">
{{template "repo/header" .}}

<div class="ui container">
<div class="ui stackable grid">
<div class="four wide column">
Expand All @@ -12,7 +11,7 @@
<a class="item{{if eq .Entry.Name $.CurWorkflow}} active{{end}}" href="{{$.Link}}?workflow={{.Entry.Name}}">{{.Entry.Name}}
{{if .ErrMsg}}
<span data-tooltip-content="{{.ErrMsg}}">
<i class="warning icon red"></i>
{{svg "octicon-alert" 16 "text red"}}
</span>
{{end}}
</a>
Expand Down
2 changes: 1 addition & 1 deletion templates/repo/issue/labels/edit_delete_label.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
{{.locale.Tr "cancel"}}
</button>
<button class="ui primary small approve button">
<i class="save icon"></i>
{{svg "fontawesome-save"}}
{{.locale.Tr "save"}}
</button>
</div>
Expand Down
6 changes: 3 additions & 3 deletions templates/repo/issue/view_content/pull.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
{{$.locale.Tr "repo.pulls.require_signed_wont_sign"}}
</div>
<div class="item">
<i class="icon unlock"></i>
<i class="icon icon-octicon">{{svg "octicon-unlock"}}</i>
{{$.locale.Tr (printf "repo.signing.wont_sign.%s" .WontSignReason)}}
</div>
{{end}}
Expand All @@ -274,12 +274,12 @@
{{end}}
{{if .WillSign}}
<div class="item">
<i class="icon lock green"></i>
<i class="icon icon-octicon">{{svg "octicon-lock" 16 "text green"}}</i>
{{$.locale.Tr "repo.signing.will_sign" .SigningKey}}
</div>
{{else if .IsSigned}}
<div class="item">
<i class="icon unlock"></i>
<i class="icon icon-octicon">{{svg "octicon-unlock"}}</i>
{{$.locale.Tr (printf "repo.signing.wont_sign.%s" .WontSignReason)}}
</div>
{{end}}
Expand Down
2 changes: 0 additions & 2 deletions web_src/css/index.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import "font-awesome/css/font-awesome.css";

@import "./animations.css";
@import "./shared/issuelist.css";
@import "./shared/repoorg.css";
Expand Down
Loading