mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 00:20:25 +08:00 
			
		
		
		
	Update JS dependencies (#15033)
* Update JS dependencies - Update all JS dependencies - For octicons, rename trashcan to trash - For svgo, migrate to v2 api, output seems to have slightly changed but icons look the same - For stylelint, update config, fix custom property duplicates - For monaco, drop legacy Edge support - For eslint, enable new rules, fix new issues - For less-loader, remove deprecated import syntax * update svgo usage in generate-images and rebuild logo.svg with it
This commit is contained in:
		@@ -337,7 +337,7 @@
 | 
			
		||||
 | 
			
		||||
<div class="ui small basic delete modal">
 | 
			
		||||
	<div class="ui icon header">
 | 
			
		||||
		{{svg "octicon-trashcan"}}
 | 
			
		||||
		{{svg "octicon-trash"}}
 | 
			
		||||
		{{.i18n.Tr "admin.auths.delete_auth_title"}}
 | 
			
		||||
	</div>
 | 
			
		||||
	<div class="content">
 | 
			
		||||
 
 | 
			
		||||
@@ -86,7 +86,7 @@
 | 
			
		||||
							<td>{{.Description}}</td>
 | 
			
		||||
							<td>{{DateFmtLong .Start}}</td>
 | 
			
		||||
							<td>{{TimeSince .Start $.Lang}}</td>
 | 
			
		||||
							<td><a class="delete-button" href="" data-url="{{$.Link}}/cancel/{{.PID}}" data-id="{{.PID}}" data-name="{{.Description}}">{{svg "octicon-trashcan" 16 "text-red"}}</a></td>
 | 
			
		||||
							<td><a class="delete-button" href="" data-url="{{$.Link}}/cancel/{{.PID}}" data-id="{{.PID}}" data-name="{{.Description}}">{{svg "octicon-trash" 16 "text-red"}}</a></td>
 | 
			
		||||
						</tr>
 | 
			
		||||
					{{end}}
 | 
			
		||||
				</tbody>
 | 
			
		||||
 
 | 
			
		||||
@@ -130,7 +130,7 @@
 | 
			
		||||
						<td>{{DateFmtLong .Start}}</td>
 | 
			
		||||
						<td>{{if .HasTimeout}}{{DateFmtLong .Timeout}}{{else}}-{{end}}</td>
 | 
			
		||||
						<td>
 | 
			
		||||
							<a class="delete-button" href="" data-url="{{$.Link}}/cancel/{{.PID}}" data-id="{{.PID}}" data-name="{{.Workers}}"><span class="text red" title="{{$.i18n.Tr "remove"}}">{{svg "octicon-trashcan"}}</span></a>
 | 
			
		||||
							<a class="delete-button" href="" data-url="{{$.Link}}/cancel/{{.PID}}" data-id="{{.PID}}" data-name="{{.Workers}}"><span class="text red" title="{{$.i18n.Tr "remove"}}">{{svg "octicon-trash"}}</span></a>
 | 
			
		||||
						</td>
 | 
			
		||||
					</tr>
 | 
			
		||||
					{{else}}
 | 
			
		||||
 
 | 
			
		||||
@@ -62,7 +62,7 @@
 | 
			
		||||
							<td>{{.NumIssues}}</td>
 | 
			
		||||
							<td>{{SizeFmt .Size}}</td>
 | 
			
		||||
							<td><span title="{{.CreatedUnix.FormatLong}}">{{.CreatedUnix.FormatShort}}</span></td>
 | 
			
		||||
							<td><a class="delete-button" href="" data-url="{{$.Link}}/delete?page={{$.Page.Paginater.Current}}&sort={{$.SortType}}" data-id="{{.ID}}" data-name="{{.Name}}">{{svg "octicon-trashcan"}}</a></td>
 | 
			
		||||
							<td><a class="delete-button" href="" data-url="{{$.Link}}/delete?page={{$.Page.Paginater.Current}}&sort={{$.SortType}}" data-id="{{.ID}}" data-name="{{.Name}}">{{svg "octicon-trash"}}</a></td>
 | 
			
		||||
						</tr>
 | 
			
		||||
					{{end}}
 | 
			
		||||
				</tbody>
 | 
			
		||||
@@ -75,7 +75,7 @@
 | 
			
		||||
 | 
			
		||||
<div class="ui small basic delete modal">
 | 
			
		||||
	<div class="ui icon header">
 | 
			
		||||
		{{svg "octicon-trashcan"}}
 | 
			
		||||
		{{svg "octicon-trash"}}
 | 
			
		||||
		{{.i18n.Tr "repo.settings.delete"}}
 | 
			
		||||
	</div>
 | 
			
		||||
	<div class="content">
 | 
			
		||||
 
 | 
			
		||||
@@ -45,7 +45,7 @@
 | 
			
		||||
																								<input type="hidden" name="page" value="{{$.CurrentPage}}">
 | 
			
		||||
                                                <div class="actions">
 | 
			
		||||
                                                    <div class="ui red basic inverted cancel button">
 | 
			
		||||
                                                        {{svg "octicon-trashcan" 16 "mr-2"}}
 | 
			
		||||
                                                        {{svg "octicon-trash" 16 "mr-2"}}
 | 
			
		||||
                                                        {{$.i18n.Tr "modal.no"}}
 | 
			
		||||
                                                    </div>
 | 
			
		||||
                                                    <button class="ui green basic inverted ok button">
 | 
			
		||||
@@ -72,7 +72,7 @@
 | 
			
		||||
																								<input type="hidden" name="page" value="{{$.CurrentPage}}">
 | 
			
		||||
                                                <div class="actions">
 | 
			
		||||
                                                    <div class="ui red basic inverted cancel button">
 | 
			
		||||
                                                        {{svg "octicon-trashcan" 16 "mr-2"}}
 | 
			
		||||
                                                        {{svg "octicon-trash" 16 "mr-2"}}
 | 
			
		||||
                                                        {{$.i18n.Tr "modal.no"}}
 | 
			
		||||
                                                    </div>
 | 
			
		||||
                                                    <button class="ui green basic inverted ok button">
 | 
			
		||||
 
 | 
			
		||||
@@ -133,7 +133,7 @@
 | 
			
		||||
 | 
			
		||||
<div class="ui small basic delete modal">
 | 
			
		||||
	<div class="ui icon header">
 | 
			
		||||
		{{svg "octicon-trashcan"}}
 | 
			
		||||
		{{svg "octicon-trash"}}
 | 
			
		||||
		{{.i18n.Tr "settings.delete_account_title"}}
 | 
			
		||||
	</div>
 | 
			
		||||
	<div class="content">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user